Re: [SR-Users] Replace number in pseudo variable

2011-01-03 Thread Klaus Darilion
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)/0044/g}); unless this is just a test (and you need regexp) I would use:

Re: [SR-Users] Replace number in pseudo variable

2011-01-03 Thread Bernhard Suttner
Hi, thanks for your fast response. $ou is the original request uri but I tried with $rU and it still does not work. Is it not possible to use a pseudo variable with re.subst ? Best regards, Bernhard -Ursprüngliche Nachricht- Von: Juha Heinanen [mailto:j...@tutpro.com] Gesendet: Montag