<div>Hi Atle,</div>
<div> </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> 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> with <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> </div>
<div>another example:</div>
<div>
<div>From <a href="mailto:6162341124@abc.com">6162341124@abc.com</a> 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> with <a href="mailto:5623229999@abc.com">5623229999@abc.com</a> in the INVITE </div>
<div> </div>
<div>the <font face="Courier New">uac_replace_from() can do it too?</font></div>
<div><font face="Courier New"></font> </div>
<div><font face="Courier New">Thanks for your time.</font></div>
<div><font face="Courier New"></font> </div>
<div><font face="Courier New">Steve</font></div><br><br> </div>
<div><span class="gmail_quote">On 1/29/06, <b class="gmail_sendername">Atle Samuelsen</b> <<a href="mailto:clona@cyberhouse.no">clona@cyberhouse.no</a>> 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 <<a href="mailto:516888@gmail.com">516888@gmail.com</a>> [060130 07:04]:<br>> Hi All,<br>><br>> I found that PSTN GW usually put the "From:
xxxx@ipaddress" as ANI (caller<br>> ID) when it receive a SIP call. There is a function "rewritingURI" for<br>> called URI, I am wandering if there was a function can do rewriting on the<br>> the sorc "From" also.
<br>><br>> For example:<br>> 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>> <a href="mailto:alice@abc.com">
alice@abc.com</a> 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>><br>> Any help will be appreciated.<br>><br>> Steve<br>
<br>> _______________________________________________<br>> Users mailing list<br>> <a href="mailto:Users@openser.org">Users@openser.org</a><br>> <a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users
</a><br><br></blockquote></div><br>