[asterisk-bugs] [JIRA] (ASTERISK-25633) Codec preference misorder
Yury Tsaregorodtsev (JIRA)
noreply at issues.asterisk.org
Wed Dec 16 17:19:33 CST 2015
Yury Tsaregorodtsev created ASTERISK-25633:
----------------------------------------------
Summary: Codec preference misorder
Key: ASTERISK-25633
URL: https://issues.asterisk.org/jira/browse/ASTERISK-25633
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Channels/chan_sip/CodecHandling
Affects Versions: 11.20.0
Environment: Ubuntu 15.10
Reporter: Yury Tsaregorodtsev
Severity: Critical
Asterisk misorder incoming leg codec preference.
Incoming SDP:
m=audio 24636 RTP/AVP 8 0 18 4 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
sip.conf
disallow=all
allow=g729,alaw,ulaw,gsm,g723
result:
[2015-12-16 23:04:20.353] DEBUG[4442][C-00011a0e] chan_sip.c: *** Our native formats are (g729)
[2015-12-16 23:04:20.353] DEBUG[4442][C-00011a0e] chan_sip.c: *** Joint capabilities are (g723|ulaw|alaw|g729)
[2015-12-16 23:04:20.353] DEBUG[4442][C-00011a0e] chan_sip.c: *** Our capabilities are (g723|gsm|ulaw|alaw|g729)
[2015-12-16 23:04:20.353] DEBUG[4442][C-00011a0e] chan_sip.c: *** AST_CODEC_CHOOSE formats are g729
Right codec suppose to be ALAW.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list