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