[reSIProcate] Canceling an outgoing call

Scott Godin sgodin at sipspectrum.com
Wed Aug 12 12:49:44 CDT 2009


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 at tcs.com>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 at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20090812/81712641/attachment.htm>


More information about the resiprocate-devel mailing list