January 2016
Intermediate to advanced
384 pages
8h 6m
English
Once you have an established dialog, you can disconnect the call at any time by sending a BYE to both sides. There are many ways to disconnect a call using OpenSIPS. Some are initiated by the subscriber and others by the system itself. Fortunately, now there is a PV called $DLG_end_reason that is capable to display the disconnection reason. It returns the reason for the dialog termination. It can be one of the following:
Upstream BYE: BYE sent by the calleeDownstream BYE: BYE sent by the callerLifetime Timeout: Lifetime expiredMI Termination: Ended via the MI interfacePing Timeout: Ended by no reply or 481 to in-dialog pingsRTPProxy Timeout: Timeout signaled by RTPProxyTo disconnect ...
Read now
Unlock full access