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});
and
$var(new_uri) = $(ou{re.subst,/$oU/004444444444/g});
Both did not work:
[lvalue.c:351]: non existing right pvar
I am using latest git version of kamailio.
Does someone has an idea?
Best regards,
Bernhard
Bernhard Suttner
Senior Entwickler
Entwicklung
_______________________
Winet Network Solutions AG
Täfernstrasse 2a
CH-5405 Baden-Dättwil
E-Mail Winet: info(a)winet.ch
E-Mail pers.: bernhard.suttner(a)winet.ch
Voice: +41 56 470 4626
Fax: +41 56 470 4627