[reSIProcate] Cancelling before onNewSession
Fischl jason
jason.fischl at gmail.com
Fri Jun 3 11:15:41 CDT 2005
You have two choices.
1) use the DialogUsageManager to do it. e.g.
SipMessage& msg = dum.makeInviteSession(...);
dum.send(msg);
// do stuff
dum.end(DialogSetId(msg)); // this will send the cancel
2) Use the AppDialogSet
If you used the AppDialogSet, you can just call end on it and it will
send the cancel.
On 6/3/05, Jeff Knighton <jeff.knighton at voiceriver.com> wrote:
>
> Hi,
> I have a quick question. Using DUM, if I call makeInviteSession, send the
> INVITE and then decide that I really don't want to be calling right now,
> what's the appropriate way to send a CANCEL request, and clean things up if
> I haven't received an onNewSession yet? I understand that once I have
> received an onNewSession, I can take the InviteSessionHandle and just call
> the "end" method.
>
> Thanks,
> Jeff Knighton
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
>
More information about the resiprocate-devel
mailing list