Ricardo,
Ok, but how do you restore the from-header when you send answers of the downstream party to the upstream party again ?
Cheers
Gerry
----- Original Message ----- From: "Ricardo Carvalho" rcarvalho@iric.up.pt To: "Alex Fler" alexfler@yahoo.com Cc: serusers@lists.iptel.org Sent: Friday, September 08, 2006 5:15 PM Subject: Re: [Serusers] Re: rewrite the FROM part of SIP INVITE
I've used subst() function for substituting From and To URIs and calls succeed well! I think that this indicates that Ser uses in fact only the Call-Id to keep track of calls and not as well From and To tags of messages. Although I this may end up biting me later...
You can do that for example with the following syntax:
subst('/^From:(.*)sip:.*@your_domain(.*)/From:\1sip:what_ever_number@what_ev er_domain\2/');
Greetings,
Ricardo.
Alex Fler wrote:
Hello guys,
Sorry for a stupid question, but how do you actually rewrite the FROM part of SIP INVITE ?
Do you use avp ? Could someone give me an example ?
Thanks to all
Alex Fler
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
___________________________________________________________ Try the all-new Yahoo! Mail. "The New Version is radically easier to use" The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html