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
This commit is contained in:
parent
14275814da
commit
80db368f12
|
@ -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 */
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue