Re: [OpenSIPStack] [ATLSIP] Ringing Sounds
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2007-10-24 10:22:52
|
This may happen if your gateway sends a 180 without SDP followed by 180 or a 183 with SDP. This can be corrected by stopping the false ring in OnProgress() void SoftPhoneSIPEndPoint::OnProgress( CallSession & session, const SIPMessage & alerting ) { OpalOSSEndPoint::OnProgress( session, alerting ); PString info = session.GetTargetURI().AsString(); if( session.GetType() == CallSession::Client ) m_Manager.GetSoftPhoneInterface()->Event_OutgoingCallRinging( (const char *)info ); } Just insert m_Manager.GetSoftPhoneInterface()->StopRingBackTone(); in this method as a quick hack. I think a cleaner way of doing this is to not honor early media at all and retain the false ring if the call has already received a no-media Alerting packet prior to the 183. perhaps we can set this in the stack level. I am open to suggestions. What's your view Ilian? Joegen Whit Thiele wrote: > Hey guys, > > Where and when should the ringing sounds be generated? I use Asterisk so > when a call is launched, asterisk generates the ringing sound. If I don't > disable the PlayRingingSound methods, I get "double" rings. > > > Should this be a configurable setting in the ATLSIP library? > > Whit > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |