< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

RE: [reSIProcate] how to send a CANCEL before connected?


You must call end() on the AppDialogSet in order to send a cancel.

-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of frank
zhao
Sent: Saturday, November 12, 2005 4:51 AM
To: resiprocate-devel
Subject: [reSIProcate] how to send a CANCEL before connected?

hi,
   In the file of ClientInviteSession.hxx,line 36 .there is some
comments for end() method, as shown in the  bellow code.
-----------------------------------------------------------------------
 /** Makes the specific dialog end. Will send a BYE (not a CANCEL) */
      virtual void end(EndReason reason);
-----------------------------------------------------------------------

   It seems that in the ClientInviteSession, when we want to terminate
a session. The stack can only send BYE. I want to know why not send a
CANCEL message before 2xx received in a clientInviteSession. Is there
some way to send a CANCEL before the call is connected?
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel