]> git.ipfire.org Git - thirdparty/asterisk.git/commit
sip_to_pjsip: Write local_net, contact_acl, contact_deny, and contact_permit. 23/3623/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:04 +0000 (08:27 -0500)
commit0d479232ebf423c454b75051c83b35476ce7e688
tree9b8a64ef67ec8c169bc783e7ac575eb9bf4adba5
parent56e0aed17758b1cad338e84c5457824cee874d95
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