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

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to