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_ever_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