#109 RTPPROXY timeout event

closed
nobody
modules (91)
5
2013-03-11
2013-02-06
dexteruk
No

For the purposes of being able to make informed decisions about the voip providers you work with. It would be nice to be able to have an event for RTPPROXY media timeout, so you can see that a BYE was never received and instead your opensips/rtpproxy timed the call out and passed the BYE to both legs of the call, so this could be logged in the acc.

For example, with the dialog timeout-avp when this happens you can create and local route

if (is_method("BYE") && $DLG_dir=="UPSTREAM") {

acc_db_request("200 Dialog Timeout", "acc");

}

So when this event happens, in the acc you see a 200 Dialog Timeout

Thanks

Discussion

  • dexteruk
    dexteruk
    2013-02-06

    • labels: --> modules
     
  • The idea will be to add a new variable to be provided by the dialog module. This variable will contain a dialog termination reason string and will be automatically published by dialog module when a dialog is terminated. So it will be available in request route after handling a BYE for a dialog or in local route when a dialog is terminated.

    In local route, it will publish (via internal dlg_end_dlg) if the termination was becuase of MI function, of session timeout or RTP timeout.

    Regards,
    Bogdan

     
    • status: open --> closed