David,
Regexps in Kamailio are precompiled at script load for performance reasons.
Really limited set of regex operations are dynamic, like
http://www.kamailio.net/docs/modules/5.4.x/modules/textops.html#textops.f.i…
I'd recommend to look at KEMI if you need something dynamic.
пн, 28 мар. 2022 г. в 13:04, David Villasmil <david.villasmil.work(a)gmail.com
:
Hello guys,
Is it possible to use apvs on regexps like:
$avp(myvar)=$(re{uri.user}{re.subst,/^\+$avp(some_var)/$avp(some_var)/});
doesn't seem possible
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)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
--
Best regards,
Igor