]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fixed dialplan issue, context set to 10.0.0.1 and needs to be reset
authorTuyan Özipek <tuyanozipek@gmail.com>
Fri, 2 Nov 2007 01:24:18 +0000 (01:24 +0000)
committerTuyan Özipek <tuyanozipek@gmail.com>
Fri, 2 Nov 2007 01:24:18 +0000 (01:24 +0000)
to whatever context (configuration option)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6139 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_opal/opal_backend.cpp

index 1ea7f00978bb921fe66ecbd87b828b6151f7ef34..a42bbd1a89ff28979c8ff102ef3ba394a70531a6 100644 (file)
@@ -159,7 +159,7 @@ bool FSOpalManager::initialize(
     ///TODO m_pH323Endpoint->SetVendorIdentifierInfo()
     
     ///TODO address should be configurable, should allow creaeing listeners on multiple interfaces
-    OpalTransportAddress opalTransportAddress("192.168.0.1",1720); //for time being create listener on all ip's and default port
+    OpalTransportAddress opalTransportAddress("10.0.0.1",1726); //for time being create listener on all ip's and default port
     if(!m_pH323Endpoint->StartListeners(opalTransportAddress))
     {
         assert(0);
@@ -270,7 +270,7 @@ BOOL FSOpalManager::OnIncomingConnection(
     tech_pvt->m_callerProfile = switch_caller_profile_new(
             switch_core_session_get_pool(session),
             (const char*)connection.GetRemotePartyName(),   /**  username */
-            "default",                                      /** TODO -> this should be configurable by core */
+            "XML",                                      /** TODO -> this should be configurable by core */
             (const char*)connection.GetRemotePartyName(),   /** caller_id_name */
             (const char*)connection.GetRemotePartyNumber(), /** caller_id_number */
             (const char*)connection.GetRemotePartyAddress(),/** network addr */
@@ -278,7 +278,7 @@ BOOL FSOpalManager::OnIncomingConnection(
             NULL,                                           /** ANI II */
             NULL,                                           /** RDNIS */
             m_pModuleName,                                  /** source */
-            NULL,                                           /** TODO -> set context  */
+            "10.0.0.1",                                           /** TODO -> set context  */
             (const char*)connection.GetCalledDestinationNumber()        /** destination_number */
     );