[reSIProcate] Equivalent of InviteSession::InviteSessionEndCommand but for AppDialogSet::end() (for CANCEL)
Francis Joanis
francis.joanis at gmail.com
Sun Sep 25 11:27:52 CDT 2011
Hi,
I did end up putting it in the AppDialogSet class because it just made more sense and you are raising very good points confirming it. I'll probably commit it tomorrow.
Thanks,
Francis
Le 2011-09-25 à 09:00, Scott Godin <sgodin at sipspectrum.com> a écrit :
> 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 at gmail.com> 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 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/20110925/b34bb420/attachment.htm>
More information about the resiprocate-devel
mailing list