]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip: Don't change formats when frame of unsupported format is received. 03/903/3
authorJoshua Colp <jcolp@digium.com>
Thu, 16 Jul 2015 14:46:14 +0000 (11:46 -0300)
committerJoshua Colp <jcolp@digium.com>
Fri, 17 Jul 2015 17:34:59 +0000 (14:34 -0300)
commit2c626ceb64e11f7d18b97023f09072a992060121
treed5aee8f1c80c3a1c2d68710f428427901b73f651
parent5086bdacfb921ba3edbe49a1177163f5be846549
chan_pjsip: Don't change formats when frame of unsupported format is received.

Receipt of an RTP packet currently causes the formats on an PJSIP channel to
change to the format of the RTP packet. In some off-nominal cases it's possible
for this to be a format that has not been configured or negotiated. This change
makes it so only formats explicitly configured on the endpoint are allowed.

ASTERISK-25258 #close

Change-Id: If93d641fb6418a285928839300d7854cab8c1020
channels/chan_pjsip.c