Hi Richard,
This is a very interesting discussion. However I don't think our
situations are similar. Just to make it clear, in your case, did OpenSER
slow down or stop working at all? Was it something that happened
gradually?
In my case, it runs fine for several days. There are no delays, no
slowing down of any kind. Then suddenly it stops responding. There is no
script change, nothing at all. Actually most of the times it happened
during the night when there is nobody around "playing" with DNS, network
settings etc. So what could be causing this?
Can I set up some sort of logging that will help find the cause of this?
I have no clue what kind of information I should be logging. Most of my
troubleshooting is done with ngrep. I could redirect this to a log file,
but with the volume of traffic that we have, a few hours would be enough
to fill the disk.
thank you for any help
George
Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
When I REGISTER for UDP, I receive subsequent requests for that
user. However, when I perform a TCP REGISTER, even though the
register returns 200 OK, no requests make it to the user.
Is this supported? It should be. However, I noticed when you do a
"openserctl ul show" command, it shows users, but it doens't indicate
whether they are UDP or TCP registered.
-Russ
Hello Users,
tried a lot , My UAC's are Not Hungupping in Behind the NAT/Router
And also My sip proxy is also under the Behind NAT
My SIP ip is 192.168.2.75
My Public IP is xx.xx.xx.xx
I didn't get any Bye request to SIP server, except the Bye all the other
Messages are Requested to MY SIP Server
in openser.cfg
i
I'm using X-lites for testing in that
RTP port 12222
NAT firewall ip is 192.168.2.1
Sip domain is xx.xx.xx.xx
Sip proxy xx.xx.xx.xx
______________________________________________
modparam ("nathelper",rtpproxy_sock","udp: 192.168.2.75:12222"
if(nat_uac_test("19"))
{
if(method=="REGISTER")
{
fix_nated_register();
force_rport();
setflag(6);
} else
{
if(method=="INVITE")
{
fix_nated_sdp("3")
};
fix_nated_contact();
};
};
--
Thanks and Regards
Ravi Prakash Sunkara
ravi.sunkara(a)hyperion-tech.com
M:+91 9985077535
O:+91 40 23114549
F:+91 40 40208727
ravi.sunkara(a)hyperion-tech.com
www.hyperion-tech.com
Hi, I have SER Proxy and PRESENCE running on different machines. REGISTERS
are being forwarded by SER Proxy to PRESENCE and PRESENCE is storing the
location information in "location" db.
What I am seeing is that when the PRESENCE Server sends NOTIFYs to watchers,
it sends them to the SER PROXY (destination IP Is that of SER PROXY) but the
URI in NOTIFY is that of the watchers LOCATION INFO. Is this correct? I
would like the NOTIFY URI to contain the SIP DOMAIN and not the contact
info.
e.g. user 444 registers with SER PROXY (sip.xx.com). It is registering from
10.1.1.1:12321 (location info). SER PROXY sends the REGISTER TO Presence
server which stores this info in location database (location is
444@10.1.1.1:12321). Now when Presence Server sends NOTIFY, it sends it to
the SER PROXY IP BUT the NOTIFY URI IS:
NOTIFY sip:444@10.1.1.1:12321 SIP/2.0
How can I have the NOTIFY URI to be :
NOTIFY sip:444@sip.xx.com SIP/2.0
Any suggestions would be higlhy appreciated.
_________________________________________________________________
Ready for the world's first international mobile film festival celebrating
the creative potential of today's youth? Check out Mobile Jam Fest for your
a chance to WIN $10,000! www.mobilejamfest.com
Hi,
To test the presence capability of SER which presence client application I
can use?
Regards,
Ajay
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.
Yes. It seems to be fixed in the CVS version. I am running the CVS version
since four days and I have not had a core dump. I am testing further and
will post any issues I find.
Thanks
>From: Vaclav Kubart <vaclav.kubart(a)iptel.org>
>To: SER LIST <sergrp(a)hotmail.com>
>CC: serusers(a)iptel.org
>Subject: Re: [Serusers] Any resolution to the presence core dump?
>Date: Mon, 13 Nov 2006 14:25:16 +0100
>
>It could be corrected in CVS version, but it is not sure. (There were
>few bugs in presence snapshot 4.1 corrected in CVS.)
> Vaclav
>
>On Sun, Nov 05, 2006 at 10:32:34PM -0500, SER LIST wrote:
> > I was wondering whether a patch or a new release is available to the
>issue
> > of presence core dumping on a regular basis that was reported short
>while
> > back? Thanks in advance.
> >
> > >The version 0.10.99 of presence snapshot core dumps on a regular
> > basis after running for a certain time. Doing a gdb shows that the core
> > dump occurs at msg_queue_destroy:
> > >#0 0x001b87f2 in msg_queue_destroy (q=0xb6293e98)
> > > at /usr/local/src/ser-0.10.99-dev35-pa-4.1/lib/../fastlock.h:147
> > >147 asm volatile(
> > >
> >
> > _________________________________________________________________
> > Not only does Windows Live? OneCare? provide all-in-one PC care to keep
> > your computer protected and well-maintained, but it also makes creating
> > backup files a breeze. Try it today!
> >
>http://ideas.live.com/programpage.aspx?versionid=b2456790-90e6-4d28-9219-5d…
> >
> > _______________________________________________
> > Serusers mailing list
> > Serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
_________________________________________________________________
Not only does Windows Live OneCare provide all-in-one PC care to keep your
computer protected and well-maintained, but it also makes creating backup
files a breeze. Try it today!
http://ideas.live.com/programpage.aspx?versionid=b2456790-90e6-4d28-9219-5d…
Hello,
I am totally confused, Installed ser rpm on FC5, with all the modules,
If I start ser with out mediaproxy.so and domain.so modules every thing
works great.
But When I add these two mosules I start getting in problem and it does
not start.
Here is the error,
1(0) DEBUG: init_mod_child (-1): tm
1(0) DEBUG: callid: '74fe3fe7-0(a)xxx.xxx.xxx.xxx'
1(0) DEBUG: init_mod_child (-1): usrloc
1(0) get_connection(): Connection not found in the pool
2(0) INFO: fifo process starting: 11768
2(0) DEBUG: init_mod_child (-2): tm
2(0) DEBUG: callid: '74fe3fe7-0(a)xxx.xxx.xxx.xxx'
2(0) DEBUG: init_mod_child (-2): usrloc
2(0) get_connection(): Connection not found in the pool
0(11766) DEBUG: init_mod_child (1): tm
0(11766) DEBUG: callid: '74fe3fe7-11766(a)xxx.xxx.xxx.xxx'
0(11766) DEBUG: init_mod_child (1): usrloc
0(11766) get_connection(): Connection not found in the pool
1(11767) DEBUG: init_mod_child (-1): auth_db
0(11766) DEBUG: init_mod_child (1): auth_db
1(11767) get_connection(): Connection found in the pool
0(11766) get_connection(): Connection found in the pool
1(11767) DEBUG: init_mod_child (-1): uri_db
0(11766) DEBUG: init_mod_child (1): uri_db
1(11767) get_connection(): Connection found in the pool
0(11766) get_connection(): Connection found in the pool
1(11767) DEBUG: init_mod_child (-1): domain
0(11766) 1(11767) DEBUG: init_mod_child (1): domain
DEBUG: init_mod_child (-1): nathelper
0(11766) get_connection(): Connection not found in the pool
1(11767) DEBUG: init_mod_child (-1): avpops
1(11767) get_connection(): Connection found in the pool
1(11767) DEBUG: init_mod_child (-1): permissions
2(11768) DEBUG: init_mod_child (-2): auth_db
2(11768) get_connection(): Connection found in the pool
2(11768) DEBUG: init_mod_child (-2): uri_db
2(11768) get_connection(): Connection found in the pool
2(11768) DEBUG: init_mod_child (-2): domain
2(11768) DEBUG: init_mod_child (-2): nathelper
2(11768) DEBUG: init_mod_child (-2): avpops
2(11768) get_connection(): Connection found in the pool
2(11768) DEBUG: init_mod_child (-2): permissions
2(11768) get_connection(): Connection found in the pool
*
0(11766) new_connection(): Access denied for user 'serro'@'localhost'
(using password: YES)
I have not idea why it is using serror@localhost to connect to db. I
will post my config files (ser.cfg and serctl) below.
* 0(11766) db_init(): Could not create a connection
* 0(11766) ERROR:domain_db_init: cannot initialize database connection
0(11766) ERROR: domain:child_init(): Unable to connect to the database
0(11766) init_mod_child(): Error while initializing module domain
0(11766) main_dontfork: init_child failed
2(11768) INFO: signal 15 received
2(11768) Memory status (pkg):*
2(11768) 1(11767) INFO: signal 15 received
1(11767) Memory status (pkg):
1(11767) fm_status (0x811c800):
1(11767) heap size= 1048576
Top part of ser.cfg file
[root@ ser]# more ser.cfg
#
# $Id: ser.cfg,v 1.25.2.1 2005/02/18 14:30:44 andrei Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=5 # 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=192.168.2.201
listen=209.XXX.XXX.XXX
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"
a
fifo_db_url="mysql://username:password@host/ser_db"
# ------------------ 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"
loadmodule "/usr/lib/ser/modules/auth.so"
loadmodule "/usr/lib/ser/modules/auth_db.so"
loadmodule "/usr/lib/ser/modules/uri_db.so"
loadmodule "/usr/lib/ser/modules/uri.so"
loadmodule "/usr/lib/ser/modules/domain.so"
loadmodule "/usr/lib/ser/modules/mediaproxy.so"
loadmodule "/usr/lib/ser/modules/nathelper.so"
loadmodule "/usr/lib/ser/modules/textops.so"
loadmodule "/usr/lib/ser/modules/avpops.so"
loadmodule "/usr/lib/ser/modules/permissions.so"
#loadmodule "/usr/lib/ser/modules/domain.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 ---------------
modparam("auth_db|permissions|uri_db|usrloc", "db_url",
"mysql://username:password@host/ser_db")
modparam("auth_db", "calculate_ha1", 0)
modparam("auth_db", "password_column", "password")
modparam("nathelper", "rtpproxy_disable", 1)
modparam("nathelper", "natping_interval", 0)
modparam("mediaproxy","natping_interval", 30)
modparam("mediaproxy","mediaproxy_socket", "/var/run/mediaproxy.sock")
modparam("mediaproxy","sip_asymmetrics","/etc/ser/sip-clients")
modparam("mediaproxy","rtp_asymmetrics","/etc/ser/rtp-clients")
modparam("usrloc", "db_mode", 2)
modparam("registrar", "nat_flag", 6)
modparam("rr", "enable_full_lr", 1)
modparam("tm", "fr_inv_timer", 27)
modparam("tm", "fr_inv_timer_avp", "inv_timeout")
modparam("permissions", "db_mode", 1)
modparam("permissions", "trusted_table", "trusted")
modparam("avpops", "avp_url", "mysql://username:password@host/ser_db")
modparam("avpops", "avp_table", "usr_preferences")
# main routing logic
route {
SERCTL file
# configuration for starting/stopping ser
PID_FILE=/var/run/ser.pid
SYSLOG=1 # 0=output to console, 1=output to syslog
STARTOPTIONS= # for example -dddd
DIR=`dirname $0`
SERBIN=$DIR/ser
AWK=awk
# ser's FIFO server
if [ -z "$SER_FIFO" ]; then
SER_FIFO=/tmp/ser_fifo
fi
# period in which stats are reprinted
if [ -z "$WATCH_PERIOD" ] ; then
WATCH_PERIOD=2
fi
# SQL config
if [ -z "$SQL_DB" ] ; then
SQL_DB=ser_DB
fi
if [ -z "$SQL_HOST" ] ; then
SQL_HOST=SER_HOST //not localhost
fi
if [ -z "$SQL_USER" ] ; then
SQL_USER=username
fi
# the read-only user for whom password may be stored here
if [ -z "$RO_USER" ] ; then
RO_USER=usename
fi
if [ -z "$RO_PW" ] ; then
RO_PW=password
fi
# binaries
GENHA1='gen_ha1'
MYSQL='mysql'
SER='sr'
LAST_LINE='tail -1'
# ACL name verification
VERIFY_ACL=1
ACL_GROUPS="local ld int voicemail free-pstn prepaid"
VERSION='$Revision: 1.83.2.2 $'
NOTE: If I dont add mediaproxy.so and domain.so then everything works
lgreate
Ser verision
[root@ ser]# rpm -qa | grep ser-
ser-serweb-0.9.6-6.fc5 ///This also did not work, problem with
classkit and runkit extension. If any one could make it work on FC5 with
PHP 5.1, Please share.
ser-mysql-0.9.6-6.fc5
ser-0.9.6-6.fc5
I am tired like dead, Any idea will be help.
Thank you,
-JK
Hello List,
I had setup ser-0.9.6 and freeradius-1.1.3.
I am able to authenticate sip users via radius using entries in mysql
database, but unable to do group membership checking with mysql database,
but if I use users text file for group checking it works fine. The mentioned
below link have the logs and entries in mysql database.
HYPERLINK "http://pastebin.ca/247613"http://pastebin.ca/247613
As Mr. Greger suggested in previous post not to challenge options message
(second message) , for that I included one line in users file like
@mydomain.pt NAS-Port == 0, NAS-IP-Address == "127.0.0.1", Auth-Type :=
Accept
And authentication works fine, is it right way to avoid challenging 2
options, or is it creating problem in group membership checking.
My radiusd.conf file has sql and files entries under authorize section in
the order of
sql
files
Please suggest something.
Thanks you very much
Lokesh
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.3/531 - Release Date: 11/12/2006
Hello List,
I have problem with the group membership checking of ser calls with radius
using mysql module.
Well group checking is working fine with the users file but when I try to do
that checking with mysql entries it always getting failed.
Below mentioned is section of my users file
211069020(a)mydomain.pt Sip-Group == "int", Auth-Type := Accept
Reply-Message = "Authorized"
What should be the entries corresponding to the above mentioned in mysql
tables of radgroupcheck and radgroupreply.
I am using freeradius-1.1.3 with default values in sql.conf file.
Here are the table entries of mysql.
mysql> select * from radcheck;
+----+----------------------------+-----------+----+-----------+
| id | UserName | Attribute | op | Value |
+----+----------------------------+-----------+----+-----------+
| 2 | 211069020(a)mydomain.pt | Password | == | 211069020 |
| 33 | 211069020(a)mydomain.pt | Auth-Type | := | Digest |
+----+----------------------------+-----------+----+-----------+
2 rows in set (0.00 sec)
My sip clients can authenticate with mysql entries but can not do group
authorization.
Please suggest something
Thanks very much
Lokesh
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.3/531 - Release Date: 11/12/2006