]> 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)
committerSean Bright <sean.bright@gmail.com>
Wed, 14 Feb 2018 13:58:21 +0000 (08:58 -0500)
commitbcc2da7f839217228171ad8a012052adefbf7bb0
treeea3273224e8521861e8e27447f2d9f5b7f3f46c5
parent9076efa863364c5604e39d7ac22a82cbf86dfc4d
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