[SR-Users] String Transformation Question

David Villasmil david.villasmil.work at gmail.com
Sat Jan 11 00:24:51 CET 2020


Have you tried scaping it? Never done it, tho

On Fri, 10 Jan 2020 at 23:23, Sam Ware <sam.ware at gmail.com> wrote:

> We are receiving traffic with a tech prefix.  We want to be able to use a
> # (hash tag) for the separator for the tech prefix and the remote user
> ($rU).  I was using the s.select transformation before when using * for
> separator, but I get an error because it appears that it being interpreted
> as a comment.  Any suggestions?
>
> Example:
> ## How I was doing it with the *
> $avp(techprefix) = $(rU{s.select,0,*});
>
> ## How I tried and got an error for the hash tag
> $avp(techprefix) = $(rU{s.select,0,#});
> --
> Sam  D Ware
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200110/0b720ec6/attachment.html>


More information about the sr-users mailing list