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
changes/57/3857/2
Richard Mudgett 9 years ago
parent ba362822f3
commit 82ec58aa91

@ -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)

Loading…
Cancel
Save