]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Reload peer without its old capabilities. 81/681/1
authorAlexander Traud <pabstraud@compuserve.com>
Mon, 22 Jun 2015 14:26:48 +0000 (16:26 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Mon, 22 Jun 2015 14:49:50 +0000 (09:49 -0500)
commita419c69def639745ac9988b3800501f68dfef350
treea4bc173ef5adaa844d14219b431d39a318c5e476
parent74616ae43d4e24e914ee612846a464da5b241b9b
chan_sip: Reload peer without its old capabilities.

On reload, previously allowed codecs were not removed. Therefore, it was not
possible to remove codecs while Asterisk was running. Furthermore, newly added
codecs got appended behind the previous codecs. Therefore, it was not possible
to add a codec with a priority of #1. This change removes the old capabilities
before the current ones are added.

ASTERISK-25182 #close
Reported by: Alexander Traud
patches:
 asterisk_13_allow_codec_reload.patch uploaded by Alexander Traud (License 6520)

Change-Id: I62a06bcf15e08e8c54a35612195f97179ebe5802
channels/chan_sip.c