[asterisk-commits] sip to pjsip: Add cert file. (asterisk[13])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 19 12:16:05 CDT 2016


Anonymous Coward #1000019 has submitted this change and it was merged.

Change subject: sip_to_pjsip: Add cert_file.
......................................................................


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
---
M contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  George Joseph: Looks good to me, approved; Verified
  Matt Jordan: Looks good to me, but someone else must approve



diff --git a/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py b/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
index e598caa..ac5aa6c 100755
--- a/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
+++ b/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
@@ -691,9 +691,9 @@
     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')
 
 

-- 
To view, visit https://gerrit.asterisk.org/3651
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0fa72e9412117d53b4284fc6b83fa5b2b95ba03b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-commits mailing list