Re: [reSIProcate] Equivalent of InviteSession::InviteSessionEndCommand but for AppDialogSet::end() (for CANCEL)
Some notes:
A cancel will end all dialogs in the invite dialog set (ie. all forked legs). If you put an interface on the InviteSession class, it could be a little mis-leading, since it will not only end that dialog, but also all other forked legs/dialogs. Clear documentation could ease this issue.
If you put the interface on InviteSession only - an application will only be able to call it if it has received a non-100 provisional response to the Invite. The actual InviteSession object is not created until that time. For this case, the new command API would be better suited on the AppDialogSet class.
Scott
On Fri, Sep 16, 2011 at 3:33 PM, Francis Joanis
<francis.joanis@xxxxxxxxx> wrote:
Hi,
I want to asynchronously send a CANCEL from my application but I
couldn't find any pre-made DumCommand to do this. For example, there
is the InviteSessionEndCommand available, but it sends a BYE and not a
CANCEL.
I couldn't find anything that does that so far, so I'll probably be
adding a new one called InviteSessionTerminateCommand that will end up
calling InviteSessionHandler::terminate - or something like that.
Also, I know that I could create my own DumCommand to do this :), but
I feel like it might be missing from the API.
Any comments?
Thanks,
Francis
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel