Hi, Michael!
There is no function that allows you to change the whole SIP message. In
order to change the From/To header, you have to use
uac_replace_from/to() functions from the uac module.
Best regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 04/17/2014 12:59 PM, Mickael Hubert wrote:
Hi list,
I want rewrite user part in all uris.
Ex:
INVITE -- <sip:*+33*XXXXXXXXX@....> --> OpenSIPS --
<sip:*0*XXXXXXXXX@....> --> Client X
I already use this command in textops module:
/subst_user('/\+33/0/g');/
It's work fine, but it's just r-ruri is changed, no From header or To
header uri.
Have you any idea please to change all uris ?
thanks in advance
--
Cordialement
HUBERT Mickaël
Ingénieur VOIP - Hexanet
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users