Thanks Ben,
I finally found another solution with the module mi_script (https://opensips.org/docs/modules/3.2.x/mi_script) $avp(callid) = $ci; mi("dlg_end_dlg", $var(dlg), $avp(callid)); Regards De : Users <users-boun...@lists.opensips.org> au nom de Ben Newlin <ben.new...@genesys.com> Répondre à : OpenSIPS users mailling list <users@lists.opensips.org> Date : lundi 7 novembre 2022 à 14:54 À : OpenSIPS users mailling list <users@lists.opensips.org> Objet : Re: [OpenSIPS-Users] dialog termination I recommend using the E_DLG_STATE_CHANGED event. https://opensips.org/docs/modules/3.3.x/dialog.html#event_E_DLG_STATE_CHANGED Ben Newlin From: Users <users-boun...@lists.opensips.org> on behalf of M S <medea...@gmail.com> Date: Monday, November 7, 2022 at 6:07 AM To: OpenSIPS users mailling list <users@lists.opensips.org> Subject: [OpenSIPS-Users] dialog termination EXTERNAL EMAIL - Please use caution with links and attachments Hi list, How do we get notified if an unacknowledged dialog is terminated? apparently dlg_on_hangup only works for state=4 dialog, when ACK is received. What if INVITE is sent, dialog created, then RINGING is received, then DECLINED is received? Thank you! _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users