<div>Hi Atle,</div>
<div>&nbsp;</div>
<div>Thanks for point me to the right way.</div>
<div>I have another question if I can replace the FROM URI based on Called URI?</div>
<div>for example:</div>
<div>From <a href="mailto:6162341124@abc.com">6162341124@abc.com</a>&nbsp; call to <a href="mailto:8786212323@abc.com">8786212323@abc.com</a> </div>
<div>I want to replace <a href="mailto:6162341124@abc.com">6162341124@abc.com</a>&nbsp;with &nbsp;<a href="mailto:8786219999@abc.com">8786219999@abc.com</a> in the INVITE , so that called user <a href="mailto:8786212323@abc.com">8786212323@abc.com
</a> will see the calling party number is 8786219999.</div>
<div>&nbsp;</div>
<div>another example:</div>
<div>&nbsp;
<div>From <a href="mailto:6162341124@abc.com">6162341124@abc.com</a>&nbsp; call to <a href="mailto:5623225323@abc.com">5623225323@abc.com</a> </div>
<div>I want to replace <a href="mailto:6162341124@abc.com">6162341124@abc.com</a>&nbsp;with&nbsp;&nbsp;<a href="mailto:5623229999@abc.com">5623229999@abc.com</a> in the INVITE </div>
<div>&nbsp;</div>
<div>the <font face="Courier New">uac_replace_from() can do it too?</font></div>
<div><font face="Courier New"></font>&nbsp;</div>
<div><font face="Courier New">Thanks for your time.</font></div>
<div><font face="Courier New"></font>&nbsp;</div>
<div><font face="Courier New">Steve</font></div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 1/29/06, <b class="gmail_sendername">Atle Samuelsen</b> &lt;<a href="mailto:clona@cyberhouse.no">clona@cyberhouse.no</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Steve,<br><br>check the UAC module :-)<br><br>I think ther eis a function there, uac_replace();<br><br>
(pleace dont shoot me if I'm wrong)<br><br>-Atle<br><br>* Steve Xu &lt;<a href="mailto:516888@gmail.com">516888@gmail.com</a>&gt; [060130 07:04]:<br>&gt; Hi All,<br>&gt;<br>&gt; I found that PSTN GW usually put the &quot;From: 
xxxx@ipaddress&quot; as ANI (caller<br>&gt; ID) when it receive a SIP call.&nbsp;&nbsp;There is a function &quot;rewritingURI&quot; for<br>&gt; called URI, I am wandering if there was a function can do rewriting on the<br>&gt; the sorc &quot;From&quot; also.
<br>&gt;<br>&gt; For example:<br>&gt; user <a href="mailto:FROM:alice@abc.com">FROM:alice@abc.com</a> make call to <a href="mailto:hugen@abf.com">hugen@abf.com</a>, can I rewrite the<br>&gt; <a href="mailto:alice@abc.com">
alice@abc.com</a>&nbsp;&nbsp;to <a href="mailto:661234223@abc.com">661234223@abc.com</a> when I send INVITE to <a href="mailto:hugen@abf.com">hugen@abf.com</a> ?<br>&gt;<br>&gt; Any help will be appreciated.<br>&gt;<br>&gt; Steve<br>
<br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; <a href="mailto:Users@openser.org">Users@openser.org</a><br>&gt; <a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users
</a><br><br></blockquote></div><br>