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

Re: [reSIProcate] Canceling an outgoing call


What is the exception that is being thrown?  Are you sure the ClientInviteSessionHandle is valid?  You can (and should) add a sis.isValid() check before using the handle.  

If you are trying to cancel before receiving any non-100 response, then you will not even have a ClientInviteSession yet.  You will probably want to consider storing AppDialogSet pointers in a map somewhere, so that you can get access to the AppDialogSet before the ClientInviteSession is created.

Scott

On Tue, Aug 11, 2009 at 8:42 AM, Gurpreet Sidhu <gurpreet.sidhu@xxxxxxx> wrote:

Hi
I am trying to Cancel an outgoing Call before receiving 200 using following Code

ClientInviteSessionHandle sis=m_CallInfoMap[callId]->ClientSession() ;
sis->getAppDialogSet()->end();

Is it OK because it is throwing an exception.
According to Info on Wiki It should be  
InviteSessionHandle->getAppDialogSet()->end().
 Please Clear the point.

Gurpreet Singh
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel