[SR-Users] Getting the name of an already set onreply_route
Denys Pozniak
denys.pozniak at gmail.com
Wed Dec 7 14:11:44 CET 2022
Here the question is more whether there is a variable ($T or any) into
which the name of the onreply_route is exported.
ср, 7 дек. 2022 г. в 13:21, Patrick Karton <patrickarton at hotmail.com>:
> Or transaction variable (xavp) is best for that.
>
> Le 7 déc. 2022 12:00, Patrick Karton <patrickarton at hotmail.com> a écrit :
>
> Hello i dont think so.
>
> But probably you can use shared or private variable depending on your
> needs
>
> Le 7 déc. 2022 11:28, Denys Pozniak <denys.pozniak at gmail.com> a écrit :
>
> Hello!
>
> Is it possible to find out the name of the onreply_route that was set
> before?
> Something like this:
>
> t_on_reply("MANAGE_REPLY");
> ...
> if ( t_is_set("onreply_route") ) {
> get_onreply_route_name();
> ...
> }
>
> --
>
> BR,
> Denys Pozniak
>
>
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
--
BR,
Denys Pozniak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221207/ce635c07/attachment.htm>
More information about the sr-users
mailing list