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

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Oct 30 15:45:08 CET 2008


following the discussion [dialog expire event in dialog module] :
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:

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.


More information about the Users mailing list