[reSIProcate] Cancel a Call before receiving 180.

Dillip dkumar at cliquecom.com
Fri Apr 7 13:05:42 CDT 2006


Hi All,

    The use case here I have is bit different : 

 

==>     User A makes a call to B.

==>     At the user A's  end, before it receives 180 from the server (
immediately after it receives "100 - Trying .." ) , sends CANCEL to
terminate the call( using AppDialogSetHandle::end()). Note that ,at this
point of time, the session has not yet been created.

 

    The  request was successfully processed  and gets the response back from
the server with "487 Request Terminated". But, the problem here was.. it
never sends a termination event to the higher layer. This is probably due to
DUM object was being deleted inside DialogSet::end() function and thus was
unable to dispatch onTerminated() event to the higher layer. 

 

The changes I made here are : 

 

In DialogSet::end() function ,I commented out mDum->destroy() to keep mDum
alive and added a case On487Invite  in ClientInviteSession::dispatchStart()
function and it seems to be working fine. I would like to know, whether it
is the right way to do this.

 

Thank you very much.!

-Dillip

 

 

 

  

 

  _____  

From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of Dillip
Sent: Monday, April 03, 2006 1:14 PM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] Cancel a Call before receiving 180.

 

Hello,

   How do I CANCEL an OUTGOING Call before it receives 180 from the server
or the session is initiated?

 

Thanks in advance.

-Dillip

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060407/a87f3946/attachment.htm>


More information about the resiprocate-devel mailing list