[OpenSIPS-Users] [OpenSIPS-Devel] Planning next release - Roadmap

Dan Pascu dan at ag-projects.com
Tue Aug 26 14:59:58 CEST 2008


On Tuesday 26 August 2008, Ovidiu Sas wrote:
> >> Maybe a way to make the dialog module send the BYEs when the dialog
> >> expires.
> >
> > [bogdan]
> > Yes, that is one idea also - to mark the dialog if BYE should be
> > generated on dialog timeout.
>
> [ovidiu]
> how about going with a more general approachand use a new route:
> timeout_route. the admin can decide what to do with respect to that
> dialog:
>  - send a BYE
>  - re-arm the timer

Rearming the timer may be trickier than it looks. If you have a spiraled 
call, then you must rearm the timer in all dialogs, else it won't help.
Correlating between the spiraled dialogs in script is not trivial, 
especially if you do not know how many times it has spiraled. OTOH you 
should generate BYE messages only from one of the spiraled dialogs.

-- 
Dan



More information about the Users mailing list