[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
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
More information about the Users
mailing list