[asterisk-bugs] [JIRA] (ASTERISK-27748) Random webrtc calls without audio and ALAW<->OPUS transcoding errors

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Wed Apr 11 17:13:50 CDT 2018


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

Kevin Harwell commented on ASTERISK-27748:
------------------------------------------

Oh forgot to mention, as you can probably tell from the configuration, the problem occurred for me using a regular SIP phone that supported opus. However, I did check using a webrtc endpoint as well and heard no audio at all upon answering.

> Random webrtc calls without audio and ALAW<->OPUS transcoding errors
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-27748
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27748
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Codecs/codec_opus, Core/CodecInterface
>    Affects Versions: 15.3.0
>         Environment: CentOS release 6.9 (Final)
> Linux fvicastwrtc.local 2.6.32-696.el6.x86_64 #1 SMP Tue Mar 21 19:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> Running on VMWare ESXi 6.0
>            Reporter: Fran Vicente
>            Assignee: Fran Vicente
>              Labels: opus, pjsip, webrtc
>         Attachments: capture2.zip, full, pjsip_extensions_pogp.conf
>
>
> I have an environment which uses an Asterisk 15.3.0 to bridge calls to WebRTC endpoints configured using OPUS codec. The calls are originated on another Asterisk, connected to this using ALAW codec.
> All the calls run the same dialplan (that simply calls the webrtc client) and the same webrtc endpoints, but randomly the following errors shows on the Asterisk console, and I get no audio on the calls. 
> {code}
> [Mar 19 11:53:25] WARNING[8195][C-00000002] translate.c: Out of buffer space
> [Mar 19 11:53:25] DEBUG[8194][C-00000002] translate.c: Sample size different 160 vs 960
> [Mar 19 11:53:25] DEBUG[8194][C-00000002] translate.c: Sample size different 160 vs 960
> [Mar 19 11:53:25] ERROR[8195][C-00000002] codec_opus.c: Opus: Unable to parse packet for number of samples: corrupted stream
> [Mar 19 11:53:25] WARNING[8195][C-00000002] translate.c: no samples for opustolin
> [Mar 19 11:53:25] ERROR[8195][C-00000002] codec_opus.c: Opus: decoding: corrupted stream
> [Mar 19 11:53:25] WARNING[8195][C-00000002] translate.c: Out of buffer space
> [Mar 19 11:53:25] DEBUG[8194][C-00000002] translate.c: Sample size different 160 vs 960
> [Mar 19 11:53:25] ERROR[8195][C-00000002] codec_opus.c: Opus: decoding: corrupted stream
> {code}
> The dialplan simply does:
> {code}
> exten => _X.,1,Dial(PJSIP/${EXTEN})
> {code}
> See the complete log and configuration attached.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list