Thanks. That worked fine.
Now, Is there a way to rewrite the reponses going back, the 180/183 and 200 OK.
Does replace work on 180/183 messages?
For example....
Cisco -----------------> SER ----------------------> user
Change the FROM in the INVITE, BYE, Cancel ------>
<----------------------------- Restore the FROM in 180/183, 200 OK, BYEs
I tried to do a replace, but I am not sure it works on Ringing messages. Can anyone confirm?
Thanks, Mark -----Original Message----- From: Daniel-Constantin Mierla [mailto:daniel@voice-system.ro] Sent: Sunday, April 24, 2005 7:43 AM To: mark wehberg Cc: serusers@lists.iptel.org Subject: Re: [Serusers] using "s inside replace
use
replace('From: "xxxxxxxxxx"', 'From: "yyyyyyyyyy"');
Daniel
On 04/24/05 13:16, mark wehberg wrote:
Hello,
I want to replace the Caller-ID in quotes in the From Tag. Is there a switch that I can use in front of the " so that the SER treats it as another character and not the end of the first " ?
replace("From: "xxxxxxxxxx"", "From: "yyyyyyyyyy"");
-Mark
-
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers