Asterisk error

From 탱이의 잡동사니
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Overview

Asterisk error 내용 정리

database

Couldn't execute statment

[Mar  5 21:46:39] WARNING[1950]: db.c:348 ast_db_put: Couldn't execute statment: SQL logic error or missing database

Asterisk 에서 사용하는 Sqlite3 db 파일의 접근 권한이 없어서 발생하는 문제이다<ref>https://issues.asterisk.org/jira/browse/ASTERISK-18174?jql=text%20~%20%22Couldn%27t%20execute%20statment%3A%20SQL%20logic%20error%20or%20missing%20database%22</ref>

//var/lib/asterisk/astdb.sqlite3 파일의 chown 등의 명령어로 파일의 권한을 변경해주면 된다.

chan_sip

AVP

[Mar  6 12:46:37] NOTICE[7431][C-00000002]: chan_sip.c:10477 process_sdp: Received AVP profile in audio answer but AVPF is enabled, disabling: audio 26928 RTP/AVP 0 8 3 11 98 97 102 103 104 105 106 101
[Mar  6 12:46:37] WARNING[7431][C-00000002]: chan_sip.c:10884 process_sdp: Failed to receive SDP offer/answer with required SRTP crypto attributes for audio

sip.conf 에서 ssl 관련 설정 off 후, 해결.

Reference

<references/>