Answers:
First: read the README for the source of the module. It has the variables
listed in it. It can be found here:
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/xlog/READM…
Second: You can write the line in the ser.cfg anywhere you want the logging
to occur.
i.e.
xlog("L_ALERT", "LOG: %ct trying to register using %ua as UA");
or...
xlog("L_ALERT","Login failed for %fu\n");
etc, etc. Anywhere you want to log some bit of information.
Third:
Depends on the log level and what your system has configured for that log
level. Check /var/log/messages as a starting point.
Fourth:
xlog.so is a compiled module (written in C). If you're having to ask why it's
a bunch of binary code, it's a good bet you shouldn't be touching it OR the
source. ;)
N.
On Mon, 25 Sep 2006 11:05:37 +0200, Legos Engineering wrote
Hello,
I am a student and i do a workplacement. So i must work on the VOIP,
but ihave no experience in.
I would like know thank to a log, when an user connect/disconnect his
user ugent.
I know that i must use xlog, but i'm lost for many reasons.
The first : Idon't know variables i must use to do what i want.
The second : I don't know where i must write the line in ser.cfg to have
this log.
The third : Where is the log generated by xlog, and if there isn't
one, how i can create this log.
The fourth : If i must write something in xlog.so, how open it. Because
when i open it with VI or NANO there is only encrypted data.
THX to help me.
If you can answer on my mail : sylvain.nigen(a)legos.fr, because it's
easier ton know if i have an answer than to search the answer on SER
USER.
THANKS
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers