[asterisk-bugs] [JIRA] (ASTERISK-23082) Including g722 in pjsip codec configuration results in unexpected SDP offers

Joshua Colp (JIRA) noreply at issues.asterisk.org
Fri Jan 3 15:31:07 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213578#comment-213578 ] 

Joshua Colp commented on ASTERISK-23082:
----------------------------------------

So, the reason this occurs:

When setting up an outgoing leg the code internally can request formats. There is some code which, under some circumstances, determines that a single audio codec is "preferred" and passes this on to the outgoing channel driver. In the case of chan_sip this is effectively a suggestion that it be put into the list. In the case of chan_pjsip it seems that the code *only* uses the requested audio format, therefore dropping all the rest.

This is a valid issue and spending any time further isolating the behavior of chan_pjsip is unwarranted. We should confirm the behavior of chan_sip and duplicate it in chan_pjsip. IMO.
                
> Including g722 in pjsip codec configuration results in unexpected SDP offers
> ----------------------------------------------------------------------------
>
>                 Key: ASTERISK-23082
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23082
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip, Resources/res_pjsip
>    Affects Versions: 12.0.0
>            Reporter: xrobau
>         Attachments: codec_tests.pcap, full.txt, pjsip.txt, With g722.txt, Without g722.txt
>
>
> When an endpoint is created that includes g722 as a codec, when an invite is sent to that device, no other codecs are included in the INVITE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list