[OpenSIPS-Devel] [New Functionality] cancelling calls from script
bogdan at voice-system.ro
Mon Jan 12 15:49:41 CET 2009
Following some suggestions from IRC channel, I added two new functions
that allows you to cancel a call (still in setup time) while processing
a reply. You can cancel the branch or the entire calls.
TM module has the new functions:
- t_cancel_branch (available only in onreply route) - it will cancel
the branch the reply belongs to
- t_cancel_call (available only in onreply route) - it will cancel
the entire call (all branches).
These functions may be useful if, during the call setup, OpenSIPS
decides to stop the call based on some information about the callee
party (learned via SIP reply messages).
More information about the Devel