<!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,<br>
<br>
Are you trying to modify the From header for more than one time in
your script ? Because of the OpenSIPS internal handling of SIP
messages, multiple modifications to the same message part can lead
to inconsistent behaviour. <br>
<br>
Can you please post a snippet of your script ? <br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">--
Vlad Paiu
OpenSIPS Developer</pre>
<br>
<br>
On 07/22/2011 07:01 AM, sammy wrote:
<blockquote
cite="mid:1fef03.2ab3.13150014443.Coremail.sanms@126.com"
type="cite">
<div style="line-height: 1.7; color: rgb(0, 0, 0); font-size:
14px; font-family: arial;">Hi, guys
<div> I just try to use remove_hf() and append_hf() to
replace From part in the INVITE message, and from the captured
sip package, the old From part is still there(Not removed
by remove_hf function, like the result : use uac_replace_from
) but new From part can be added to the end of the INVITE
message(append_hf function works).</div>
<div> Is there any other setting must be include in the
opensips.cfg file? </div>
<div>
<div><br>
</div>
</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>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>