[asterisk-scf-commits] asterisk-scf/release/sip.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Apr 12 11:39:52 CDT 2012


branch "master" has been updated
       via  34edb9504794badb8d7da5ac07d9c5a4df40d6b6 (commit)
      from  7207e3ad1c6587173441bd94e05c25f5397156b5 (commit)

Summary of changes:
 config/SipConfigurator.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 34edb9504794badb8d7da5ac07d9c5a4df40d6b6
Author: David M. Lee <dlee at digium.com>
Date:   Thu Apr 12 11:39:36 2012 -0500

    Ice.loadSlice -> astscfLoadSlice
    
    Also fixed a Sip -> SIP issue.

diff --git a/config/SipConfigurator.py b/config/SipConfigurator.py
index f90a005..f66891e 100755
--- a/config/SipConfigurator.py
+++ b/config/SipConfigurator.py
@@ -3,7 +3,7 @@
 #
 # Asterisk SCF -- An open-source communications framework.
 #
-# Copyright (C) 2011, Digium, Inc.
+# Copyright (C) 2011-2012, Digium, Inc.
 #
 # See http://www.asterisk.org for more information about
 # the Asterisk SCF project. Please do not directly contact
@@ -27,7 +27,7 @@ sys.path.append("/opt/Ice-3.4/python")
 import ConfigParser, Ice, Configurator, traceback, uuid
 
 # Load our component specific configuration definitions
-Ice.loadSlice("--underscore -I\"" + os.environ["ASTSCF_HOME"] + "/slice/slice\"" + " -I" + Ice.getSliceDir() + " --all " + os.environ["ASTSCF_HOME"] + "/sip/slice/AsteriskSCF/Configuration/SIPSessionManager/SIPConfigurationIf.ice")
+Configurator.astscfLoadSlice("sip", "AsteriskSCF/Configuration/SIPSessionManager/SIPConfigurationIf.ice")
 
 import AsteriskSCF.Configuration.SIPSessionManager.V1
 
@@ -38,7 +38,7 @@ class SIPSectionVisitors(Configurator.SectionVisitors):
         group = AsteriskSCF.Configuration.SIPSessionManager.V1.SIPGeneralGroup()
         group.configurationItems = { }
         mapper = Configurator.OptionMapper()
-        item = AsteriskSCF.Configuration.SipSessionManager.V1.SipUserAgentItem()
+        item = AsteriskSCF.Configuration.SIPSessionManager.V1.SIPUserAgentItem()
         mapper.map('useragent', item, 'userAgent', 'userAgent', config.get, None)
         for option in config.options(section):
             mapper.execute(group, section, option)

-----------------------------------------------------------------------


-- 
asterisk-scf/release/sip.git



More information about the asterisk-scf-commits mailing list