[OpenSIPS-Users] {s.select} and hex separators

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Oct 30 18:41:16 CET 2013


Hi Alexander,

Have you tried to use the "s.unescape.user" transformation (NOT the
escape, but unescape) - see:
    http://www.opensips.org/Documentation/Script-Tran-1-9#toc12

like $(fU{s.unescape.user}{s.select,1,#}) ??

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 10/30/2013 01:39 PM, Alexander Mustafin wrote:
> Hello!
>
> I've got calls with FROM field looks like From: "Username"
> <sip:1001%2377777777777 at telnum>;tag=5B353042
> where %23 - is separator #. I need to save value before separator and
> trying to use {s.select}, but this transformation not works.
>
> I need function with separator, because VALUE may be random, but
> separator is always #.
> I was tried to use {s.escape.user} transformation, but unsuccessfully.
>
> Any solutions or other ways?
>
> Best regards,
> Alexander Mustafin
> mustafin.aleksandr at gmail.com <mailto:mustafin.aleksandr at gmail.com>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131030/f21bbe8f/attachment.htm>


More information about the Users mailing list