]> git.ipfire.org Git - thirdparty/asterisk.git/commit
PJSIP_MEDIA_OFFER: override configuration on refresh
authorKevin Harwell <kharwell@digium.com>
Tue, 30 Jun 2020 16:08:47 +0000 (11:08 -0500)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Mon, 6 Jul 2020 14:06:19 +0000 (09:06 -0500)
commitc3561879699ddfba5817951e805683f102851e6c
tree85bd19f92c48ea9be02d7ca2d0a4ceeae28a0450
parentd9b8f04cd40cac622651a0a4d7b4cdd00574388c
PJSIP_MEDIA_OFFER: override configuration on refresh

When using the PSJIP_MEDIA_OFFER dialplan function it was not
overriding an endpoint's configured codecs on refresh unless
they had a shared codec between the two.

This patch makes it so whatever is set using PJSIP_MEDIA_OFFER
is used when creating the SDP for a refresh no matter what.

ASTERISK-28878 #close

Change-Id: I0f7dc86fd0fb607c308e6f98ede303c54d1eacb6
channels/pjsip/dialplan_functions.c
res/res_pjsip_session.c