Skip to content
Snippets Groups Projects
  • Alexander Traud's avatar
    9907e2b1
    sip_to_pjsip: Write local_net, contact_acl, contact_deny, and contact_permit. · 9907e2b1
    Alexander Traud authored
    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
    9907e2b1
    History
    sip_to_pjsip: Write local_net, contact_acl, contact_deny, and contact_permit.
    Alexander Traud authored
    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