On 01/08/2016 04:28 PM, Vik Killa wrote:
$var(destnumber1) =
$(ru{re.subst,/^sip:$var(PrefixMatch)(.*)@(.*)/\1/});
But, it's certainly worth asking if what you're trying to accomplish here can't be accomplished differently...
$var(destnumber1) = "$rz:" + $var(PrefixMatch) + "@" + $rd + ":" + $rp;
Or:
$var(destnumber1) = $_s($rz:$var(PrefixMatch)@$rd:$rp);
-- Alex