[OpenSIPS-Users] [NEW FEATURE] - Automatic call termination on dialog timeout

Giuseppe Roberti jnod at jnod.org
Sun Nov 2 22:12:34 CET 2008


Hi,

nice to hear it :)
Is it available only for the next release ?

Thanks.

Bogdan-Andrei Iancu wrote:
> Hi,
> 
> following the discussion [dialog expire event in dialog module] :
>     http://lists.opensips.org/pipermail/users/2008-October/000640.html
> here is the outcome:
> 
> The dialog module is able to automatically send BYE (in both directions) 
> when the dialog timeout event occurs.
> 
> When the dialog is created (for the initial INVITE), you need to set the 
> "bye_on_timeout_flag" in order to enable this feature. When the timeout 
> event hints (and no BYE was received from any party), BYE requests will 
> be generated in both directions and cut the call from the middle.
> 
> Of course, you can catch this BYE requests in failure_route and do some 
> custom processing for them.
> 
> To read more, see the docs:
>     http://www.opensips.org/html/docs/modules/devel/dialog.html#id2515459
>     
> http://www.opensips.org/html/docs/modules/devel/dialog.html#bye-on-timeout-flag-id
> 
> 
> The next step will be to  enhance failure route to allow request 
> dropping ; then you can drop the BYEs and set a new dialog timeout - 
> this will be a way of pre-longing the dialog lifetime.
> 
> Regards,
> Bogdan
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 

-- 
Giuseppe Roberti
<jnod at jnod.org>




More information about the Users mailing list