<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=x-gbk" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello sammy,<br>
<br>
Just took a quick look through your config and I saw that you are
using both uac_replace_from() and
(subst('/^From:(.+)sip:(.+)@([0-9.:]+)(.+)$/From:\1sip:\2@$Ri:$Rp\4/i')),
thus having two simultaneous modifications on the From header when
the message goes through your script, which might lead to the bogus
From header you are experiencing.<br>
<br>
Please try to rework your script and only modify the From header
once, and let me know if the problem persists.<br>
<br>
<br>
Regards, <br>
<pre class="moz-signature" cols="72">--
Vlad Paiu
OpenSIPS Developer</pre>
<br>
<br>
On 07/25/2011 04:39 AM, sammy wrote:
<blockquote
cite="mid:78879b65.1dd1.1315ef2af75.Coremail.sanms@126.com"
type="cite">
<div style="line-height: 1.7; color: rgb(0, 0, 0); font-size:
14px; font-family: arial;">Hi, Vald
<div><br>
</div>
<div>Thanks for your reply. :)</div>
<div>I re-check my opensips script, but only
use uac_replace_from() one time, i post it here : </div>
<div><a moz-do-not-send="true"
href="http://pastebin.com/gTKS3kGF" target="_blank">http://pastebin.com/gTKS3kGF</a></div>
<div><br>
</div>
<div>Thanks in advance.</div>
<div><br>
</div>
<div>Best regards</div>
<div>Sammy</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<br>
<span title="neteasefooter"><span id="netease_mail_footer"></span></span>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>