Alex, you can&#39;t see from changes with xlog, you must debug it using another tool.<br>Your uac_replace_from line seems to be fine.<br>To debug yourself try : <br><br><b>tcpdump -i any -s0 -A -w /tmp/uac_replace.pkt port 5060</b><br>
And then open uac_replace.pkt file with wireshark.<br><br>or<br><b><span class="nfakPe"><br>ngrep</span> -d any -qt -W byline port 5060</b><br>and you can see sip messages <br><br>Cheers,<br>Gustavo<br>
<div class="gmail_quote">On Tue, Oct 28, 2008 at 12:39 PM, Alex R. S. M <span dir="ltr">&lt;<a href="mailto:alex_rsm@hotmail.com" target="_blank">alex_rsm@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div>
Here is part of my config file<br><br>&nbsp;&nbsp;&nbsp;&nbsp; xlog (&quot;perl failed&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp; uac_replace_from(&quot;<a href="mailto:sip%3A8183740001@test.org" target="_blank">sip:8183740001@test.org</a>&quot;);<br>&nbsp;&nbsp;&nbsp; xlog (&quot;fu after perl: $fu&quot;);<br>

<br>The log shows no change is made to FROM field.<br><br><br><hr>Date: Tue, 28 Oct 2008 12:15:03 -0200<br>From: <a href="mailto:gmistrinelli@gmail.com" target="_blank">gmistrinelli@gmail.com</a><br>To: <a href="mailto:alex_rsm@hotmail.com" target="_blank">alex_rsm@hotmail.com</a><br>

Subject: Re: [Kamailio-Users] error when initilazing &quot;uac.so&quot;<br>CC: <a href="mailto:users@lists.kamailio.org" target="_blank">users@lists.kamailio.org</a><div><div></div><div><br><br>Hi Alex, where are you checking that? <br>

If you are trying to debug using xlog messages you should use tcpdump or ngrep to see sip packages.<br>Please post your uac_replace_from config line and logs.<br><br>Regards,<br><br>
Gustavo<br><br><div>On Tue, Oct 28, 2008 at 12:03 PM, Alex R. S. M <span dir="ltr">&lt;<a href="mailto:alex_rsm@hotmail.com" target="_blank">alex_rsm@hotmail.com</a>&gt;</span> wrote:<br><blockquote style="padding-left: 1ex;">






<div>
I was able to eleminate the error message by changing this value:<br><br>modparam(&quot;rr&quot;, &quot;append_fromtag&quot;, 1)<br><br>However, &quot;uac_replace_from&quot; function does not change my FROM field.<br><br>


Thanks,<br>Alex<br><br><hr>From: <a href="mailto:alex_rsm@hotmail.com" target="_blank">alex_rsm@hotmail.com</a><br>To: <a href="mailto:users@lists.kamailio.org" target="_blank">users@lists.kamailio.org</a><br>Date: Tue, 28 Oct 2008 09:12:03 -0400<br>


Subject: [Kamailio-Users] error when initilazing &quot;uac.so&quot;<div><div></div><div><br><br>






Hi,<br><br>I added &quot;uac.so&quot; module to be able to use &quot;uac_replace_from&quot; but got the following error. I tried to initialized the module params I could think of. I am wondering what I am missing .<br><br>


<br>Oct 28 08:58:01 lab-linux01 /sbin/kamailio[14014]: INFO:avpops:avpops_init: initializing... <br>Oct 28 08:58:01 lab-linux01 /sbin/kamailio[14014]: INFO:uac:mod_init: initializing... <br>Oct 28 08:58:01 lab-linux01 /sbin/kamailio[14014]: ERROR:uac:mod_init: &#39;append_fromtag&#39; RR param is not enabled! - required by AUTO restore mode <br>


Oct 28 08:58:01 lab-linux01 /sbin/kamailio[14014]: ERROR:core:init_mod: failed to initialize module uac <br>Oct 28 08:58:01 lab-linux01 /sbin/kamailio[14014]: ERROR:core:main: error while initializing modules <br><br><br>


Thanks,<br>Alex<br><br><hr>When your life is on the go—take your life with you. <a href="http://clk.atdmt.com/MRT/go/115298558/direct/01/" target="_blank">Try Windows Mobile&reg; today</a>
<br></div></div><div><hr>Want to read Hotmail messages in Outlook? The Wordsmiths show you how. <a href="http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns%2120EE04FBC541789%21167.entry?ocid=TXT_TAGLM_WL_hotmail_092008" target="_blank">Learn Now</a></div>


</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Gustavo Mistrinelli<br>
<br></div></div><hr>You live life beyond your PC. So now Windows goes beyond your PC. <a href="http://clk.atdmt.com/MRT/go/115298556/direct/01/" target="_blank">See how</a></div>
</blockquote></div><br><br clear="all"><br>-- <br>Gustavo Mistrinelli<br>