mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 19:28:53 +00:00
sip_to_pjsip.py: Map legacy_useroption_parsing.
Map the sip.conf general section legacy_useroption_parsing to the new pjsip.conf global ignore_uri_user_options. ASTERISK-26316 Reported by: Kevin Harwell Change-Id: I78108a31995db19d41f4e1a07b3324692c5363fc
This commit is contained in:
@@ -1101,6 +1101,12 @@ def map_system(sip, pjsip, nmapped):
|
||||
except LookupError:
|
||||
pass
|
||||
|
||||
try:
|
||||
useroption_parsing = sip.get('general', 'legacy_useroption_parsing')[0]
|
||||
set_value('ignore_uri_user_options', useroption_parsing, 'global', pjsip, nmapped, 'global')
|
||||
except LookupError:
|
||||
pass
|
||||
|
||||
try:
|
||||
timer_t1 = sip.get('general', 'timert1')[0]
|
||||
set_value('timer_t1', timer_t1, section, pjsip, nmapped, type)
|
||||
|
Reference in New Issue
Block a user