It is not documented. But lookint at the source code
(modules/acc/acc_mod.c) shows that the parameter is called "db_table_acc".
regards
klaus
Nelson Silva wrote:
> Anyone knows how to change the table for the acc logging ?
>
> Have been searching the accouting module but can't seem to find a way to
> change the table.
>
> The default table used is 'acc' i would like to change to another one.
>
> if anyone knows how to, a help would be apreciate it.
>
>
> Nelson Silva
> -----------------
> email: nelson.silva(a)neuvex.com
> website: http://www.neuvex.com
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
Is there any way to run mediaproxy.py an make it listen on various ip
adresses of a machine
Thanks
Fernando Rodriguez V.
frod(a)aitelecom.net
AITelecom S.A. de C.V.
http://www.aitelecom.net
Dear Zhangshuai,
I'm sure there is no such file under my path.in fact it seems that it didn't create that file at all.
Is it the problem of radiusclient library?I have installed radiusclient-0.4.9 and it has some errors when compling:
authrad_mod.c:51:31: radiusclient-ng.h: 没有那个文件或目录(no such file or directory)
Maybe I need use radiusclient-ng?
-----原始邮件-----
发件人:"zhangshuai"
发送时间:2005-10-11 18:06:35
收件人:"serusers"
抄送:(无)
主题:Re: [Serusers] help:I can't build auth_radius module
Dear shikun.wang,
There are no such module file under your path: /usr/local/lib/ser/modules/ ?
hi,
I have install radiusclient-0.3.2,and comment the related exclude modules in the main Makefile.But when I build the whole SER,it outputs something as follows:
...
make[1]: Entering directory `/usr/local/src/ser-0.9.3/modules/auth_radius'
make[1]: Leaving directory `/usr/local/src/ser-0.9.3/modules/auth_radius'
make[1]: Entering directory `/usr/local/src/ser-0.9.3/modules/auth_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/include -c authorize.c -o authorize.o
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.9.3"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/include -c authrad_mod.c -o authrad_mod.o
make[1]: Leaving directory `/usr/local/src/ser-0.9.3/modules/auth_radius'
...
It does NOT create an auth_radius.so file.
Can anyone help me with some instructions?Thank you.
Hi,
Did you include the modules into the SER Makefile?
Check for :
exclude_modules?=
and remove the auth_radius, acc_radius from it..
Regards,
Ricardo.-
-----Mensaje original-----
De: shikun.wang [mailto:shikun.wang@163.com]
Enviado el: Lunes, 10 de Octubre de 2005 23:55
Para: serusers(a)lists.iptel.org
Asunto: [Serusers] how to add the auth_radius module into SER
Hi,all
I want to make my ser support radius accounting,so I add:
loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
loadmodule "/usr/local/lib/ser/modules/acc.so"
into my ser.cfg,and uncomment
DEFS+=-DRAD_ACC
LIBS=-L$(LOCALBASE)/lib -lradiusclient
in modules/acc/Makefile.
But after I make the whole SER and find no auth_radius.so file under
/usr/local/lib/ser/modules,neither can I start the SER for it can't load
this module.
Is there any thing I have not set?
Any ideas?Thank you.:)
需 要 一 个 <http://www.126.com> 2000 兆 的 免 费 邮 箱 吗 ?
网易免费邮箱是中国最多人使用的电子邮箱。
Dear list,
I'm trying to implement registration replication between 2 SERs (ver. 0.9.4,
they are AA behind an F5 BigIP). Both SERs are using the same mysql database
and mediaproxy is used for RTP relaying (whenever needed). The basis for my
configuration is the mediaproxy config from onsip.org (excellent work, many
thanx guys).
My servers are 10.21.128.232 and 10.21.128.233. I'm using forward_tcp and
save_memory for replication purposes, as can be seen in the following
registration route block:
route[2] {
# -----------------------------------------------------------------
# REGISTER Message Handler
# ----------------------------------------------------------------
sl_send_reply("100", "Trying");
if(src_ip==10.21.128.233) {
# If it is a forward from our brother then...
if (client_nat_test("3")) {
# check if the user is NATed
setflag(6);
fix_nated_register();
force_rport();
};
save_memory("location");
break;
} else {
if (!search("^Contact:[ ]*\*") && client_nat_test("7")) {
setflag(6);
fix_nated_register();
force_rport();
};
if (!radius_www_authorize("domain.com")) {
www_challenge("domain.com","0");
xlog("L_NOTICE","Could not authorize user %fu, IP %is \n");
break;
};
if (!check_to()) {
sl_send_reply("401", "Unauthorized");
xlog("L_NOTICE","From: does not match URI:, user %fu, IP %is \n");
break;
};
consume_credentials();
if (!save("location")) {
xlog("L_WARN","MYSQL down? Could not save location\n");
sl_reply_error();
};
xlog("L_INFO","Updating registration for user %fu, IP %is \n");
add_rcv_param();
if (!forward_tcp("10.21.128.233", 5060)) {
xlog("L_WARN","Cannot replicate user %fu at server 10.21.128.233\n");
};
};
}
When performing a "serctl ul show" on the servers, the results are as follows:
1) For UAs coming from real IPs, serctl shows identical results on both
servers.
2) For NATed UAs there is difference in the "Flags:" field.
On the server that initialy proccessed the request, the value of the "Flags"
is 1 (OK!), while on the server that the registration was forwarded, the
value of the "Flags" field is 257(??).
My impression is that the Flags field should be 1 if a UA is NATed and 0 if
not. Am I wrong?
If I'm right on the above, then shouldn't both servers show the same result in
Flags (i.e. 1) for NATed clients?
On the other hand, if I restart SER (and the contacts are read from the
database), then every "weird" 257 Flag is reset to 1, until the next UA
re-registration (where it returns again to 257).
Thanx for any help,
George.
Hi Nhadie,
Yes... you can use it for instant messaging. eyeBeam is in my opinion the
best featured SIP client ever. It can do voice, video, instant messaging,
presence, conferencing etc... and all standard SIP. Note that the eyeBeam is
the commercial version and Xlite is free. And with Xlite you cannot do
anything else than voice.
- Teemu
2005/10/11, Nhadie <nhadie(a)cbcpworld.com>:
>
>
> Hi Teemu,
>
> Are you saying you can use eyebeam afor instant messagin? i thought it
> was just for calling.
>
> Regards,
> Nhadie
>
> > Hi,
> >
> > I've been configuring msilo for offline messaging and I've faced few
> > problems.
> >
> > First... I use Xten (or now Counterpath) Eyebeam and each time user
> > starts to type an instant message it sends a SIP MESSAGE with
> > Content-Type: application/im-iscomposing+xml and msilo naturally
> > stores this message also. I tried to prevent this with the following
> > configuration but it didn't work..
> >
> > if (search("Content-Type: application/im-iscomposing+xml")) {
> >
> > #
> > # Do not store composing MESSAGEs
> > #
> > } else {
> >
> > #
> > # Store offline message
> > #
> > }
> >
> > Or course this is done only for method=="MESSAGE"... Can you see why
> > this is not working?
> >
> > Second... Is there a way to make the reply to the offline message
> > appear to be coming from the user that it was sent to? I mean you can
> > configure msilo to reply for example with user
> > registrar(a)myserproxy.com <mailto:registrar@myserproxy.com>, but that
> > opens a new IM window for the user so it's not that good.
> >
> > Thanks in advance...
> > --
> > Teemu Harju
> > http://www.teemuharju.net
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Serusers mailing list
> >serusers(a)lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
>
>
> --
> ---------------------------- ------ |
> -- Computers are like Air Conditioners, |
> ------ It doesn't work when Windows are open! |
> ---------------------------- ------ |
>
>
>
--
Teemu Harju
http://www.teemuharju.net