[asterisk-bugs] [JIRA] (ASTERISK-28436) Transcoding happening even though it is not necessary

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Mon Jun 3 17:41:47 CDT 2019


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

Joshua C. Colp closed ASTERISK-28436.
-------------------------------------

    Resolution: Not A Bug

Per my comments on the community post, this would be considered a feature request and new functionality. We don't currently accept feature requests on the issue tracker but if someone would like to work on such a thing it can be reopened and assigned to them.

> Transcoding happening even though it is not necessary
> -----------------------------------------------------
>
>                 Key: ASTERISK-28436
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28436
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 15.3.0
>            Reporter: Flole Systems
>
> A phone has G722,ulaw,alaw set as allowed codecs. The SIP Provider only allows G722 when the number dialed does support it. For the provider I set allow to G722,ulaw,alaw aswell.
> When setting up a call asterisk first negotiates a codec with the phone (G722) and then with the provider (ulaw in the worst case). Instead of switching the phone to ulaw aswell (it does support that), asterisk starts to transcode using 5 times the CPU power a normal call would take. This is not only a waste of resources but also reduces audio quality while having absolutely no benefit.
> I would expect asterisk to start re-negotiating the codec once it knows which codec each party supports selecting the most prefered one (aka the first one in my allow list) that both parties support. Only if there is none, use transcoding. If transcoding is not possible, fail.



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



More information about the asterisk-bugs mailing list