Alex, you can't see from changes with xlog, you must debug it using another
tool.
Your uac_replace_from line seems to be fine.
To debug yourself try :
*tcpdump -i any -s0 -A -w /tmp/uac_replace.pkt port 5060*
And then open uac_replace.pkt file with wireshark.
or
*
ngrep -d any -qt -W byline port 5060*
and you can see sip messages
Cheers,
Gustavo
On Tue, Oct 28, 2008 at 12:39 PM, Alex R. S. M <alex_rsm(a)hotmail.com> wrote:
Here is part of my config file
xlog ("perl failed");
uac_replace_from("sip:8183740001@test.org <sip%3A8183740001(a)test.org>
");
xlog ("fu after perl: $fu");
The log shows no change is made to FROM field.
------------------------------
Date: Tue, 28 Oct 2008 12:15:03 -0200
From: gmistrinelli(a)gmail.com
To: alex_rsm(a)hotmail.com
Subject: Re: [Kamailio-Users] error when initilazing "uac.so"
CC: users(a)lists.kamailio.org
Hi Alex, where are you checking that?
If you are trying to debug using xlog messages you should use tcpdump or
ngrep to see sip packages.
Please post your uac_replace_from config line and logs.
Regards,
Gustavo
On Tue, Oct 28, 2008 at 12:03 PM, Alex R. S. M <alex_rsm(a)hotmail.com>wrote;wrote:
I was able to eleminate the error message by changing this value:
modparam("rr", "append_fromtag", 1)
However, "uac_replace_from" function does not change my FROM field.
Thanks,
Alex
------------------------------
From: alex_rsm(a)hotmail.com
To: users(a)lists.kamailio.org
Date: Tue, 28 Oct 2008 09:12:03 -0400
Subject: [Kamailio-Users] error when initilazing "uac.so"
Hi,
I added "uac.so" module to be able to use "uac_replace_from" but got
the
following error. I tried to initialized the module params I could think of.
I am wondering what I am missing .
Oct 28 08:58:01 lab-linux01 /sbin/kamailio[14014]: INFO:avpops:avpops_init:
initializing...
Oct 28 08:58:01 lab-linux01 /sbin/kamailio[14014]: INFO:uac:mod_init:
initializing...
Oct 28 08:58:01 lab-linux01 /sbin/kamailio[14014]: ERROR:uac:mod_init:
'append_fromtag' RR param is not enabled! - required by AUTO restore mode
Oct 28 08:58:01 lab-linux01 /sbin/kamailio[14014]: ERROR:core:init_mod:
failed to initialize module uac
Oct 28 08:58:01 lab-linux01 /sbin/kamailio[14014]: ERROR:core:main: error
while initializing modules
Thanks,
Alex
------------------------------
When your life is on the go—take your life with you. Try Windows Mobile(R)
today <http://clk.atdmt.com/MRT/go/115298558/direct/01/>
------------------------------
Want to read Hotmail messages in Outlook? The Wordsmiths show you how. Learn
Now<http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-…
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
--
Gustavo Mistrinelli
------------------------------
You live life beyond your PC. So now Windows goes beyond your PC. See
how<http://clk.atdmt.com/MRT/go/115298556/direct/01/>