Re: [OpenSIPS-Users] opensips-perl-modules problem in Ubuntu 14.04
You could try manually installing perl-base too if you want, or try compiling OpenSIPs from source, not sure if it will make a difference though. On 26 Jun 2015 22:13, "Jeff Pyle" wrote: > I tried manually downloading and installing the package, but > unsurprisingly there are version mismatches: > > dpkg: dependency problems prevent configuration of libperl5.14: > libperl5.14 depends on perl-base (= 5.14.2-6ubuntu2.4); however: > Version of perl-base on system is 5.18.2-2ubuntu1. > > > - Jeff > > On Fri, Jun 26, 2015 at 4:45 PM, Jeff Pyle > wrote: > >> Hi Nabeel, >> >> No, I hadn't, but I don't see it available: >> >> # apt-cache policy libperl5.14 >> libperl5.14: >> Installed: (none) >> Candidate: (none) >> Version table: >> >> The link you provided was for 12.04. This is 14.04. Is that relevant? >> >> The main application for this system is not OpenSIPS. If it were, and I >> had full control, the OS would be Debian! I'm afraid of installing old >> libraries for fear of breaking other applications that may need the current >> ones, and those applications aren't installed yet. This OpenSIPS module >> should work without a problem against the current version 5.18 library. It >> seems like a version detection problem, perhaps because of the "ubuntu" >> string in the currently installed version? I suppose I could force the >> installation and hope for the best but I wanted to ask before I tried that >> route. >> >> >> - Jeff >> >> >> On Fri, Jun 26, 2015 at 4:32 PM, Nabeel wrote: >> >>> Have you tried removing libperl5.18, then install libperl5.14, then try >>> installing opensips-perl-modules again: >>> >>> http://packages.ubuntu.com/precise/libperl5.14 >>> >>> On 26 June 2015 at 21:11, Jeff Pyle wrote: >>> Hello, I have been tasked with configuring a lightweight installation of OpenSIPS on an Ubuntu 14.04 server. I couldn't find an Ubuntu-specific official repo, so I'm using the Wheezy one at apt.opensips.org for OpenSIPS 2.1. It works well for the most part. I have a problem trying to install opensips-perl-modules: The following packages have unmet dependencies: opensips-perl-modules : Depends: libperl5.14 (>= 5.14.2) but it is not installable E: Unable to correct problems, you have held broken packages. I have libperl5.18 installed: # dpkg -l | grep libperl ii libperl5.18 5.18.2-2ubuntu1 amd64shared Perl library Thanks, Ubuntu. Before I go crazy, is there a better source for Ubuntu-specific OpenSIPS packages? Or, is there an APT trick I'm unaware of I can use to solve this particular issue? Regards, Jeff ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> ___ >>> Users mailing list >>> Users@lists.opensips.org >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> >> > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] opensips-perl-modules problem in Ubuntu 14.04
I tried manually downloading and installing the package, but unsurprisingly there are version mismatches: dpkg: dependency problems prevent configuration of libperl5.14: libperl5.14 depends on perl-base (= 5.14.2-6ubuntu2.4); however: Version of perl-base on system is 5.18.2-2ubuntu1. - Jeff On Fri, Jun 26, 2015 at 4:45 PM, Jeff Pyle wrote: > Hi Nabeel, > > No, I hadn't, but I don't see it available: > > # apt-cache policy libperl5.14 > libperl5.14: > Installed: (none) > Candidate: (none) > Version table: > > The link you provided was for 12.04. This is 14.04. Is that relevant? > > The main application for this system is not OpenSIPS. If it were, and I > had full control, the OS would be Debian! I'm afraid of installing old > libraries for fear of breaking other applications that may need the current > ones, and those applications aren't installed yet. This OpenSIPS module > should work without a problem against the current version 5.18 library. It > seems like a version detection problem, perhaps because of the "ubuntu" > string in the currently installed version? I suppose I could force the > installation and hope for the best but I wanted to ask before I tried that > route. > > > - Jeff > > > On Fri, Jun 26, 2015 at 4:32 PM, Nabeel wrote: > >> Have you tried removing libperl5.18, then install libperl5.14, then try >> installing opensips-perl-modules again: >> >> http://packages.ubuntu.com/precise/libperl5.14 >> >> On 26 June 2015 at 21:11, Jeff Pyle wrote: >> >>> Hello, >>> >>> I have been tasked with configuring a lightweight installation of >>> OpenSIPS on an Ubuntu 14.04 server. I couldn't find an Ubuntu-specific >>> official repo, so I'm using the Wheezy one at apt.opensips.org for >>> OpenSIPS 2.1. It works well for the most part. >>> >>> I have a problem trying to install opensips-perl-modules: >>> >>> The following packages have unmet dependencies: >>> opensips-perl-modules : Depends: libperl5.14 (>= 5.14.2) but it is not >>> installable >>> E: Unable to correct problems, you have held broken packages. >>> >>> >>> I have libperl5.18 installed: >>> >>> # dpkg -l | grep libperl >>> ii libperl5.18 5.18.2-2ubuntu1 >>> amd64shared Perl library >>> >>> >>> Thanks, Ubuntu. Before I go crazy, is there a better source for >>> Ubuntu-specific OpenSIPS packages? Or, is there an APT trick I'm unaware >>> of I can use to solve this particular issue? >>> >>> >>> Regards, >>> Jeff >>> >>> >>> ___ >>> Users mailing list >>> Users@lists.opensips.org >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> >> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] opensips-perl-modules problem in Ubuntu 14.04
Hi Nabeel, No, I hadn't, but I don't see it available: # apt-cache policy libperl5.14 libperl5.14: Installed: (none) Candidate: (none) Version table: The link you provided was for 12.04. This is 14.04. Is that relevant? The main application for this system is not OpenSIPS. If it were, and I had full control, the OS would be Debian! I'm afraid of installing old libraries for fear of breaking other applications that may need the current ones, and those applications aren't installed yet. This OpenSIPS module should work without a problem against the current version 5.18 library. It seems like a version detection problem, perhaps because of the "ubuntu" string in the currently installed version? I suppose I could force the installation and hope for the best but I wanted to ask before I tried that route. - Jeff On Fri, Jun 26, 2015 at 4:32 PM, Nabeel wrote: > Have you tried removing libperl5.18, then install libperl5.14, then try > installing opensips-perl-modules again: > > http://packages.ubuntu.com/precise/libperl5.14 > > On 26 June 2015 at 21:11, Jeff Pyle wrote: > >> Hello, >> >> I have been tasked with configuring a lightweight installation of >> OpenSIPS on an Ubuntu 14.04 server. I couldn't find an Ubuntu-specific >> official repo, so I'm using the Wheezy one at apt.opensips.org for >> OpenSIPS 2.1. It works well for the most part. >> >> I have a problem trying to install opensips-perl-modules: >> >> The following packages have unmet dependencies: >> opensips-perl-modules : Depends: libperl5.14 (>= 5.14.2) but it is not >> installable >> E: Unable to correct problems, you have held broken packages. >> >> >> I have libperl5.18 installed: >> >> # dpkg -l | grep libperl >> ii libperl5.18 5.18.2-2ubuntu1 >> amd64shared Perl library >> >> >> Thanks, Ubuntu. Before I go crazy, is there a better source for >> Ubuntu-specific OpenSIPS packages? Or, is there an APT trick I'm unaware >> of I can use to solve this particular issue? >> >> >> Regards, >> Jeff >> >> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] opensips-perl-modules problem in Ubuntu 14.04
Have you tried removing libperl5.18, then install libperl5.14, then try installing opensips-perl-modules again: http://packages.ubuntu.com/precise/libperl5.14 On 26 June 2015 at 21:11, Jeff Pyle wrote: > Hello, > > I have been tasked with configuring a lightweight installation of OpenSIPS > on an Ubuntu 14.04 server. I couldn't find an Ubuntu-specific official > repo, so I'm using the Wheezy one at apt.opensips.org for OpenSIPS 2.1. > It works well for the most part. > > I have a problem trying to install opensips-perl-modules: > > The following packages have unmet dependencies: > opensips-perl-modules : Depends: libperl5.14 (>= 5.14.2) but it is not > installable > E: Unable to correct problems, you have held broken packages. > > > I have libperl5.18 installed: > > # dpkg -l | grep libperl > ii libperl5.18 5.18.2-2ubuntu1 > amd64shared Perl library > > > Thanks, Ubuntu. Before I go crazy, is there a better source for > Ubuntu-specific OpenSIPS packages? Or, is there an APT trick I'm unaware > of I can use to solve this particular issue? > > > Regards, > Jeff > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] opensips-perl-modules problem in Ubuntu 14.04
Hello, I have been tasked with configuring a lightweight installation of OpenSIPS on an Ubuntu 14.04 server. I couldn't find an Ubuntu-specific official repo, so I'm using the Wheezy one at apt.opensips.org for OpenSIPS 2.1. It works well for the most part. I have a problem trying to install opensips-perl-modules: The following packages have unmet dependencies: opensips-perl-modules : Depends: libperl5.14 (>= 5.14.2) but it is not installable E: Unable to correct problems, you have held broken packages. I have libperl5.18 installed: # dpkg -l | grep libperl ii libperl5.18 5.18.2-2ubuntu1 amd64shared Perl library Thanks, Ubuntu. Before I go crazy, is there a better source for Ubuntu-specific OpenSIPS packages? Or, is there an APT trick I'm unaware of I can use to solve this particular issue? Regards, Jeff ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Redis connections not closing
Hello, I would like to understand how's working the cachedb_redis with redis : it seems the connections to Redis server are not closed after a redis raw query or a child sip process ends (why not ? :). # environment : OpenSips v 1.11.3 (dedicated server) Redis 3.0.2 (dedicated server) Debian Jessie everywhere # conf story : loadmodule "cachedb_redis.so" modparam("cachedb_redis","cachedb_url","redis://redis.backend.fqdn:6379/1") modparam("cachedb_redis","cachedb_url","redis:log://redis.backend.fqdn:6379/2") ... # routing story : cache_raw_query("redis","hmget $var(my_hash) key1 key2", "$avp(r)"); if ($avp(r) != null) { $avp(key1) = $(avp(r)[0]); $var(key2) = $(avp(r)[1]); avp_delete("$avp(r)"); } ... $avp(my_kv) = $var(a) + $var(b); cache_raw_query("redis:log","RPUSH my_hash $avp(my_kv)"); ... Ok, everything's fine after a lot of tuning as deleting the returned avp to free the mem, prevent some bad redis returns that can break the opensips routing process, and so on, but my real problem is that the connections to redis are not closing. # in the redis-server : $ redis-cli --stat --- data -- - load - child - keys mem clients blocked requests connections 92 785.04M214 0 1937714 (+0)13691 92 785.04M214 0 1937715 (+1)13691 92 785.04M214 0 1937716 (+1)13691 ... info that can be retrieved here - stats reseted in the next copy/paste, but the ids and connections are increasing really freakin' fast : $ redis-cli client list id=3 addr=ip_opensips:57508 fd=7 name= age=534 idle=534 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=hmget id=4 addr=ip_opensips:52579 fd=8 name= age=534 idle=534 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=hmget id=5 addr=ip_opensips:52587 fd=6 name= age=407 idle=407 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=hmget and the counters and connections increased for each new request. in the --stat command, it returns that i've 214 clients, but i've only 5 opensips servers ... maybe other useful info: for each server : -m 2048 -M 16, udp only, children=32, maxbuffer=2097152. There's no problem with that for 10 calls per day, but actually my servers are managing around 480 cps ... I've to start/stop the redis-server every 24h to manage the number of connections to prevent to reach the max connections limit (ulimit and all the sysadmin stuff). Do you have any idea how to close the connections ? (without doing a redis-cli client kill $id ...) Thanks a lot, Sam ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] NAT problem
Nice ngrep invocation. ;) On 26/06/2015 19:26, Terrance Devor wrote: ngrep -d eth0 -qt -W byline portrange 5060 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] NAT problem
ngrep -d eth0 -qt -W byline portrange 5060 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] NAT problem
Attach SIP signalling pls. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Opensips 2.0 -- toplogy_hiding_match logic
Is it required for SIP message to have a to-tag in order to be matched with dialog using topology_hiding_match or match_dialog? In one situation ACK message from UA does not have to-tag but From-tag, call-id and all headers seems to belong to ongoing dialog? Is there a way to match such request with dialog? John ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users