[sr-dev] Dialog2 and proxy initiated early dialog termination

Carsten Bock carsten at ng-voice.com
Thu Sep 29 16:28:48 CEST 2011


Hi,

have you looked at the following:
http://www.kamailio.org/docs/modules/devel/modules_k/tmx.html#id2534002
or
http://www.kamailio.org/docs/modules/devel/modules_k/tmx.html#id2531610
??

Regards,
Carsten

2011/9/29 Jason Penton <jason.penton at gmail.com>:
> Hi All,
>
> Ok Dialog2 progressing nicely. We now have dialogs and their associated out
> dialogs (branches / forking) stored and managed within the dialog2 module.
> For the moment, we have excluded DB support but will add once we check in to
> git. One thing we need a little assistance with:
>
> We have just finished the prototype for proxy initiated early dialog
> termination, but we are concerned with the way it has been done. Basically
> as mentioned in the wiki
> (http://www.kamailio.org/dokuwiki/doku.php/modules-new-design:dialog-module-design),
>
> It should be possible to terminate dialogs in the “early” state, i.e.,
> sending out BYE/CANCEL requests in order to terminate all branches
> appropriately.
>
> ibc: IMHO it would be easier just to cancel the transaction as when
> fr_inv_timer expires, this is, by sending a CANCEL to all the pending
> branches and a 408 to the UAC (perhaps in this case a 480 would be more
> appropriate).
>
> The only way we could think of doing this was to send a fake reply via the
> TM module. We have therefore exposed the fake_reply function from the TM
> module and using that to terminate early dialogs. It works in the test
> scenarios we have performed, but the main drawback we can see here is that
> the dialog module needs to hold a pointer to the transaction for each dialog
> (not sure how bad this is as my experience with tm is not expert yet ;) )
>
> So any thoughts/ideas. Is this the correct way to do it? Would it be okay to
> expose a fake_reply function through TM API?
>
> Cheers
> Jason
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>



-- 
Carsten Bock
CEO (Geschäftsführer)

ng-voice GmbH i. Gr.
Schomburgstr. 80
D-22767 Hamburg / Germany

http://www.ng-voice.com
mailto:carsten at ng-voice.com

Mobile +49 179 2021244
Office +49 40 34927219
Fax +49 40 34927220

Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/



More information about the sr-dev mailing list