[asterisk-scf-commits] asterisk-scf/integration/testsuite.git branch "review" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Jun 3 09:33:16 CDT 2011


branch "review" has been updated
       via  ff6d1cb0ea6313910954ed8152fa9fb1aaca6cad (commit)
      from  54e218ed641c52d18b1ef635d7f1b07419c77fef (commit)

Summary of changes:
 plugins/asteriskscf_configurator.py |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit ff6d1cb0ea6313910954ed8152fa9fb1aaca6cad
Author: Darren Sessions <dsessions at digium.com>
Date:   Fri Jun 3 09:33:10 2011 -0500

    some configurator tweaks

diff --git a/plugins/asteriskscf_configurator.py b/plugins/asteriskscf_configurator.py
index 3eedcc6..afef0c7 100644
--- a/plugins/asteriskscf_configurator.py
+++ b/plugins/asteriskscf_configurator.py
@@ -136,8 +136,9 @@ class ConfiguratorApp(Ice.Application):
             visitor = RtpSectionVisitors()
 
         visitor.AsteriskSCF = self.AsteriskSCF
-        
-        proxy = 'LocatorService:tcp -p 4411 -h %s' % self.host
+       
+        proxy = 'LocatorService:tcp -p 4411'
+        # -h %s' % self.host
         configurationServiceName = ""
         serviceLocator = self.AsteriskSCF.Core.Discovery.V1.ServiceLocatorPrx.checkedCast(self.communicator().stringToProxy(proxy))
 
@@ -340,6 +341,8 @@ class SipSectionVisitors(SectionVisitors):
                         return AsteriskSCF.SIP.V1.SipAllowableCallDirection.Outbound
                     elif option == 'both':
                         return AsteriskSCF.SIP.V1.SipAllowableCallDirection.Both
+                    elif option == 'none':
+                        return AsteriskSCF.SIP.V1.SipAllowableCallDirection.Disabled
                 return AsteriskSCF.SIP.V1.SipAllowableCallDirection.Both
 
         transformer = AllowableCallDirectionTransformer()

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


-- 
asterisk-scf/integration/testsuite.git



More information about the asterisk-scf-commits mailing list