[prev in list] [next in list] [prev in thread] [next in thread]
List: serusers
Subject: [Serusers] Issue for subst()
From: inge <inge () legos ! fr>
Date: 2008-05-06 15:17:11
Message-ID: 1210087031.3443.5.camel () legos01 ! legos ! fr
[Download RAW message or body]
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@From: "Anonymous"
<sip:92@0172292965@domain.tld>;tag=21910a7967574581o0.
I try a lot of pattern, but it doesn't run.
Thanks for your support.
Regards,
Adrien
_______________________________________________
Serusers mailing list
Serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic