On 01/08/2016 04:38 PM, Vik Killa wrote:
I'm not trying to replace the R-URI like in your
example, im trying to
remove a prefix from the RURI
Oh, I see.
You might consider stripping[1] the necessary number of characters from
the user part of the RURI, then.
$var(prefix_len) = $(var(PrefixMatch){s.len});
$var(destnumber1) = $(rU{s.strip,$var(prefix_len)});
-- Alex
[1]
http://www.kamailio.org/wiki/cookbooks/4.3.x/transformations#sstrip_len
--
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/