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

Reply via email to