[Serusers] Textops problem
Xavier TRENTIN
xavier.trentin at efixo.com
Wed Aug 6 17:32:04 CEST 2008
Frank,
Maybe you forgot a / right after $ ?
Anyway, writting subst('/^From:(.*)/From: anonymous at anonymous.invalid/')
should be sufficient to work?
Another way is to use remove_hf() and append_hf() functions.
Regards.
Frank Hase a écrit :
> Hello,
>
> I´m using the SER for my phones at home.
> Now I want to phone as an anonymous.
> So I add a line in the ser.cfg:
> subst('/^From:(.*)sip[^@]*@[a-
> zA-Z0-9.]+(.*)$From:anonymous at anonymous.invalid;/ig');
>
> But this doesn´t work.
>
> I just want to have in the Message Header the line
> From: anonymous at ananymous.invalid;
> So that I can phone anonym.
>
> Thank you for your help.
>
> Greeting
> Frank Haase
> ------------------------------------------------------------------------
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080806/b001318b/attachment.htm>
More information about the sr-users
mailing list