I found out that the uac_replace_from() function has a weird behaviour on my system. The same result occurs for all the three modparam("uac","from_restore_mode",...) 
settings (&quot;auto&quot;, &quot;none&quot;, &quot;manual&quot;).<br><br>1) I cannot change the display or the URI part in FROM header. Whatever I do I&#39;ll get no change.<br>2) If a inbound hidden call is coming from an inbound trunk (#31#...) then uac_replace_from(&quot;XXX&quot;, &quot;sip:YYY&quot;) unhides the display and the URI in FROM header --- however the displayed phone number will be independent from XXX or YYY, it will be the original phone number of the caller (XXX or YYY may be omitted, too). The text &quot;sip:&quot; cannot be omitted.
<br><br>I don&#39;t really have an idea what is going on here. Could you please help? I&#39;m still using openser-1.1.0.<br><br>Thank you in advance. Best regards, Zoltan<br><br><div><span class="gmail_quote">2007/11/27, Zoltán Kovács &lt;
<a href="mailto:kovzol@gmail.com">kovzol@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear Colleagues,<br><br>first of all, thank you for the great software which is a very nice and convenient way to build up a stable VoIP telephone system! We already have a working system based on OpenSER and Asterisk.
<br>
<br>After many experiments I finally raise this question to you because I cannot figure out the solution. The problem described on <a href="http://www.openser.org/pipermail/users/2006-January/002747.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.openser.org/pipermail/users/2006-January/002747.html
</a> seems to be very similar to mine.<br><br>I am using openser-1.1.0-9etch1. I tried to replace the FROM variable as follows:<br><br>loadmodule &quot;uac.so&quot;<br>modparam(&quot;uac&quot;,&quot;from_restore_mode&quot;,&quot;auto&quot;)
<br>...<br>route<br>{<br>...<br>avp_write(&quot;$fU&quot;, &quot;$avp(s:display)&quot;);<br>avp_write(&quot;$fU&quot;, &quot;$avp(s:dispuri)&quot;);<br>avp_subst(&quot;$avp(s:display)&quot;, &quot;/^36(.*)/06\1/&quot;);<br>

avp_subst(&quot;$avp(s:dispuri)&quot;, &quot;/^36(.*)/sip:<a>06\1@datanet.hu/</a>&quot;);<br>uac_replace_from(&quot;$avp(s:display)&quot;, &quot;$avp(s:dispuri)&quot;);<br>...<br>}<br clear="all">
<br>Unfortunately nothing seems to happen: no change is made on several VoIP telephones, including X-Lite as well. loose_route() and record_route() were also used in my configuration. Could you please help me what I am missing here? If needed, I can also send a full config file.
<br><br>Thank you in advance,<br>Zoltan Kovacs<br>sysadmin<br><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://matek.hu">matek.hu</a> --- mert matekból érettségizni mindenkinek kell...