[asterisk-bugs] [JIRA] (ASTERISK-23082) PJSip discards codecs other than g722 whe INVITEing

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Jan 2 19:13:03 CST 2014


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

Rusty Newton edited comment on ASTERISK-23082 at 1/2/14 7:12 PM:
-----------------------------------------------------------------

Using a single phone, and a CLI originate to send a call out to it, I couldn't reproduce this issue. That is, using g722 as the first codec still resulted in an SDP that presented all of the allowed codecs.

However when calling from Phone A to Phone B, I did either the same or a similar issue, where codecs presented in SDP are somewhat erratic depending on the order of the codecs set in allow for each endpoint.

In general I could never get more than a single codec sent out in SDP to an endpoint, unless I specifically added g722 as non-first codec to the calling endpoints configuration. Yeah it doesn't make any sense. Otherwise I always saw the first codec only, of the calling endpoint used in the initial INVITE out to the called party.

I'll upload some traces and configuration tomorrow.
                
      was (Author: rnewton):
    Using a single phone, and a CLI originate to send a call out to it, I couldn't reproduce this issue. That is, using g722 as the first codec still resulted in an SDP that presented all of the allowed codecs.

However when calling from Phone A to Phone B, I did a similar issue, where codecs presented in SDP are somewhat erratic depending on the order of the codecs set in allow for each endpoint.

In general I could never get more than a single codec sent out in SDP to an endpoint, unless I specifically added g722 as non-first codec to the calling endpoints configuration. Yeah it doesn't make any sense. Otherwise I always saw the first codec only, of the calling endpoint used in the initial INVITE out to the called party.

I'll upload some traces and configuration tomorrow.
                  
> PJSip discards codecs other than g722 whe INVITEing
> ---------------------------------------------------
>
>                 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: 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