[SR-Users] Replace number in pseudo variable
Klaus Darilion
klaus.mailinglists at pernau.at
Mon Jan 3 18:39:27 CET 2011
Am 03.01.2011 15:56, schrieb Bernhard Suttner:
> Hi,
>
> I try to replace the user-name of the Request URI and save that into a AVP later.
>
> I tried:
> $var(old_user) = $oU;
> $var(new_uri) = $(ou{re.subst,/$var(old_user)/004444444444/g});
unless this is just a test (and you need regexp) I would use:
$var(new_uri) = "sip:004444444" + $rd;
if you need all parameters as well you could use e.g.
$rU = "00444444";
regards
klaus
More information about the sr-users
mailing list