sip_to_pjsip: Add cert_file.

When using the migration script sip_to_pjsip.py, cert_file was not migrated to
pjsip.conf. A previous change regarding this contained a copy/paste error.

ASTERISK-22374

Change-Id: I0fa72e9412117d53b4284fc6b83fa5b2b95ba03b
This commit is contained in:
Alexander Traud 2016-08-19 10:59:40 +02:00
parent b544bfbbd5
commit 02a82f758e
1 changed files with 2 additions and 2 deletions

View File

@ -691,9 +691,9 @@ def set_tls_bindaddr(val, pjsip, nmapped):
set_value('bind', bind, 'transport-tls', pjsip, nmapped, 'transport')
def set_tls_cert_file(val, pjsip, section, nmapped):
def set_tls_cert_file(val, pjsip, nmapped):
"""Sets cert_file based on sip.conf tlscertfile"""
set_value('cert_file', val, section, pjsip, nmapped,
set_value('cert_file', val, 'transport-tls', pjsip, nmapped,
'transport')