Can anyone give me a realistic test case for measuring SER performance? I've
been using sipsak to stress my SER server but am not able to interpret the
result.
Here are some sipsak were run:
[siptest@sipuat siptest]$ sipsak -U -I -e 10000 -s sip:40@mysip.test -r 5060
-n 800 -z -vv
[siptest@sipuat siptest]$ sipsak -U -I -e 50000 -s sip:30@mysip.test -r 5060
-n 2 -z -vv
[siptest@sipuat siptest]$ sipsak -U -I -e 10000 -s sip:40@mysip.test -r 5060
-n 150 -z -vv
[siptest@sipuat siptest]$ sipsak -U -I -e 10000 -s sip:40@mysip.test -r 5060
-n 50 -z -vv
One of the result as follow:
All usrloc tests completed successful.
received last message 109125.023 ms after first request (test duration).
biggest delay between request and response was 46082.422 ms
10 retransmission(s) received from server.
9 time(s) the timeout of 5000 ms exceeded and request was retransmitted.
I guess a delay of 46s (46082.422ms) is definitely not acceptable. What
should I set for -n to be comparable to real world traffic.
And what kind of result should I expect.
Side issue:
During my stress test, I experience the same problem Andres reported last
Nov.
udp_rcv_loop:recvfrom:[11] Resource temporarily unavailable
After I modify some kernel (Fedora Core 1, Linux 2.4.22) parameters, the
problem seems to go away. Anyone happy to prove the case?
# echo "8388608" > /proc/sys/net/core/rmem_max
# echo "8388608" > /proc/sys/net/core/wmem_max
# echo "8388608" > /proc/sys/net/core/rmem_default
# echo "8388608" > /proc/sys/net/core/wmem_default
Zeus
**********************************************************************
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, you are prohibited from reading,
copying, distributing and using the information. Please contact the sender
immediately by return email and destroy the original message.
******************************************************************
Is anybody here experienced with Asterisk server and what is you experience? What pluses and minuses for SIP from IPTEL and from Asterisk?
Thanks,
Eugene.
Greetings,
I'm a new SER user trying to set up a very basic SER configuration with a proxy server and two SIP clients. I'm running SER on RedHat Linux 7.3 and a pair of MSN 4.6 clients.
I have set up SER with MySQL and digest authentication support (see of of message for ser.cfg) and added a handful of normal users to the ser MySQL db using serctl.
The two clients can sign on and communicate with each other. However, the weirdness started after I added each client to the other's buddy list. Even though both users are online and could IM each other, only one of the users were shown as online on the other user's buddy list. The factor that determines which client is visible in a buddy list seems to be the order in which the users sign on.
Another issues is that a non-existent user can login. That is, a user that does not have any entry in the ser MySQL database can still login and communicate with other users online. How do you enforce authentication?
I'd also be happy to learn of any alternatives to MSN that run on either Windows of GNU/Linux.
Any help you can provide would be appreciated. Thanks in advance.
Best Regards,
Chris B.
P.S. - I did search the serusers archive using Google and it seemed that a similar question had been brought up in the past, but I found no answer. My apologies if I was too hasty in my search of the archives.
--- ser.cfg ---
#
# $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei 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
debug=7
fork=no
log_stderror=yes
*/
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
#port=5060
#children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/lib/ser/modules/mysql.so"
loadmodule "/usr/lib/ser/modules/sl.so"
loadmodule "/usr/lib/ser/modules/tm.so"
loadmodule "/usr/lib/ser/modules/rr.so"
loadmodule "/usr/lib/ser/modules/maxfwd.so"
loadmodule "/usr/lib/ser/modules/usrloc.so"
loadmodule "/usr/lib/ser/modules/registrar.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/lib/ser/modules/auth.so"
loadmodule "/usr/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
modparam("auth_db", "password_column", "password")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if ( msg:len > max_len ) {
sl_send_reply("513", "Message too big");
break;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
record_route();
# loose-route processing
if (loose_route()) {
t_relay();
break;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri=~"team3") {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("team3", "subscriber")) {
www_challenge("team3", "0");
break;
};
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# forward to current uri now; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
if (!t_relay()) {
sl_reply_error();
};
}
for those who are not aware of our presence at VoN -- I will be there
from Tuesday to Thursday. If you wish to meet and haven't arranged
a meeting, drop me an email.
Among other things, I will be introducing our latest achievement,
Application Agent, on Tuesday. (www.iptel.org/aa/) That's next
generation of our SIP servers which allows extremelly rapid service
programming. It is available under a commercial license.
-jiri
--
Jiri Kuthan http://iptel.org/~jiri/
sems and the isdngw.so works like a dream!
check the plugin dir for isdngw there is a GOOD example there!
and.. I know it works with BRI cards, Have'nt tested it with PRI cards
- Atle
* gaillac harry <gaillacharry(a)yahoo.fr> [040327 15:37]:
> hello,
>
> here is my problem.I just would like to build a sip/pstn gateway based
> on ser and sems.
> I recompiled sems in order to get only isdngw.so plug-in (look at my
> rpm). Does isdngw plugin support BRI PRI ISDN cards?
>
> Anybody could send me back a ser.cfg file example? I don't need IVR,vm,
> just isdngw.
> I just need to configure my gateway to receive calls from pstn to sip
> server or forward calls from sip server to pstn.
>
> Best regards
>
> Harry
>
>
> _______________________________________________
> Sems mailing list
> sems(a)lists.iptel.org
> http://lists.iptel.org/cgi-bin/mailman/listinfo/sems
>
Hi all,
I've configured a local SER on our network, and I met some difficulties with
multiple Contacts.
When UA1 changes IP address, and REGISTER in SER to announce his new IP,
both last and New Contacts are placed in Location table, with different
'expires' values. If UA2 receives last UA1 IP address, and REGISTER with it,
calling UA1 from UA3 when both Contact still available, makes UA2 ringing,
which cause some confusion.
To overcome about this, I'm searching for a way to force SER to delete an
"old Contact" when a Registration is done with same URI and different IP;
That way, only one Contact for one URI is available. I've tried to add
modparam("registrar", "append_branches", 0) in ser.cfg, but in this case,
Contact with lowest 'expires' parameter is called, and not Contact with
highest one, still causing confusion fo IP calls.
Could anyone tell me how to force a Contact to be deleted in SER location
table, in case of registration with new Contact?
Thanks for your support.
Regards.
Marc
Hi all,
I need some help with CVS and sipsak sources. I'm trying to update or just checkout the latest sipsak source tree. I've never used CVS before. I'm running it and building sipsak on a Fedora Core 1 box. I'm following the Berlios.org instructions:
cvs -d:pserver:anonymous@cvs.sipsak.berlios.de:/cvsroot/sipsak login
cvs -z3 -d:pserver:anonymous@cvs.sipsak.berlios.de:/cvsroot/sipsak co auth.c
I get the following error:
cvs server: cannot find module `auth.c' - ignored
cvs [checkout aborted]: cannot expand modules
What am I doing wrong?
Thanks,
Paul
Hi John!
yes. ser can generate CDR by using the acc (accounting) module.
please send your emails also to the list.
regards,
klaus
send the mails to the list
John LI wrote:
> Hi Klaus,
>
> Is there any place to get the Call Detail information in the Ser system?
>
> Thanks
>
> John
>
> ----- Original Message -----
> From: "Klaus Darilion" <klaus.mailinglists(a)pernau.at>
> To: "John LI" <john(a)signalc.com>
> Cc: "Serusers" <serusers(a)lists.iptel.org>
> Sent: Friday, March 26, 2004 4:36 AM
> Subject: Re: [Serusers] The problem when enable the MySql
>
>
>
>>Hi John!
>>
>>comments inline
>>
>>PS: Please always cc: to the list.
>>
>>John LI wrote:
>>
>>
>>>Hi Klaus,
>>>
>>>Thanks for your instaruction, after I do all those steps, the Ser with
>
> the
>
>>>Digest creditial works fine now.
>>>
>>>My Questions is, after I complile and installed the ser, is the Ser
>
> database
>
>>>installed?
>>
>>No, the ser database is not installed by "make install". You have to use
>>the ser_mysql.sh script to create the database.
>>
>>
>>>Need I to use the serctl create to create the database ser
>>>database again(from my practice, the Ser DB has been setup after all
>
> those
>
>>>steps), need I to install the ser-mysql-0.8.12-0 RPM package again?
>>
>>Once you have created the databse, you inly have to re-create it, if you
>>are using a new version of ser which uses a new format.
>>
>>If you compile ser from source, you don't need any of the rpm packages.
>>
>>regards,
>>klaus
>>
>>
>>>Thanks for you advice again.
>>>
>>>John
>>>
>>>
>>>
>>>----- Original Message -----
>>>From: "Klaus Darilion" <klaus.mailinglists(a)pernau.at>
>>>To: "John LI" <john(a)signalc.com>
>>>Cc: <serusers(a)lists.iptel.org>
>>>Sent: Thursday, March 25, 2004 3:07 AM
>>>Subject: Re: [Serusers] The problem when enable the MySql
>>>
>>>
>>>
>>>
>>>>compile ser by calling make:
>>>># make
>>>>
>>>>compile ser modules by calling:
>>>># make modules
>>>>
>>>>compile mysql ser modules by calling:
>>>># make modules modules=modules/mysql
>>>>
>>>>install ser:
>>>># make install
>>>>
>>>>install mysql module:
>>>># cp modules/mysql/mysql.so /usr/local/lib/ser/modules/
>>>>
>>>>
>>>>regards,
>>>>klaus
>>>>
>>>>John LI wrote:
>>>>
>>>>
>>>>>Dear Sir,
>>>>>
>>>>>I am installing the Ser on Redhat 9.0 platform.
>>>>>
>>>>>I download ser-0.8.12_src.tar.gz, and compile the souce code, and
>>>>>install it.
>>>>>The Ser working fine with out the MySQL enabled.
>>>>>
>>>>>I download the MySQL packges from www.mysql.com <http://www.mysql.com>
>>>>>
>>>>>MySQL-client-4.0.18-0.i386.rpm
>>>>>MySQL-server-4.0.18-0.i386.rpm
>>>>>MySQL-shared-4.0.18-0.i386.rpm
>>>>>
>>>>>and install them, and Mysql can start up.
>>>>>
>>>>>After this, I download the ser-0.8.12_src.tar.gz
>>>>>
>>>>>and try to install it, and it give me out the error messge
>>>>>error: Failed dependencies:
>>>>> ser = 0.8.12 is needed by ser-mysql-0.8.12-0
>>>>>
>>>>>I don't know what this means.
>>>>>
>>>>>BTW, when i enable the MySQL in ser.cfg, it give out the following
>
> error
>
>>>>>messages:
>>>>>0(25007) ERROR: load_module: could not open module
>>>>></usr/local/lib/ser/modules/mysql.so>:
>>>>>/usr/local/lib/ser/modules/mysql.so: cannot open shared object file: No
>>>>>such file or directory
>>>>>I wonder how can I get the mysql.so module.
>>>>>
>>>>>I am the fresh man in using Ser, please give me some instructions.
>>>>>
>>>>>John
>>>>>
>>>>>
>>
>>>>------------------------------------------------------------------------
>>>>
>>>>>_______________________________________________
>>>>>Serusers mailing list
>>>>>serusers(a)lists.iptel.org
>>>>>http://lists.iptel.org/mailman/listinfo/serusers
>>>>
>>>>
>>>
>>
>
>
Hi, I have installed SER on my Redhat 9 machine. I can register my sip
phone on SER but i cannot use it to call another SIP phone on a different
server (domain). What do i have to do? Thanks
regards,
Onyeka
Hi Max!
What is the status of your B2BUA?
regards,
Klaus
> -----Original Message-----
> From: Maxim Sobolev [mailto:sobomax@portaone.com]
> Sent: Saturday, December 27, 2003 7:54 PM
> To: David Luyens
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] prepaid service
>
>
> David Luyens wrote:
> > Hi Maxim, can you tell me how far you have come with your code?
>
> I have to finish my python radiusclient binding. I think that
> it would
> be ready in 2-3 weeks.
>
> -Maxim
>
> >
> > David
> >
> > -----Oorspronkelijk bericht-----
> > Van: Maxim Sobolev [mailto:sobomax@portaone.com]
> > Verzonden: donderdag 4 december 2003 19:58
> > Aan: David Luyens
> > CC: serusers(a)lists.iptel.org
> > Onderwerp: Re: [Serusers] prepaid service
> >
> >
> > On Thu, Dec 04, 2003 at 07:15:26PM +0100, David Luyens wrote:
> >
> >>Hi, been browsing the manual but still got this question:
> >>
> >>Is there a prepaid application for ser available? (eg B2BUA
> on Vocal)
> >
> >
> > No, I believe iptel has something like that for $$$. I am currently
> > working on implementing my own b2bua (Vovida's is too
> buggy, slow and
> > unflexible), basic functionality is already done, but I
> still have to do
> > Radius auth/accounting before releasing something.
> >
> > -Maxim
> >
> >
> >
>
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>