Dear Bogdan,<br><br>thank you for your kind answer. Here I attach 4 different logs, two of them contains the &quot;uac:replace_from&quot; string. This is the expected behaviour.<br><br>The 4 files are:<br><br>v0, v5: calling two different internal numbers from outbound calls, both with caller&#39;s number unhide,
<br>v_0, v_5: the same as above but the caller&#39;s numbers are hidden<br><br>Only the latter ones contain the uac:replace_from string because this is my setting in the openser.cfg file.<br><br>Currently I have another problem, too. If you are browsing the logs, you will realize that however I initiated all the 4 calls from the same mobile phone to two different targets inside our openser system, I got two absolute different behaviour:
<br><br>
* calling number 06212000000 works OK, both for v0 and v_0,<br>* calling number 06212527755 works only if I unhide the caller&#39;s number. In other words, v5 works well but v_5 doesn&#39;t.<br><br>The two different internal numbers should be handled in the same way in my opinion, no extra setting is done for any of them.
<br><br>Here are my logs:<br><a href="http://particio.com/problem-1130-2.zip">http://particio.com/problem-1130-2.zip</a><br><br>and my config file:<br><a href="http://particio.com/openser.cfg.txt">http://particio.com/openser.cfg.txt
</a><br><br>Since I&#39;m a novice in writing routing logic scripts, I cannot guarantee that you will see a perfect script in all manner... :-)<br><br><div><span class="gmail_quote">2007/11/28, Bogdan-Andrei Iancu &lt;<a href="mailto:bogdan@voice-system.ro" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
bogdan@voice-system.ro</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;">
Hi Zoltán,<br><br>could you post the sip traffic (inbound and outbound) ? in what route<br>are you using the uac_restore_from() function?</blockquote><div><br>I&#39;m not sure that my logs contain all the sip traffic. Do they? As I can figure out, I use uac_restore_from in the route() function, in the INVITE part.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">anyhow, my advise is to upgrade to 1.2 version as in ~ 2 weeks the 1.3<br>will be release and 
1.1 will become unsupported version.</blockquote><div><br>OK, I&#39;ll try to upgrade it to 1.2. Do you think my configuration can be easily upgraded to 1.2?<br></div><br>Thank you for your help in advance!<br><br>Best regards, Zoltan
<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">regards,<br>bogdan<br><br>Zoltán Kovács wrote:<br>&gt; I found out that the uac_replace_from() function has a weird behaviour
<br>&gt; on my system. The same result occurs for all the three
<br>&gt; modparam(&quot;uac&quot;,&quot;from_restore_mode&quot;,...)&nbsp;&nbsp;settings (&quot;auto&quot;, &quot;none&quot;,<br>&gt; &quot;manual&quot;).<br>&gt;<br>&gt; 1) I cannot change the display or the URI part in FROM header.
<br>&gt; Whatever I do I&#39;ll get no change.<br>&gt; 2) If a inbound hidden call is coming from an inbound trunk (#31#...)<br>&gt; then uac_replace_from(&quot;XXX&quot;, &quot;sip:YYY&quot;) unhides the display and the
<br>
&gt; URI in FROM header --- however the displayed phone number will be<br>&gt; independent from XXX or YYY, it will be the original phone number of<br>&gt; the caller (XXX or YYY may be omitted, too). The text &quot;sip:&quot; cannot be
<br>&gt; omitted.<br>&gt;<br>&gt; I don&#39;t really have an idea what is going on here. Could you please<br>&gt; help? I&#39;m still using openser-1.1.0.<br>&gt;<br>&gt; Thank you in advance. Best regards, Zoltan<br>&gt;
<br>&gt; 2007/11/27, Zoltán Kovács &lt; <a href="mailto:kovzol@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">kovzol@gmail.com</a> &lt;mailto:<a href="mailto:kovzol@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
kovzol@gmail.com</a>&gt;&gt;:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Dear Colleagues,<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; first of all, thank you for the great software which is a very
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; nice and convenient way to build up a stable VoIP telephone<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; system! We already have a working system based on OpenSER and<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Asterisk.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; After many experiments I finally raise this question to you
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; because I cannot figure out the solution. The problem described on<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <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><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<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>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; seems to be very similar to mine.<br>&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; I am using openser-1.1.0-9etch1. I tried to replace the FROM<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; variable as follows:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; loadmodule &quot;uac.so&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; modparam(&quot;uac&quot;,&quot;from_restore_mode&quot;,&quot;auto&quot;)
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; route<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; avp_write(&quot;$fU&quot;, &quot;$avp(s:display)&quot;);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; avp_write(&quot;$fU&quot;, &quot;$avp(s:dispuri)&quot;);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; avp_subst(&quot;$avp(s:display)&quot;, &quot;/^36(.*)/06\1/&quot;);
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; avp_subst(&quot;$avp(s:dispuri)&quot;, &quot;/^36(.*)/sip:<a>06\1@datanet.hu/</a>&quot;);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; uac_replace_from(&quot;$avp(s:display)&quot;, &quot;$avp(s:dispuri)&quot;);
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Unfortunately nothing seems to happen: no change is made on<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; several VoIP telephones, including X-Lite as well. loose_route()<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; and record_route() were also used in my configuration. Could you
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; please help me what I am missing here? If needed, I can also send<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; a full config file.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Thank you in advance,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Zoltan Kovacs<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; sysadmin<br>&gt;<br>&gt;<br>&gt;
<br>&gt;<br>&gt; --<br>&gt; <a href="http://matek.hu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">matek.hu</a> &lt;<a href="http://matek.hu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://matek.hu</a>&gt; --- mert matekból érettségizni mindenkinek<br>&gt; kell...<br>&gt; ------------------------------------------------------------------------
<br>&gt;<br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; <a href="mailto:Users@lists.openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Users@lists.openser.org
</a><br>&gt; <a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>&gt;<br><br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://matek.hu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
matek.hu</a> --- mert matekból érettségizni mindenkinek kell...