From: Tuyan Özipek Date: Fri, 2 Nov 2007 01:24:18 +0000 (+0000) Subject: Fixed dialplan issue, context set to 10.0.0.1 and needs to be reset X-Git-Tag: v1.0-beta2~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80db368f1225d5dc0e6defefdeb2dba4c2cc934f;p=thirdparty%2Ffreeswitch.git 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 --- 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 */ );