]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Fix improper RTP framing on outgoing calls
authorJean Aunis <jean.aunis@prescom.fr>
Wed, 14 Feb 2018 13:33:18 +0000 (14:33 +0100)
committerJean Aunis - Prescom <jean.aunis@prescom.fr>
Wed, 7 Mar 2018 07:34:54 +0000 (01:34 -0600)
commit75a35ee5e8eaab02b127746c2c1c87342867beb8
tree8bc3480bd72793db11c4b04ffe7c70f6886df9e6
parent91a8c7a28114dd4d64dd5216a7cffd0f36d35bab
chan_sip: Fix improper RTP framing on outgoing calls

The "ptime" SDP parameter received in a SIP response was not honoured.
Moreover, in the abscence of this "ptime" parameter, locally configured
framing was lost during response processing.

This patch systematically stores the framing information in the
ast_rtp_codecs structure, taking it from the response or from the
configuration as appropriate.

ASTERISK-27674

Change-Id: I828a6a98d27a45a8afd07236a2bd0aa3cbd3fb2c
channels/chan_sip.c