January 2016
Intermediate to advanced
384 pages
8h 6m
English
One important feature for prepaid billing is the capability to set a timeout for calls. The dialog module has many ways to handle timeouts. We will see several ways on how to disconnect a call on timeout. When you create a dialog using the parameter, B, the call disconnects on timeout. To set a timeout, there are two ways:
To specify a default timeout, you can set a module parameter to a specific value or to an Attribute Value Pairs (AVP):
modparam("dialog", "default_timeout", 21600)You can also set a new timeout by changing a pseudo-variable (PV), $DLG_lifetime. You have to set this timeout in the initial request after creating a dialog or in ...
Read now
Unlock full access