Frank,

Maybe you forgot a / right after $ ?
Anyway, writting subst('/^From:(.*)/From: anonymous@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@anonymous.invalid;/ig');

But this doesn´t work.

I just want to have in the Message Header the line
From: anonymous@ananymous.invalid;
So that I can phone anonym.

Thank you for your help.

Greeting
Frank Haase

_______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers