Thanks Ryan Pagquil.
But could you give us details steps?
How to do it?
Ser and Radius, how to make them to work together?
----- Original Message -----
From: "Ryan Pagquil" <rpagquil(a)philonline.com>
To: "hlzhangxt" <hlzhangxt(a)yeah.net>; <serusers(a)iptel.org>
Sent: Monday, May 29, 2006 9:53 AM
Subject: Re: [Serusers] How to get detailed CDR ?
>
> Hi,
> I used is radius for my CDR's. It is more easier to
> understand than using the acc try using radius accounting module.
> I'm using FreeRadius and SER-0.9.4..
>
> Regards,
> Ryan
>
> At 07:47 PM 5/27/2006, hlzhangxt wrote:
> >I run SER, and Ser load acc module.
> >
> >When a session finished, I open database table "acc", I find It
> >records the "INVITE" time and "ACK" time.
> >But I dose not record the "BYE" time.
> >I can not get the call duration time.
> >
> >Who would like to help me ? How to get detailed CDR? Especially the
> >media stream starting time and finishing time?
> >_______________________________________________
> >Serusers mailing list
> >Serusers(a)lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
I run SER, and Ser load acc module.
When a session finished, I open database table "acc", I find It records the "INVITE" time and "ACK" time.
But I dose not record the "BYE" time.
I can not get the call duration time.
Who would like to help me ? How to get detailed CDR? Especially the media stream starting time and finishing time?
Hi all,
I'm new to openser and currently encountered problems. I've changed openser.cfg to support mysql. After that I restart openser using openserctl restart and openser wont start again. It gives me this error:
Starting OpenSER : PID file /var/run/openser.pid does not exist -- OpenSER start failed
When I type openserctl ps it gives me this error:
Error opening openser's FIFO /tmp/openser_fifo
Make sure you have line fifo=/tmp/openser_fifo in your config
Funny thing is that in my openser.cfg has this line.
This is what I got from tail -f /var/log/messages:
tail -f /var/log/messages
May 27 00:21:56 local /usr/local/sbin/openser[11914]: INFO: signal 15 received
May 27 00:21:56 local /usr/local/sbin/openser[11915]: INFO: signal 15 received
May 27 00:21:56 local /usr/local/sbin/openser[11920]: INFO: signal 15 received
May 27 00:21:56 local /usr/local/sbin/openser[11906]: INFO: signal 15 received
May 27 00:22:03 local /usr/local/sbin/openser[11975]: Maxfwd module- initializing
May 27 00:22:03 local /usr/local/sbin/openser[11975]: AUTH module - initializing
May 27 00:22:03 local /usr/local/sbin/openser[11975]: AUTH_DB module - initializing
May 27 00:22:03 local /usr/local/sbin/openser[11975]: INFO: udp_init: SO_RCVBUF is initially 107520
May 27 00:22:03 local /usr/local/sbin/openser[11975]: INFO: udp_init: SO_RCVBUF is finally 262142
May 27 00:22:03 local /usr/local/sbin/openser[11975]: ERROR: udp_init: bind(5, 0x81303fc, 16) on 70.189.13.96: Cannot assign requested address
Here is my openser.cfg
Sorry for the long post. Please help me out here. Thank you.
#
# $Id: openser.cfg,v 1.5 2005/10/28 19:45:33 bogdan_iancu Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode
fork=no
log_stderror=yes
*/
listen=70.189.13.96 # put your server IP address here
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/openser_fifo"
fifo_db_url="mysql://openser:openserrw@localhost/openser"
loadmodule "/usr/local/lib/openser/modules/mysql.so"
loadmodule "/usr/local/lib/openser/modules/sl.so"
loadmodule "/usr/local/lib/openser/modules/tm.so"
loadmodule "/usr/local/lib/openser/modules/rr.so"
loadmodule "/usr/local/lib/openser/modules/maxfwd.so"
loadmodule "/usr/local/lib/openser/modules/usrloc.so"
loadmodule "/usr/local/lib/openser/modules/registrar.so"
loadmodule "/usr/local/lib/openser/modules/uri_db.so"
loadmodule "/usr/local/lib/openser/modules/auth.so"
loadmodule "/usr/local/lib/openser/modules/auth_db.so"
modparam("auth_db|usrloc", "db_url", "mysql://openser:openserrw@localhost/openser")
modparam("auth_db", "calculate_ha1", 1)
modparam("auth_db", "password_column", "password")
modparam("usrloc", "db_mode", 2)
modparam("rr", "enable_full_lr", 1)
route {
# -----------------------------------------------------------------
# Sanity Check Section
# -----------------------------------------------------------------
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
exit;
};
if (msg:len > max_len) {
sl_send_reply("513", "Message Overflow");
exit;
};
# -----------------------------------------------------------------
# Record Route Section
# -----------------------------------------------------------------
if (method!="REGISTER") {
record_route();
};
# -----------------------------------------------------------------
# Loose Route Section
# -----------------------------------------------------------------
if (loose_route()) {
route(1);
};
# -----------------------------------------------------------------
# Call Type Processing Section
# -----------------------------------------------------------------
if (uri!=myself) {
route(1);
return;
};
if (method=="INVITE") {
route(3);
return;
} else if (method=="REGISTER") {
route(2);
return;
};
lookup("aliases");
if (uri!=myself) {
route(1);
return;
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
return;
};
route(1);
}
route[1] {
# -----------------------------------------------------------------
# Default Message Handler
# -----------------------------------------------------------------
if (!t_relay()) {
sl_reply_error();
};
}
route[2] {
# -----------------------------------------------------------------
# REGISTER Message Handler
# ----------------------------------------------------------------
sl_send_reply("100", "Trying");
if (!www_authorize("strain15.myftp.org","subscriber")) {
www_challenge("strain15.myftp.org","0");
exit;
};
if (!check_to()) {
sl_send_reply("401", "Unauthorized");
return;
};
consume_credentials();
if (!save("location")) {
sl_reply_error();
};
}
route[3] {
# -----------------------------------------------------------------
# INVITE Message Handler
# -----------------------------------------------------------------
if (!proxy_authorize("","subscriber")) {
proxy_challenge("","0");
return;
} else if (!check_from()) {
sl_send_reply("403", "Use From=ID");
return;
};
consume_credentials();
lookup("aliases");
if (uri!=myself) {
route(1);
};
if (!lookup("location")) {
sl_send_reply("404", "User Not Found");
exit;
};
route(1);
}
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi,
I'm trying to have more informtion a bout silomail module in SER.
I have added it in SER-2.8.14 but I didn't know how can I test it.(ser.cfg)
Can I test that it work using local send mail; just I would be
sure that this module is installed successfully.
Thanks.
Hi,
I have installed SER witch is runnig fine, but now I'm trying to implement
voicemail, but I don't understand who to do it because the information Im see
its ambiguous. I tried to follow the instructions at this URL:
http://www.iptel.org/ser/doc/prerelease/x1294.html
where it says that I must edit Ser's Makefile.defs file and uncomment the line
with '-DVOICE_MAIL' and '-D_TOTAG', but when I search those lines in that
file, I cant find it! To overcome that problem, I included that flags in the
makefile and then compiled again SER, however I couldnt compile the voicemail
application like it instructs in that webpage because there is no ~/voicemail
directory!!
Is this guide too old that voicemail installation is no longer done this way? Or
what have I done wrong?
Im using ser-0.9.0, however in the latest release 0.9.6, Ive seen that its
Makefile.defs hasnt also those flags to uncomment!!
Best regards,
Ricardo.
Hi Users..
I have problem in openser while I doing the accounting module.
In that while I started the openser server its gives as
" load_module : can't open module < /usr/local/lib/openser/module/acc.so> :
libradiusclient-ng.so.2: can't open shared odject file : no file or
directory "
And " parse error fail to load "
And also in enter the LD_LIBRARY_DIR in env. varible .
please solve my issue
bye..
--
Thanks and Regards with cheers
Sunkara Ravi Prakash (Voip Developer)
Hyperion Technology
www.hyperion-tech.com
<b>
Yes you do. RTP (for voice and video) protocol normally uses ports
8000 for media transfer and 8001 for media control. If you are using
X-lite, then port 8000 is used definitely. A client like eyeBeam, may
choose from range of ports (i dont really know which exactly, but I
always see ports in the range of 6000-7000). And Skype, for instance,
can use ANY port available.
Anyway, you can monitor ports <= 1024 and open the rest. Those are
well known and they are the target. There are some ports > 1024 that
Windows uses for it's services and you might want to find our what
those (because, i dont really know :) are and monitor them as well.
Good luck.
On 5/23/06, Americania .it <americania(a)hotmail.com> wrote:
> Hi,
> I can' hear any voice when I call from a pc outside the Lan where ser is
> installed (I've got a router-firewall): I've port 5060 UDP/TCP forwarded to
> my ser server .
> Do I have to open other ports ?
>
> Thanks
>
>
> _______________________________________________
> Serusers mailing list
> Serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
I just performed a cvs update of my 0.9.6 system. make proper, make
clean both completed OK. make and make install produced a number of
errors like the following. It is not clear what is producing these
errors. Has anyone experienced this issue? If so do you have any idea
what might be causing this type of error?
Thanks,Steve
make:
$ sudo make
Makefile.rules:84: action.d: No such file or directory
Makefile.rules:84: crc.d: No such file or directory
Makefile.rules:84: daemonize.d: No such file or directory
Makefile.rules:84: data_lump.d: No such file or directory
Makefile.rules:84: data_lump_rpl.d: No such file or directory
Makefile.rules:84: dprint.d: No such file or directory
Makefile.rules:84: dset.d: No such file or directory
Makefile.rules:84: error.d: No such file or directory
Makefile.rules:84: fifo_server.d: No such file or directory
Makefile.rules:84: flags.d: No such file or directory
Makefile.rules:84: forward.d: No such file or directory
Makefile.rules:84: hash_func.d: No such file or directory
Makefile.rules:84: ip_addr.d: No such file or directory
Makefile.rules:84: main.d: No such file or directory
Makefile.rules:84: md5.d: No such file or directory
Makefile.rules:84: md5utils.d: No such file or directory
Makefile.rules:84: modparam.d: No such file or directory
Makefile.rules:84: msg_translator.d: No such file or directory
Makefile.rules:84: pass_fd.d: No such file or directory
Makefile.rules:84: proxy.d: No such file or directory
Makefile.rules:84: qvalue.d: No such file or directory
Makefile.rules:84: re.d: No such file or directory
Makefile.rules:84: receive.d: No such file or directory
Makefile.rules:84: resolve.d: No such file or directory
Makefile.rules:84: route.d: No such file or directory
Makefile.rules:84: route_struct.d: No such file or directory
Makefile.rules:84: script_cb.d: No such file or directory
Makefile.rules:84: socket_info.d: No such file or directory
Makefile.rules:84: sr_module.d: No such file or directory
Makefile.rules:84: stats.d: No such file or directory
Makefile.rules:84: tcp_main.d: No such file or directory
Makefile.rules:84: tcp_read.d: No such file or directory
Makefile.rules:84: timer.d: No such file or directory
Makefile.rules:84: tsend.d: No such file or directory
Makefile.rules:84: udp_server.d: No such file or directory
Makefile.rules:84: unixsock_server.d: No such file or directory
Makefile.rules:84: usr_avp.d: No such file or directory
Makefile.rules:84: mem/f_malloc.d: No such file or directory
Makefile.rules:84: mem/mem.d: No such file or directory
Makefile.rules:84: mem/memtest.d: No such file or directory
Makefile.rules:84: mem/q_malloc.d: No such file or directory
Makefile.rules:84: mem/shm_mem.d: No such file or directory
Makefile.rules:84: mem/vq_malloc.d: No such file or directory
Makefile.rules:84: parser/hf.d: No such file or directory
Makefile.rules:84: parser/msg_parser.d: No such file or directory
Makefile.rules:84: parser/parse_allow.d: No such file or directory
Makefile.rules:84: parser/parse_content.d: No such file or directory
Makefile.rules:84: parser/parse_cseq.d: No such file or directory
Makefile.rules:84: parser/parse_disposition.d: No such file or directory
Makefile.rules:84: parser/parse_diversion.d: No such file or directory
Makefile.rules:84: parser/parse_event.d: No such file or directory
Makefile.rules:84: parser/parse_expires.d: No such file or directory
Makefile.rules:84: parser/parse_fline.d: No such file or directory
Makefile.rules:84: parser/parse_from.d: No such file or directory
Makefile.rules:84: parser/parse_hname2.d: No such file or directory
Makefile.rules:84: parser/parse_hostport.d: No such file or directory
Makefile.rules:84: parser/parse_methods.d: No such file or directory
Makefile.rules:84: parser/parse_nameaddr.d: No such file or directory
Makefile.rules:84: parser/parse_param.d: No such file or directory
Makefile.rules:84: parser/parser_f.d: No such file or directory
Makefile.rules:84: parser/parse_rpid.d: No such file or directory
Makefile.rules:84: parser/parse_rr.d: No such file or directory
Makefile.rules:84: parser/parse_sipifmatch.d: No such file or directory
Makefile.rules:84: parser/parse_to.d: No such file or directory
Makefile.rules:84: parser/parse_uri.d: No such file or directory
Makefile.rules:84: parser/parse_via.d: No such file or directory
Makefile.rules:84: parser/digest/digest.d: No such file or directory
Makefile.rules:84: parser/digest/digest_parser.d: No such file or directory
Makefile.rules:84: parser/digest/param_parser.d: No such file or directory
Makefile.rules:84: parser/contact/contact.d: No such file or directory
Makefile.rules:84: parser/contact/parse_contact.d: No such file or directory
Makefile.rules:84: db/db.d: No such file or directory
Makefile.rules:84: db/db_fifo.d: No such file or directory
Makefile.rules:84: lex.yy.d: No such file or directory
Makefile.rules:84: cfg.tab.d: No such file or directory
make install:
make[1]: Entering directory `/usr/sip_router/modules/tm'
../../Makefile.rules:84: callid.d: No such file or directory
../../Makefile.rules:84: dlg.d: No such file or directory
../../Makefile.rules:84: h_table.d: No such file or directory
../../Makefile.rules:84: lock.d: No such file or directory
../../Makefile.rules:84: sip_msg.d: No such file or directory
../../Makefile.rules:84: t_cancel.d: No such file or directory
../../Makefile.rules:84: t_dlg.d: No such file or directory
../../Makefile.rules:84: test.d: No such file or directory
../../Makefile.rules:84: t_fifo.d: No such file or directory
../../Makefile.rules:84: t_funcs.d: No such file or directory
../../Makefile.rules:84: t_fwd.d: No such file or directory
../../Makefile.rules:84: t_hooks.d: No such file or directory
../../Makefile.rules:84: timer.d: No such file or directory
../../Makefile.rules:84: t_lookup.d: No such file or directory
../../Makefile.rules:84: tm.d: No such file or directory
../../Makefile.rules:84: tm_load.d: No such file or directory
../../Makefile.rules:84: t_msgbuilder.d: No such file or directory
../../Makefile.rules:84: t_reply.d: No such file or directory
../../Makefile.rules:84: t_st
Hi to all
I'm using ser software sip proxy server, with micronet ipphone as UA, I
want to send calls behind NAT router ,knowing that my UA is behind the NAT
,But the proxy server is in same host with the NAT DEVICE(same ip
address), all the UA using uotbound proxy & did n't support STUN.
can you help me.
waiting for your reply
salma
VOIP Administrator
University of Khartoum
Sudan
Hi,
My company has deployed SER on a very large scale across
the US and I would like to develop a way to monitor critical
parts of SER and the servers that SER runs on.
I have several questions regarding monitoring SER.
1. Can SER be SNMP enabled via something like SMUX or AgentX from net-snmp?
2. Does SER have any native SNMP support or other monitoring/logging hooks
built in?
3. Do any mibs exist for SER / SIP?
4. I am also still trying to find out if SER has anyway to detect when
a user looses registration either via SER internals or external watchdog
scripts etc.
Thanks
David