]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip: Don't change formats when frame of unsupported format is received. 04/904/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:35:40 +0000 (14:35 -0300)
commit1b744ab684bad662914e14d7abad0bebac8961df
tree55ea13aa883294e0c895866ac9ec2f3f5c04e585
parent23b7b109c2e41702efe104d06953a32c307a6adb
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