]> git.ipfire.org Git - thirdparty/asterisk.git/commit
sip_to_pjsip: Write local_net, contact_acl, contact_deny, and contact_permit. 24/3624/1
authorAlexander Traud <pabstraud@compuserve.com>
Thu, 18 Aug 2016 13:13:03 +0000 (15:13 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Thu, 18 Aug 2016 13:27:16 +0000 (08:27 -0500)
commit1a556c7618e158ae69de10bf8e6c6ebdb8c06aae
treed344dab21b24d2f476ee8e3bc85b37db0cd7693a
parent41e9bf60aa99c063d7dd0d10ab80a1053f4c15af
sip_to_pjsip: Write local_net, contact_acl, contact_deny, and contact_permit.

When using the migration script sip_to_pjsip.py, those keys got missing. These
keys might appear several times and the function "merge_value" tried to collect
those. However, because these keys have different names in sip.conf and
pjsip.conf, "merge_value" was not able to find the new key name in sip.conf.
This change lets "merge_value" search with the old key name in sip.conf and
write with the new key name in pjsip.conf.

ASTERISK-22374

Change-Id: Ie53c5278ae6f1cb8fa7e96c5289877d46981d9d2
contrib/scripts/sip_to_pjsip/sip_to_pjsip.py