mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 19:28:53 +00:00
Merge "sip_to_pjsip: Write cos and tos."
This commit is contained in:
@@ -528,14 +528,14 @@ def set_transport_common(section, pjsip, nmapped):
|
||||
pass
|
||||
|
||||
try:
|
||||
set_value('tos', sip.get('general', 'sip_tos')[0], 'general', pjsip,
|
||||
nmapped, 'transport', section)
|
||||
set_value('tos', sip.get('general', 'tos_sip')[0], section, pjsip,
|
||||
nmapped, 'transport')
|
||||
except LookupError:
|
||||
pass
|
||||
|
||||
try:
|
||||
set_value('cos', sip.get('general', 'sip_cos')[0], 'general', pjsip,
|
||||
nmapped, 'transport', section)
|
||||
set_value('cos', sip.get('general', 'cos_sip')[0], section, pjsip,
|
||||
nmapped, 'transport')
|
||||
except LookupError:
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user