[OpenSIPS-Users] Rewrite all uri user part in sip messages
Răzvan Crainea
razvan at opensips.org
Thu Apr 17 14:35:41 CEST 2014
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 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
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list