[OpenSIPS-Users] dialog termination
Alain Bieuzent
alain.bieuzent at free.fr
Mon Nov 7 14:13:24 UTC 2022
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-bounces at lists.opensips.org> au nom de Ben Newlin <Ben.Newlin at genesys.com>
Répondre à : OpenSIPS users mailling list <users at lists.opensips.org>
Date : lundi 7 novembre 2022 à 14:54
À : OpenSIPS users mailling list <users at 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-bounces at lists.opensips.org> on behalf of M S <medeanwz at gmail.com>
Date: Monday, November 7, 2022 at 6:07 AM
To: OpenSIPS users mailling list <users at 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 at lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221107/a189ff6c/attachment-0001.html>
More information about the Users
mailing list