Re: [OpenSIPStack] Problem with OnOutgoingCallConnected
Brought to you by:
joegenbaclor
From: Ilian J. C. P. <ip...@so...> - 2007-06-27 09:00:33
|
Hi Tom, Can you check the values of m_SIPDomain and m_ProxyAddress in SoftPhoneManager::InitializeSIP() before making a call? You can also look in the following lines of CallSession::MakeCall(). Try checking the value of localHost. PString localHost; PString domain = !m_SessionProfile.GetRegistrationProfile().GetDomain().IsEmpty() ? m_SessionProfile.GetRegistrationProfile().GetDomain() : m_SessionProfile.GetProxyProfile().GetDomain(); if( !domain.IsEmpty() ) localHost = domain; else if( willUseProxy ) { localHost = m_SessionProfile.GetRegistrationProfile().GetServerAddress(); if( localHost.IsEmpty() ) { ///get the domain from the proxy address SIPURI uri( m_SessionProfile.GetProxyProfile().GetServerAddress() ); localHost = uri.GetHost(); } } if( localHost.IsEmpty() ) { localHost = via.GetAddress(); } userURI << localHost; Regards, Ilian tomach wrote: > OK. > I tried it with three different sipServers (different vendors) everytime ATLSample behave the same. > FROM field was not correct :( > > It is really weird that it works correct with your sipServer. > > Best Regards, > Tom > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |