[asterisk-bugs] [JIRA] (ASTERISK-25633) chan_sip: Codec preference misorder

Joshua Colp (JIRA) noreply at issues.asterisk.org
Sun Dec 20 17:57:33 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp closed ASTERISK-25633.
----------------------------------

    Resolution: Not A Bug

Currently in chan_sip the codec preference order is enforced based on the configuration of the server. As a result given the configuration you've provided and the SDP the chosen codec would be g729, not alaw. You may want to bring your problem up on the asterisk-users mailing list and see if others have a solution which would work for you.

> chan_sip: 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