[asterisk-bugs] [JIRA] (ASTERISK-26603) [patch] chan_pjsip: not switching sending codec to receiving codec when asymmetric_rtp_codec=no

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Nov 30 10:51:10 CST 2016


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

Friendly Automation commented on ASTERISK-26603:
------------------------------------------------

Change 4523 merged by zuul:
chan_pjsip: fix switching sending codec when asymmetric_rtp_codec=no

[https://gerrit.asterisk.org/4523|https://gerrit.asterisk.org/4523]

> [patch] chan_pjsip: not switching sending codec to receiving codec when asymmetric_rtp_codec=no
> -----------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26603
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26603
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: GIT
>            Reporter: Alexei Gradinari
>            Assignee: Alexei Gradinari
>
> The patch https://gerrit.asterisk.org/#/c/4172/ introduced a new option 'asymmetric_rtp_codec' to disable asymmetric codecs for sending
> and receiving.
> But it makes incorrectly.
> The sending codec is switched to the receiving codec and then is switched back to the best native codec on EVERY receiving RTP packets.
> This is because after call of ast_channel_set_rawwriteformat there is call
> of ast_set_write_format which calls set_format which sets rawwriteformat to the best native format.



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



More information about the asterisk-bugs mailing list