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 <[email protected]> on behalf of M S 
<[email protected]>
Date: Monday, November 7, 2022 at 6:07 AM
To: OpenSIPS users mailling list <[email protected]>
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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to