<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Frank,<br>
<br>
Maybe you forgot a / right after $ ?<br>
Anyway, writting subst('/^From:(.*)/From:
<a class="moz-txt-link-abbreviated" href="mailto:anonymous@anonymous.invalid/">anonymous@anonymous.invalid/</a>') should be sufficient to work?<br>
<br>
Another way is to&nbsp; use remove_hf() and append_hf() functions.<br>
<br>
Regards.<br>
<br>
Frank Hase a &eacute;crit&nbsp;:
<blockquote
 cite="mid:f98b73620808060746q29e8bda9p68f0d230581dd1f@mail.gmail.com"
 type="cite">
  <div dir="ltr">Hello,<br>
  <br>
I&acute;m using the SER for my phones at home.<br>
Now I want to phone as an anonymous.<br>
So I add a line in the ser.cfg:<br>
subst('/^From:(.*)sip[^@]*@[a-
  <div dir="ltr">zA-Z0-9.]+(.*)$From:anonymous@anonymous.invalid;/ig');<br>
  <br>
But this doesn&acute;t work.<br>
  <br>
I just want to have in the Message Header the line<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:anonymous@ananymous.invalid">anonymous@ananymous.invalid</a>;<br>
So that I can phone anonym.<br>
  <br>
Thank you for your help.<br>
  <br>
Greeting <br>
Frank Haase</div>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
  </pre>
</blockquote>
</body>
</html>