[asterisk-bugs] [JIRA] (ASTERISK-24779) Passthrough OPUS codec not working with chan_pjsip
Sean Bright (JIRA)
noreply at issues.asterisk.org
Wed May 13 09:43:32 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226201#comment-226201 ]
Sean Bright edited comment on ASTERISK-24779 at 5/13/15 9:41 AM:
-----------------------------------------------------------------
I uploaded a preliminary patch that at least gets audio flowing. An error is spewed to the console during the entire session:
{{codec.c: Unable to calculate samples for codec opus}}
I believe this is because I am using WebRTC to test and the leg from the browser is SRTP while the leg to my test client is not, so Asterisk has to "unwrap" the SRTP packet... But I don't have the time to work it out now.
was (Author: seanbright):
Preliminary patch that at least gets audio flowing.
> Passthrough OPUS codec not working with chan_pjsip
> --------------------------------------------------
>
> Key: ASTERISK-24779
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24779
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_pjsip
> Affects Versions: 13.2.0
> Environment: CentOS 6.6 x86
> pjsip v2.3 compiled from source according to Asterisk recommendations
> Asterisk v13.2.0 compiled from source
> opus-devel-1.1-1.el6.i686.rpm installed from epel repo (if that matters?)
> Reporter: PowerPBX
> Assignee: PowerPBX
> Attachments: asterisk-24779.patch, full, full_pjsip
>
>
> With 2 extensions and no NAT operating as direct_media=yes with no "r" in dial option (ie. Passthrough codec mode) I am unable to communicate from one extension to another using the build in Opus Codec in the 2 extensions with Opus as the only active codec on the extensions. I tried PhonerLite v2.21 and v2.22 beta as well as Xlite v4.7
> When I switched the extensions from using chan_pjsip to chan_sip they were able to communicate with each other via OPUS codec. There is no OPUS codec installed on Asterisk so passthrough is the only possible way they can communicate using that codec.
> The following errors were observed from CLI
> {noformat}
> res_pjsip_sdp_rtp.c:247 set_caps: No joint capabilities for 'audio' media stream between our configuration((speex|opus)) and incoming SDP((nothing))
> chan_pjsip.c:530 chan_pjsip_answer: Unable to push answer task to the threadpool. Cannot answer call
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list