[asterisk-bugs] [JIRA] (ASTERISK-27275) PJSip uses wrong codec

Joshua Colp (JIRA) noreply at issues.asterisk.org
Fri Sep 15 08:55:08 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp closed ASTERISK-27275.
----------------------------------

    Resolution: Fixed

Asterisk is responding with alaw and then ulaw as that is how you have configured the codec preference order for that endpoint.

As for the one-way audio problem this was uncovered during work on ASTERISK-26745 and the fix has already been merged in. Things will now switch as they should, and the fix will be in the next release.

> PJSip uses wrong codec
> ----------------------
>
>                 Key: ASTERISK-27275
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27275
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_sdp_rtp
>    Affects Versions: 13.17.0
>            Reporter: Niklas Larsson
>         Attachments: console.txt, pjsip.conf
>
>
> When codec are different we can get asymeteric codec:
> UA1 invites to asterisk: ulaw, alaw
> Asterisk 200 OK: alaw,ulaw
> Asterisk sends alaw and UA ulaw
> And we get one-way audio



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



More information about the asterisk-bugs mailing list