[Asterisk-code-review] sip to pjsip: Add cert file. (asterisk[master])

Alexander Traud asteriskteam at digium.com
Fri Aug 19 04:08:24 CDT 2016


Alexander Traud has uploaded a new change for review.

  https://gerrit.asterisk.org/3649

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


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/49/3649/1

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/3649
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0fa72e9412117d53b4284fc6b83fa5b2b95ba03b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>



More information about the asterisk-code-review mailing list