From 80db368f1225d5dc0e6defefdeb2dba4c2cc934f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuyan=20=C3=96zipek?= Date: Fri, 2 Nov 2007 01:24:18 +0000 Subject: [PATCH] Fixed dialplan issue, context set to 10.0.0.1 and needs to be reset 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_opal/opal_backend.cpp b/src/mod/endpoints/mod_opal/opal_backend.cpp index 1ea7f00978..a42bbd1a89 100644 --- a/src/mod/endpoints/mod_opal/opal_backend.cpp +++ b/src/mod/endpoints/mod_opal/opal_backend.cpp @@ -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 */ );