[OpenSIPS-Devel] [opensips] Feature Request: in acc allow setting variables for *_extra_bye after loose_route (#526)

vladpaiu notifications at github.com
Tue Jun 2 13:39:46 CEST 2015


Hello,

This can be achieved now by using the dialog exported events ( see http://www.opensips.org/html/docs/modules/2.1.x/dialog.html#id297207 )
By using the event_route module (  http://www.opensips.org/html/docs/modules/2.1.x/event_route#id293506 ) and declaring a script route as route[E_DLG_STATE_CHANGED] , you will be able to detect when the dialog switches from the 4 state ( established ) to state 5 ( ended ) - the route will get called before the accounting is done, thus allowing you to populate your variables.

Best Regards,
Vlad

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/526#issuecomment-107924542
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150602/f714f762/attachment.htm>


More information about the Devel mailing list