]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Remember SDP negotiation on SIP_CODEC_INBOUND. 94/4694/1
authorAlexander Traud <pabstraud@compuserve.com>
Wed, 4 Jan 2017 11:50:11 +0000 (12:50 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Wed, 4 Jan 2017 12:02:11 +0000 (06:02 -0600)
commit0b89c7c12ef38504c5ec409943086efe8022b4f9
tree0b6a2d3709bf9c09e186d1b753ab0a47320003dc
parent4ecc3de00e4105d1f2a2cd1344023988a61268ae
chan_sip: Remember SDP negotiation on SIP_CODEC_INBOUND.

After a SIP_CODEC_INBOUND in the dialplan, do not continue with cached formats
but remember the joint format. Cached formats contain default parameters,
often create an empty fmtp line. However, a joint format might have passed
format_get_joint(.) in a res_format_attr_* module (like Opus Codec) and
contain the resulting format parameters from a SDP negotiation.

ASTERISK-26691 #close

Change-Id: I35712d98a793d4c3efdd156cec57deab9014b1dc
channels/chan_sip.c