[asterisk-bugs] [JIRA] (ASTERISK-28671) Outbound Channel to endpoint that negotiates iLBC mode = 20 produces Warning in CLI and one way audio

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Jan 3 11:50:25 CST 2020


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

Richard Mudgett edited comment on ASTERISK-28671 at 1/3/20 11:48 AM:
---------------------------------------------------------------------

There are two different ways that I have used. First, my company's ARI application will originate the call with a create channel and the /channel/create then /channel/dial. The second way I tested this was with the standard Dial plan routine that looks like this:
{noformat}
same => n,Dial(${ARG1},${RINGDURATION},${DIALINOPTIONS})
{noformat}
where ARG1 is my extension.



was (Author: tomc59):
There are two different ways that I have used. First, my company's ARI application will originate the call with a create channel and the /channel/create then /channel/dial. The second way I tested this was with the standard Dial plan routine that looks like this:   same => n, Dial(${ARG1},${RINGDURATION},${DIALINOPTIONS}) where ARG1 is my extension.


> Outbound Channel to endpoint that negotiates iLBC mode = 20 produces Warning in CLI and one way audio
> -----------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28671
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28671
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Codecs/codec_ilbc
>    Affects Versions: 16.7.0
>         Environment: Centos 7.6 on VM in datacenter
>            Reporter: Tom Cotton
>            Assignee: Alexander Traud
>            Severity: Minor
>         Attachments: SIP-126235.txt
>
>
> When I dial a channel with an endpoint that prefers iLBC mode 20 the SDP from asterisk offers mode 20. If the endpoint replies with ans SDP that iLBC mode 20 is accepted and sends RTP packets according to spec, then the CLI reports a warning stating "[2019-12-20 17:59:59] WARNING[2512]: codec_ilbc.c:125 ilbctolin_framein: Huh?  An ilbc frame that isn't a multiple of 50 bytes long from RTP (38)?". iLBC mode 20 packets are not in multiples of 50 rather they are 38 bytes long. So the correct packets are being sent and rejected in error by asterisk. This behavior is only present in outbound channels dialed to the the endpoint. 
> If the called endpoint replies in their SDP that they want iLBC mode 30 everything works just fine.



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



More information about the asterisk-bugs mailing list