[OpenSIPS-Users] [OpenSIPS-News] How modify Contact header

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Oct 21 17:32:03 CEST 2009


Ariadne,

do not abuse the "news" mailing list - that list only for announcing and 
discussion news (as the name says) and not for asking technical 
questions - please use the appropriate list (users) for your purpose.

Bogdan

Ariadne Ramos wrote:
>
> Hello
>
> I’m trying to modify the contact header in onreply route
>
> I’m using
>
> if(subst('/^Contact:(.*)@proxy.yy.com/Contact:\1 at proxy.xx.com/')) {
>
> xlog("L_INFO", "SUBST OK $ct \n");
>
> }
>
> And the contact still being the same
>
> Logs
>
> [15224]: SUBST OK <sip:001xxxxxxxx at proxy.yy.com>
>
> Can you help me to understand what I’m missing?
>
> Thanks in advanced
>
> Ariadne
>
> P BE CARBON CONSCIOUS. PLEASE CONSIDER OUR ENVIRONMENT BEFORE PRINTING 
> THIS E-MAIL
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> News mailing list
> News at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/news
>   




More information about the Users mailing list