[Serusers] Issue for subst()
inge
inge at legos.fr
Tue May 6 17:17:11 CEST 2008
Hi all,
I find a solution to replace in my From the string "anonymous" by "92".
So, I do the following :
subst('/^(From|f): (.*) <sip:(.*)@(.*)>;/\1: \"Anonymous\" <sip:92@
\4>;/g');
The result is :
From: "Anonymous" <sip:anonymous at From: "Anonymous"
<sip:92 at 0172292965@domain.tld>;tag=21910a7967574581o0.
I try a lot of pattern, but it doesn't run.
Thanks for your support.
Regards,
Adrien
More information about the sr-users
mailing list