mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
contrib/script/sip_to_pjsip: add support for realtime
Add a new script that can read from legacy realtime peers & generate an sql file for populating pjsip endpoints, identify, and aor records. ASTERISK-27348 #close Change-Id: Idd3d7968a3c9c3ee7936d21acbdaf001b429bf65
This commit is contained in:
committed by
Matthew Fredrickson
parent
4568894d2a
commit
976afd26ab
@@ -1203,7 +1203,7 @@ def convert(sip, filename, non_mappings, include):
|
||||
map specific sections from sip.conf into it.
|
||||
Returns the new pjsip.conf object once completed
|
||||
"""
|
||||
pjsip = astconfigparser.MultiOrderedConfigParser()
|
||||
pjsip = sip.__class__()
|
||||
non_mappings[filename] = astdicts.MultiOrderedDict()
|
||||
nmapped = non_mapped(non_mappings[filename])
|
||||
if not include:
|
||||
|
Reference in New Issue
Block a user