[OpenSIPS-Devel] [opensips] Cannot use unset_dlg_profile() in a named route called from onreply_route (#554)

Steve Frécinaux notifications at github.com
Fri Jun 12 15:47:57 CEST 2015


Hello,

- You cannot put unset_dlg_profile in a "normal" route (route[FOO])
- You cannot call a named onreply_route from another onreply_route()
- You cannot use more than one named onreply_route using t_on_reply()

This makes it effectively impossible to split a huge onreply_route into several subroutes if you want to use unset_dlg_profile().

Maybe there should be a onreply_route() function to call onreply_route(), or the check for route type at startup time should be more relaxed somehow.

This happend using opensips 1.8

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/554
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150612/6eb63e23/attachment.htm>


More information about the Devel mailing list