[OpenSIPS-Users] Rewrite all uri user part in sip messages

Mickael Hubert m.hubert at hexanet.fr
Thu Apr 17 11:59:14 CEST 2014


Hi list,

I want rewrite user part in all uris.

Ex:

INVITE -- <sip:*+33*XXXXXXXXX at ....> --> OpenSIPS -- <sip:*0*XXXXXXXXX at ....>
--> 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

-- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140417/7bdd0b46/attachment.htm>


More information about the Users mailing list