[asterisk-bugs] [JIRA] (ASTERISK-23082) PJSip discards codecs other than g722 whe INVITEing
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Fri Jan 3 15:19:03 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213576#comment-213576 ]
Rusty Newton commented on ASTERISK-23082:
-----------------------------------------
I've attached a full.txt,codec_tests.pcap and pjsip.txt
The configuration in pjsip.txt was used to make the calls in full.txt and codec_tests.pcap.
Two Digium phones were involved, both configured to have ulaw,alaw,g722 codec preference order.
You'll see that in the pjsip.txt file, I have the following codec order for 6001 and 6002:
* 6001: allow=ulaw,g722,alaw,gsm,ilbc
* 6002: allow=ulaw,alaw,gsm,ilbc
Here is what I saw on my three test calls (included in the debug)
# Calling from 6001 to 6002 results in SDP going out to 6002 showing ulaw,alaw,gsm,ilbc
# Calling from 6002 to 6001 results in SDP going out to 6001 showing ulaw
# Originating a call to 6001 via CLI results in SDP going out to 6001 showing ulaw,g722,alaw,gsm,ilbc
Number 2 seems odd.. Not sure why we don't present the available codecs there. If I change around the codec order, for example putting g722 as the preferred codec, then we only send g722. Which may be what is happening in your case.
Another odd thing. If I remove g722 from the configuration for 6001 and then repeat these tests.. then we see only ulaw go out in SDP for both calls 1 and 2.
> 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
> Assignee: Rusty Newton
> 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