Re: [SR-Users] Prepaid billing solution for a service provider
El Thu, 05 Jan 2012 12:08:59 +0100 Carlo Dimaggio escribió: > Hi all, > > I'm working in a project for a service provider in which prepaid is an > essential requirement. They have about 12000 subscribers. > The core infrastructure will be Kamailio+RTPProxy while I have some > doubts about the prepaid feature. I'm thinking about a B2BUA (SEMS or > Freeswitch) that is called if the user belong to a "prepaid group" and > perform authorization and accounting; in this case the SIP flow could > be: Kamailio -> B2BUA(Prepaid) -> Kamailio. Is a good choice? > > At the moment I cannot estimate the effort needed to develop this > section (base prepaid feature) of the project... Do you have some hints? > > What are the prepaid solution implemented by you? Do you use your own > developed solution or do you think that is better to choose a commercial > solution (that provide also calling-card and other features)? > I have seen some commercial products (Portabilling, Jerasoft/Bilberry, > ...); what do you think about? > > > Best Regards, > You have a comercial system which runs Kamailio + mediaproxy + sems and integrates the prepaid and postpaid billing system in a turnkey solution. http://www.sipwise.com/products/sppro/ You can contact me in private if you're interested. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] kamailio and openser
El Tue, 1 May 2012 17:23:44 +0530 Vineet Menon escribió: > Hi > > thx for replying.. > will compile form sources... > > > An oficial kamailio repository for ubuntu 12.04 will be available soon. Expected for 3.3 release aprox. cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Kamailio debian repository changes
Hi All With the upcoming release of version 3.3.0, we have updated our kamailio debian repositories. * Debian 5.0 "lenny" will no longer be supported. This means that no more nightly builds for this distribution will be triggered. We'll provide builds for stable releases of 3.0 ,3.1 and 3.2 branches though. * Ubuntu 12.04 "Precise" is now supported for nightly builds and 3.2+ versions. Next time a 3.2.x version is tagged we'll provide the build. Meanwhile you can download the nightly build of 3.2 branch for this distro. * There will be no more nightly builds of 3.1 branch. We'll provide stable builds in case another version is released though. * We now support nightly builds of branch 3.3 (same as 3.2 and master). You can test latest git versions of branch 3.3 until a stable release is built using these repositories: deb http://deb.kamailio.org/kamailio33-nightly squeeze main deb http://deb.kamailio.org/kamailio33-nightly wheezy main deb http://deb.kamailio.org/kamailio33-nightly lucid main deb http://deb.kamailio.org/kamailio33-nightly precise main All the information and repositories can be found in kamailio wiki as usual: http://www.kamailio.org/dokuwiki/doku.php/packages:debs http://www.kamailio.org/wiki/packages/debs ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Architecture
El Fri, 15 Jun 2012 16:49:51 +0200 Klaus Darilion escribió: > SRV may be troublesome if customers can use any SIP clients. Some SIP > clients really have a strange SRV implementation (eg. some make SRV > lookup for every request, thus reREGISTER can end up at another proxy). > Kamailio for example :=) When routing a register request via kamailio with SRV enabled, it will do a lookup for each request. That's a problem when you receive a 401 to the first registration attempt. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Architecture
El Fri, 15 Jun 2012 17:06:51 +0200 Jon Bonilla (Manwe) escribió: > El Fri, 15 Jun 2012 16:49:51 +0200 > Klaus Darilion escribió: > > > SRV may be troublesome if customers can use any SIP clients. Some SIP > > clients really have a strange SRV implementation (eg. some make SRV > > lookup for every request, thus reREGISTER can end up at another proxy). > > > > > Kamailio for example :=) When routing a register request via kamailio with SRV > enabled, it will do a lookup for each request. That's a problem when you > receive a 401 to the first registration attempt. > > Sorry. It would do a single request if caching is on, but as it's not dialog aware, the second register can end up in another server. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] [Kamailio-Business] Kamailio v3.3.0 Released - new major version is out
Deb packages for Debian and Ubuntu are ready. http://www.kamailio.org/wiki/packages/debs > Kamailio v3.3.0 is out – a major release with a very large number of new > features and improvements. > > This release is a result of about 6 months of development and 2 months > of testing from the teams of Kamailio (OpenSER) and SIP Express Router > (SER) projects. Version 3.3.0 comes with 7 brand new modules in addition > to a lot of fresh features in core and old modules. You can read > detailed release notes at: > > * http://www.kamailio.org/w/kamailio-v3-3-0-release-notes/ > > Many thanks to all developers and community members that made possible > this release. > > Enjoy SIP routing in a secure, flexible and easier way with Kamailio v3.3.0! > > Cheers, > Daniel > ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] [sr-dev] kamailio core at qm_status
El Mon, 16 Jul 2012 10:27:42 -0400 Jijo escribió: > Hi All, > > I'm observing a core intermittently at "qm_status (qm=0x786cd000) at > mem/q_malloc.c:763" for kamailio version 3.1.0 > I'd say that you're using a very old version. You should update your branch to 3.1.6 or upgrade to a newer branch. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Debian packages still installing 3.3.0
El Thu, 16 Aug 2012 08:35:05 +0200 DanB escribió: > Hey Guys, > > Not sure if important, but what I noticed is that the latest debian > stable as well as latest 33 packages, they both install still kamailio > 3.3.0. In order to get 3.3.1 I needed to use nightly build packages. > > Is this what is desired? > No. I didn't build 3.3.1 packages because I was out for vacation with no internet access. Sorry, they will be ready this weekend. Meanwhile, as you said, you can use a 3.3-nightly version ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] RTPProxy with kamailio : How to get calls count?
El Thu, 13 Sep 2012 19:39:43 +0200 Mino Haluz escribió: > CPU E5504 Xeon 4MB cache 2GHz > 800 concurrent calls with 92% CPU usage > So 400-450 calls for 1GHz (with 99% CPU usage, in fact I cannot get it > to 100% dunno why) > > They had 325 calls per 1GHz, so yes, there must be some improvement ;) > > There's another rtpproxy replacement which is compatible with kamailio's rtpproxy module (no configuration changes needed in kamailio) This one is threaded, works in kernel space with userspace failover and shoud improve rtpproxy's performance. At the moment there are binaries only for debian amd64 but you could compile it yourself if you're interested in testing it: http://deb.sipwise.com/spce/2.6/pool/main/n/ngcp-mediaproxy-ng/ ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] RTPProxy with kamailio : How to get calls count?
El Fri, 14 Sep 2012 08:29:42 +0300 Juha Heinanen escribió: > Jon Bonilla (Manwe) writes: > > > There's another rtpproxy replacement which is compatible with kamailio's > > rtpproxy module (no configuration changes needed in kamailio) > > > > This one is threaded, works in kernel space with userspace failover and > > shoud improve rtpproxy's performance. > > how does that compare to ag-projects mediaproxy that also runs in kernel > space? > Although this is called mediaproxy, it was updated to use rtpproxy protocol. We used it to replace rtpproxy in our installations. Regarding features, I'm not familiar with mediaproxy. Can't compare them. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] How to do RTPProxy load balancing?
El Fri, 14 Sep 2012 09:40:20 +0200 Mino Haluz escribió: > Hi, > > mediaproxy has dispatcher and relay, so it load balances the traffic > automatically. How it is done with rtpproxy ? > Via modparams I think http://kamailio.org/docs/modules/3.3.x/modules/rtpproxy.html#id2549966 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] How to do RTPProxy load balancing?
El Fri, 14 Sep 2012 11:09:49 +0200 Mino Haluz escribió: > If one rtpproxy fails, kamailio will stop dispatching to this destination? > Could you please read the documentation of the module? http://kamailio.org/docs/modules/3.3.x/modules/rtpproxy.html#id2536918 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] RTPProxy with kamailio : How to get calls count?
El Sun, 16 Sep 2012 04:43:42 +0200 Carsten Bock escribió: > questions: > - Can i also use it for IPv4/IPv6 Translation and Bridging? I did not > find any internal/external ip-Parameters as in the old RTP-Proxy Yes. Ipv4/Ipv6 translation and bridging is fully supported. There's no internal/external IP parameters because you can bridge between any interface, not only two. I'm CC-ing the mail to the developer, Richard Fuchs. I'm not sure he reads this mailing list. > - Does it also support the basic media functions, such as recording > and playback? No AFAIK. > - Are the sources somewhere available? > We'll move the project to github soon. Meanwhile you have a tgz of the current version in our debian repo http://deb.sipwise.com/spce/2.6/pool/main/n/ngcp-mediaproxy-ng/ngcp-mediaproxy-ng-2.0.1.tgz ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] [Kamailio-Business] Kamailio v3.3.2 Released
El Tue, 16 Oct 2012 17:00:03 +0200 Daniel-Constantin Mierla escribió: > Hello, > > Kamailio SIP Server v3.3.2 stable release is out. > > > For more details about version 3.3.2 (including links and hints to > download the tarball or from GIT repository), visit: > >* http://www.kamailio.org/w/2012/10/kamailio-v3-3-2-released/ > > RPM, Debian/Ubuntu packages will be available soon as well. > Debian and Ubuntu packages are ready. Please find the instructions below: http://www.kamailio.org/dokuwiki/doku.php/packages:debs ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Kamailio v3.3.2 Released
El Wed, 17 Oct 2012 19:26:40 +0100 Paul Cupis escribió: > On 16/10/12 22:29, Jon Bonilla (Manwe) wrote: > > El Tue, 16 Oct 2012 17:00:03 +0200 > > Daniel-Constantin Mierla escribió: > >> > >> Kamailio SIP Server v3.3.2 stable release is out. > > > > Debian and Ubuntu packages are ready. Please find the instructions > > below: > > > > http://www.kamailio.org/dokuwiki/doku.php/packages:debs > > I'm seeing a problem with the 3.3.2 packages on Debian at the moment. > There is a file conflict between the kamailio package and > kamailio-mysql-modules preventing the latter from installing. > > Looks like the libdir path issue. Let me please check the build. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Kamailio v3.3.2 Released
El Thu, 18 Oct 2012 10:46:49 +0200 Jon Bonilla (Manwe) escribió: > > > > > > http://www.kamailio.org/dokuwiki/doku.php/packages:debs > > > > I'm seeing a problem with the 3.3.2 packages on Debian at the moment. > > There is a file conflict between the kamailio package and > > kamailio-mysql-modules preventing the latter from installing. > > Squeeze and precise builds have been fixed. Lucid and wheezy builds will be ready in about 10 minutes. Could you please try to upgrade again? thanks Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] RTPProxy with kamailio : How to get calls count?
El Tue, 6 Nov 2012 18:30:07 +0100 Carsten Bock escribió: > Hi, > > short question: > The provided Debian-Packages are Version 2.0.2, while the source (and > the containing debian/changelog) states to be version 2.0.1. > I hope, that minor change wasn't a major bug-fix? ;-) Are there any > differences between 2.0.2 and 2.0.1? > It contains a couple of bugfixes. Somehow the source is not being synced during the release process. I'll ask and publish the latest ones. thanks Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] pkg mem problems. Leaking?
El Tue, 6 Nov 2012 12:09:31 +0100 Jon Bonilla (Manwe) escribió: > As example one uf the external udp receivers uses less than 1MB while one of > the internal ones uses almost 6MB. I'm attaching the mem dump of one of those > internal udp receiver processes via > "ngcp-sercmd lb cfg.set_now_int core mem_dump_pkg 25437" command. I see > several tens of thousands of lines like these ones: > > N address=0x7fd1207383c0 frag=0x7fd120738390 size=56 used=1 > alloc'd from : parser/parse_param.c: parse_params(539) > start check=f0f0f0f0, end check= c0c0c0c0, abcdefed > > This mail was waiting moderator request yesterday. Meanwhile Richard Fuchs tried to debug this issue and looks like he found a mem leak problem. I'm now testing a patched version in the same server and let's see if that was the case. I'm attaching the patch I'm testing at the moment if someone is curious about it. cheers, Jon Index: modules_k/siputils/checks.c === --- modules_k/siputils/checks.c +++ modules_k/siputils/checks.c @@ -168,7 +168,7 @@ str *param, *value, t; param_hooks_t hooks; - param_t* params; + param_t* params, *pit; param = (str*)_param; value = (str*)_value; @@ -185,25 +185,23 @@ return -1; } - while (params) { - if ((params->name.len == param->len) && - (strncmp(params->name.s, param->s, param->len) == 0)) { + for (pit = params; pit; pit = pit->next) { + if ((pit->name.len == param->len) && + (strncmp(pit->name.s, param->s, param->len) == 0)) { if (value) { -if ((value->len == params->body.len) && -strncmp(value->s, params->body.s, value->len) == 0) { +if ((value->len == pit->body.len) && +strncmp(value->s, pit->body.s, value->len) == 0) { goto ok; } else { goto nok; } } else { -if (params->body.len > 0) { +if (pit->body.len > 0) { goto nok; } else { goto ok; } } - } else { - params = params->next; } } ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] RTPProxy with kamailio : How to get calls count?
El Mon, 12 Nov 2012 19:57:18 +0100 Carsten Bock escribió: > Hi Jon, Hi Richard, > > i wanted to say thankyou for this great piece software! > I installed it on a Intel Atom Server (x86) last week, which is > working as a P-CSCF in the Point-of-Presence (PoP) of a customer. > Perfect! I'll make some loadtests on that system next week and i'll > let you know the results. > > However, some questions remain: > - any update on the 2.0.2 sources? This URL > http://deb.sipwise.com/spce/2.6/pool/main/n/ngcp-mediaproxy-ng/ still > has only the 2.0.1 sources... > - is there a changelog availabe somewhere? > - i haven't looked at the sources, but can i query the RTP-Stats in > Release 2.0.2 ($rtpstat as in rtpproxy.org)? I get an error from the > ngcp-mediaproxy-ng, if query for the RTP-Stats... > > Kind regards & thank you, > Carsten Hi Carsten. The problem with the source and bin packages has been solved. They are back in sync. You can apt-get source ngcp-mediaproxy-ng to get the source or download it from http://deb.sipwise.com/spce/2.6/pool/main/n/ngcp-mediaproxy-ng/ I "promise" (hopefully as it does not depend on me 100%) that we'll have the github-jenkins-automated_tests glue ready by the end of the year (after our 2.7 version has been released) so the code will be available in github in a much more accesible and open way. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Siremis v2.0 preview
El Wed, 22 Sep 2010 16:23:15 +0200 Elena-Ramona Modroiu escribió: > Hi, > > Siremis version 2.0 is planned to work with upcoming Kamailio or SER 3.1 > and by now is alpha version. > Really nice look and feel. Congrats! ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] [Kamailio-Business] Meeting in Vinenna, next week, Wed 6, 2010
El Fri, 01 Oct 2010 13:12:55 +0200 Daniel-Constantin Mierla escribió: > Hello, > > some of us will be next Wednesday in Vienna, Austria and planned to have > a dinner - among the things to celebrate is the 3.1 release. > > If you are around and want to join us, drop me an email. So far, from > registered developers, there will be myself, Klaus Darilion, Andreas > Graning and maybe Jon Bonilla. Time should be 19:00, place not decided > yet - it will be provided by email. > > It is the usual social-networking-like event we had in the past, > everyone paying for himself/herself. Anyone is welcome to join! > I'll be there. See you next week! ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] version 3.0.2.99 ?
El Mon, 4 Oct 2010 07:35:21 -0400 X- x -X escribió: > Hey Jon, > I gather you are the man when it comes to packaging the goods. > > My query: > > Building packages for a distribution yields in the end packages with this > 3.0.2.99 version. > How come ? shoudn't it be 3.1.x > > (source pulled from git repo of kamailio 3.1) > > Anyway how are there any test packages out there to be tested before > releasing on 6 th ? > > Thanks > -- Hi -x x--z ! @@#~| :) After release of Kamailio 3.0.3 I changed the version to 3.0.3.99 for nightly builds of kamailio_3.0 branch. That means that the branch is 3.0 and it's a development, not released version. As soon as kamailio_3.1 or 3.1 branch is created I'll change the version in that branch and start with dayly builds for Kamailio 3.1 branch. Static packages for the release will be 3.1.0 and dev packages (nightly builds) in that branch (after the release of 3.1.0) will be 3.1.0.99 I'm not aware of 3.1 branch Either you have downloaded "master" branch or "kamailio_3.0" branch. If you downloaded the second, you have the latest kamailio 3.0.X source, but not many of the new features of Kamailio 3.1. For that you have to compile "master" or wait to 3.1 branch is created. cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] lua.h / lauxlib.h issue while making deb pkgs ! (for 3.1 master branch i.e)
El Wed, 6 Oct 2010 04:55:55 -0400 X- x -X escribió: > Hey Jony, > > while during "make deb" it complains of lua files > Make sure you have an updated 3.1 branch. There was a fix for this yesterday by Daniel. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace
El Mon, 11 Oct 2010 20:20:30 +0200 MÉSZÁROS Mihály escribió: > > I followed your instructions, so it is working now. (compiled from > latest 3.1 git head) > > Could you please update the debian repository too correct this issue? > > deb http://deb.kamailio.org/kamailio31 lenny main > Debian and ubuntu builds are created from released versions. That means that until a new kamailio version is released, there will be no updated debian packages in that repository. Anyhow, we're providing nightly builds of kamailio_3.0 branch. Those builds are created every day from latest git snapshots. Daily builds for master and kamailio_3.1 branches are coming soon (very soon). Once they're ready, you'll be able to add the nightly-build repo to your sources.list cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace
El Mon, 11 Oct 2010 21:23:28 +0200 MÉSZÁROS Mihály escribió: > Many thanks to You for the update! > Only one question: Where will it be announced if it will be ready? > > Thank You again, > Misi I'll announce it in this list for sure. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Development builds for debian and ubuntu available
Starting today, Kamailio's debian repository offers nightly development versions of "master" and "3.1" branches for Ubuntu and Debian distributions. Brief summary of the repository status at the moment: * Flavours: Kamailio * Branches: 3.0, 3.1, master * Distributions: Etch (3.0 stable only), Lenny, Squeeze, Lucid * Archs: amd64, i386 * Sources (deb-src) provided for stable releases * Nightly builds of supported branches All the instructions and status updates can be found here: http://www.kamailio.org/dokuwiki/doku.php/packages:debs We hope you will find these dev builds usefull for testing or playing. Sipdoc Team ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] [sr-dev] kamailio 1.5.5 and 3.0.4
El Thu, 14 Oct 2010 10:26:41 +0200 Iñaki Baz Castillo escribió: > 2010/10/14 Daniel-Constantin Mierla : > >> Hi, is it possible to commit some "featured" changes for 1.5.5? or > >> just security fixes? > > > > stable branches are for bug fixes. New features can be committed in > > development branches, otherwise will introduce instability to stable > > branches for people relying on them. > > Sure, I just meant a very small change in a module (regex). I use it > in production for long months with no problems, so I wonder if it > could be commited in 1.5.5 so I wouldn't need to modify the sources in > new deployments :) > I think that's a bad idea. There are lots of running installations that have their standard kamailio and even their own patches. Including new features, or behaviour changes could affect running systems in ways we cannot anticipate. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] [OT] Fwd: [dispatch] proposed SIXPAC charter
El Wed, 20 Oct 2010 13:11:22 +0200 Iñaki Baz Castillo escribió: > 2010/10/20 Victor Pascual Avila : > > I find this a worthwhile topic to pursue. I had been wondering whether > > this activity would turn out to be more of a profiling exercise, and > > whether the IETF might not be the best choice of venue for such work. > > From the current draft charter it looks like there will be at least > > some protocol extension work, for which I believe the IETF is the > > correct venue. On the other hand, the Unified Communications > > Interoperability Forum (UCIF) is seeking to advance the state of play > > on XMPP interoperability, and if we were just talking about a profile > > or BCP, that might have been a better venue. Perhaps the IETF should > > focus on requirements and protocol extensions, and consider whether > > the BCP work would be better done elsewhere. Or at least, there should > > be some coordination with other activities relating to XMPP > > interoperability. > > "Integrating" XMPP into SIP is a workaround IMHO, but the fact that > some work is being done in this area confirms the failure of SIMPLE. > IMHO it's better to define a new specification for presence in SIP > *from scratch* forgetting all about SIMPLE (all means all). > > Anyways, integrating such new specification with xmpp with extensions, gws or whatever method is a win-win strategy. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Terminated call processing Status: 487
El Thu, 4 Nov 2010 15:01:43 -0500 JR Richardson escribió: > Hi All, > > I'm seeing random errors in my Kamailio 3.0.2 log: > > ERROR: tm [tm.c:1300]: ERROR: w_t_relay_to: t_relay_to failed > ERROR: tm [t_fwd.c:1379]: ERROR: t_forward_nonack: no branches for forwarding > > After going blind staring at wireshark, I can consistently reproduce > this error by initiating a call, then after about a second ro two, > quickly hanging up. So here is my setup: > > SIP Phone> > I see all transaction messages flowing properly through all nodes and > I don't get any hung channels, all call legs release properly. > > I'm guessing I need a special [route] in Kamailio to handle 487 > request so they look normal and not issue an error? > > Kamailio is forwarding the 487 messages ok, so why do I get a t_relay > error? What info would be helpful to diagnose the errors? > > Any insight would be appreciated. > > Thanks. > > JR You need to use xlog to see where the problem is. Each time I've seen that is because the config file was missing that target. Please log the issue a little bit more. $du values specially. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] multidomain: running multiple kamailio on one host
El Fri, 05 Nov 2010 09:10:15 +0100 MÉSZÁROS Mihály escribió: > Hello all! > > Is there any known problem to run multiple kamailio/sip-router instance > in one host. No problem at all. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] SIP Routing Logic in Lua
El Sat, 20 Nov 2010 10:15:27 +0100 Daniel-Constantin Mierla escribió: > This should not be that complex, there is no function name that has '.' > in order to have current conflicts to solve. My concern is related to > modules with very long names, but seems that most of such cases do not > export lot of functions (e.g., presence_*). > > Alternative is to introduce a short id for modules, eg,: > > ps => presence > rp => rtpproxy Both of them could be used. One short version for expert people and the long, full format for newbies or in didactical examples. I think this module.function syntax is a good idea. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] kamctl get number of subscribers
Hi all I'm trying to get the number of registered subscribers in a kamailio 3.0.4 setup. I'm trying to use usrloc's exported function "ul_get_num_users" but I get a 500 error: kamctl fifo ul_get_num_users 500 command 'ul_get_num_users' not available Using get_statistics I get: test3:~# kamctl fifo get_statistics usrloc: usrloc:registered_users = 2 usrloc:location-users = 2 usrloc:location-contacts = 2 usrloc:location-expires = 0 Trying to query for a specific stat, seems like I do not use the correct syntax: test3:~# kamctl fifo get_statistics usrloc:registered_users 404 Statistics Not Found Anyone could help me with the correct syntax for the function and fifo? thanks ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] kamctl get number of subscribers
El Wed, 24 Nov 2010 04:09:22 -0500 Alex Balashov escribió: > > kamctl fifo get_statistics usrloc::registered_users > > Thanks! ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] kamctl get number of subscribers
El Wed, 24 Nov 2010 10:15:35 +0100 Jon Bonilla (Manwe) escribió: > El Wed, 24 Nov 2010 04:09:22 -0500 > Alex Balashov escribió: > > > > > kamctl fifo get_statistics usrloc::registered_users > > > > Looks like there's a stupid-trivial bug: test3:~# kamctl fifo get_statistics usrloc::location-contacts dialog:location-contacts = 0 Instead of usrloc:location-contacts = 0 I get dialog:location-contacts = 0 Is there any exported function or statistics to count the total number of users (not only registered ones)? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] kamctl get number of subscribers
El Wed, 24 Nov 2010 05:03:11 -0500 Alex Balashov escribió: > > Looks like there's a stupid-trivial bug: > > > > test3:~# kamctl fifo get_statistics usrloc::location-contacts > > dialog:location-contacts = 0 > > Hmmm... not for me: > > diminuendo-1:/u/home/sasha# kamctl fifo get_statistics > usrloc::registered_users > usrloc:registered_users = 0 > > (Running git master HEAD ad7f00d840082989132f335914aa0db223a0e46e) > I'm running 3.0.4 stable. Anyways I think it started after retrieving stats from dialog module. I'll try to catch how to reproduce it. Anyways it's trivial. > > Is there any exported function or statistics to count the total number of > > users (not only registered ones)? > > Can't you just do a SELECT count(*) FROM your 'subscriber' table? > Sure. I was just wondering if kamailio had that feature. Thanks Alex. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] kamctl get number of subscribers
El Wed, 24 Nov 2010 13:14:52 +0100 Iñaki Baz Castillo escribió: > > If the problem occurs after retrieving dialog module status then it > could be not so trivial. > Some more info: I looked at my history and looks like I was right about dialog module: test3:~# kamctl fifo get_statistics usrloc::registered_users usrloc:registered_users = 2 test3:~# kamctl fifo get_statistics :dialog::active_dialogs dialog:active_dialogs = 0 test3:~# kamctl fifo get_statistics usrloc: usrloc:registered_users = 1 usrloc:location-users = 1 usrloc:location-contacts = 1 usrloc:location-expires = 1 test3:~# kamctl fifo get_statistics usrloc::location-contacts dialog:location-contacts = 1 It started after retrieving stats from dialog. If I restart kamailio I still get the wrong output: test3:~# kamctl fifo get_statistics usrloc::location-users dialog:location-users = 1 test3:~# /etc/init.d/kamailio restart Restarting kamailio: kamailioloading modules under /usr/lib/kamailio/modules_k:/usr/lib/kamailio/modules Listening on udp: 77.77.77.77 [77.77.77.77]:5060 udp: 127.0.0.1:5060 tcp: 77.77.77.77 [77.77.77.77]:5060 Aliases: . test3:~# kamctl fifo get_statistics usrloc::location-users dialog:location-users = 1 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] compiling the SER router
El Sun, 5 Dec 2010 02:55:35 -0500 "rbond1" escribió: > km_dbase.c:38: fatal error: mysql/mysql.h: No such file or directory > compilation terminated. > make[1]: *** [km_dbase.o] Error 1 > make: *** [modules] Error 1 > > I am using the current ubuntu server distro. Is this a well known issue? I > followed the download instructions from the sip-router download page from > this website so I assume it automatically pulled the most current release > (?). Will I need to load a package from someplace else? > > Mysql is currently installed onto my machine. But I cannot find mysql.h. > WIll I need to get the libs from mysql (if available) and will they include > the header files? > > thx in adv You need -dev packages for dependencies. sudo apt-get install libmysqlclient-dev ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] authentication is not working
El Thu, 3 Feb 2011 11:12:30 +0100 Danny Dias escribió: > Hello my friends, > > I'm trying to configure authentication on my Kamailio and is not working at > all :( > > I've added the following to the script to make it work: (but it doesn't) > > . Are you asking the same questions in both kamailio and opensips accounts with different aliases? Why would you do that? Toyima Dias? Really? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] authentication is not working
El Thu, 3 Feb 2011 19:50:23 +0100 Jon Bonilla (Manwe) escribió: > El Thu, 3 Feb 2011 11:12:30 +0100 > Danny Dias escribió: > > > Hello my friends, > > > > I'm trying to configure authentication on my Kamailio and is not working at > > all :( > > > > I've added the following to the script to make it work: (but it doesn't) > > > > . > > Are you asking the same questions in both kamailio and opensips accounts with > different aliases? > Forgot to attach. This is not the only one. http://lists.opensips.org/pipermail/users/2011-February/016551.html ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] kamailio debian package bug report : 3.1.3+lenny2
El Fri, 27 May 2011 15:40:21 +0200 Henning Westerholt escribió: > On Wednesday 25 May 2011, Philippe HENSEL wrote: > > Hi developpers and packagers, > > > > The file "/usr/lib64/kamailio/libsrdb2.so.1.0" seems to be included in > > both "kamailio_3.1.3+lenny2_amd64.deb" and "kamailio-mysql-modules_3.1.3 > > +lenny2_amd64.deb". So it is not possible to install > > "kamailio-mysql-modules". > > Hi Philippe, > > thanks for the report. Is this the same issue as reported here? > http://sip-router.org/tracker/index.php?do=details&task_id=128 > > According to the tracker this should be fixed, have you tried a new version > of the packages, e.g. 3.1.3 or (since yesterday available) 3.1.4? > Thanks to Daniel Mierla this bug was fixed in the nightly builds. The latest stable release (3.1.4) should also be fine. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] dns_srv_lb
Hi all I'm running a kamailio 3.1 based proxy which actually relays REGISTER requests to a domain "example.com" I've setup a DNS SRV record for that domain which returns two hosts with same prio and weight. I want kamailio to balance the requests to both servers 50%. Taking a look to ./doc/dns.txt I've setup these configuration options: dns_try_ipv6=no dns_retr_time=1 dns_retr_no=1 dns_use_search_list=no use_dns_cache=on use_dns_failover=on dns_srv_lb=on If I understood right the last setting would have to make kamailio work as I described, balancing the requests between both servers. But my logs say that kamailio is actually using only one of the ip addresses (host2.example.com) to send the REGISTER requests. Here's the output of sercmd dns.view: sercmd> dns.view { name: _sip._udp.example.com type: SRV size (bytes): 232 reference counter: 1 permanent: no expires in (s): 31364 last used (s): 446 negative entry: no rr name: host1.example.com rr port: 5060 rr priority: 0 rr weight: 0 rr expires in (s): 31364 rr name: host2.example.com rr port: 5060 rr priority: 0 rr weight: 0 rr expires in (s): 31364 } { name: host2.example.com type: A size (bytes): 128 reference counter: 1 permanent: no expires in (s): 592964 last used (s): 446 negative entry: no rr ip: 192.168.0.103 rr expires in (s): 592964 } { name: host1.example.com type: A size (bytes): 128 reference counter: 1 permanent: no expires in (s): 592964 last used (s): 11835 negative entry: no rr ip: 192.168.0.102 rr expires in (s): 592964 } Any suggestions? What am I doing wrong? Thanks, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] dns_srv_lb
El Thu, 21 Jul 2011 01:25:40 +0200 Vladimir Broz escribió: > Hi Jon, > > please, try to set the "weight" for both SRV records in DNS to another > (but same) value than "0", e.g. "10" > > The weight with "0" value has a special handling in SR, according to the > RFC2782: > > "Domain administrators SHOULD use Weight 0 when there isn't any server > selection to do, to make the RR easier to read for humans (less > noisy). In the presence of records containing weights greater > than 0, records with weight 0 should have a very small chance of > being selected." > > Hope that helps, > It worked perfectly Vlad. Thanks a lot! ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] kamailio password length
I have a running kamailio with db backend and I'd like to use 40 character strings as subscriber passwords. Would be enought to increase the db field (actually varchar25) or is there any other lenght limit in kamailio's code? thanks Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Persistent dialog
Hi all I'm playing with the dialog module to count the calls and limit the number of calls per subscriber. After configured the proxy I've tested a call and I realize that the dialog list is not empty after the call ends. Here's a sample call log and the dialog list while the call was being stablished and 3 minutes after that: root@proxy1a:~# grep "fbrzjkplmvlauty@quenya" /var/log/kamailio.log New request - M=INVITE Dialog set mark TOTAL Proxy authentication failed New request - M=INVITE Dialog set mark TOTAL Dialog set mark user and userout to 'd5a78dafcb93' Dialog set mark type to outgoing Call to PSTN Dialog set mark peer and peerout to '4' Relaying request Request leaving server NAT-Reply - S=100 - Connecting NAT-Reply - S=488 - Not Acceptable Here Failure route for PSTN call Unset dialog mark peer and peerout '4' Filter reply code No failover routing needed for this response code New request - M=ACK While the call was being stablished or just after it was dropped (quickly) sercmd> dlg.list hash:3837:638039689 state:1 timestart:0 timeout:0 callid:fbrzjkplmvlauty@quenya from_tag:inobo to_tag: from_uri:sip:123456...@labsip.com to_uri:sip:0043987654...@labsip.com caller_contact:sip:123456789-sbhn1naovm6bc@111.111.111.164:5060;transport=udp caller_cseq:149 caller_route_set:, callee_contact: callee_cseq: callee_route_set: caller_bind_addr:udp:111.111.111.138:5062 callee_bind_addr: hash:3837:638039690 state:5 timestart:0 timeout:0 callid:fbrzjkplmvlauty@quenya from_tag:inobo to_tag: from_uri:sip:123456...@labsip.com to_uri:sip:0043987654...@labsip.com caller_contact:sip:123456789-sbhn1naovm6bc@111.111.111.164:5060;transport=udp caller_cseq:150 caller_route_set: , callee_contact: callee_cseq: callee_route_set: caller_bind_addr:udp:111.111.111.138:5062 callee_bind_addr: After a couple of minutes: hash:3837:638039689 state:1 timestart:0 timeout:0 callid:fbrzjkplmvlauty@quenya from_tag:inobo to_tag: from_uri:sip:123456...@labsip.com to_uri:sip:0043987654...@labsip.com caller_contact:sip:123456789-sbhn1naovm6bc@111.111.111.164:5060;transport=udp caller_cseq:149 caller_route_set: , callee_contact: callee_cseq: callee_route_set: caller_bind_addr:udp:111.111.111.138:5062 callee_bind_addr: sercmd> dlg.profile_get_size total Profile:total => profile:total value: count:1 sercmd> dlg.profile_get_size user Profile:user => profile:user value: count:0 sercmd> dlg.profile_get_size userout Profile:userout => profile:userout value: count:0 sercmd> dlg.profile_get_size peer Profile:peer => profile:peer value: count:0 sercmd> dlg.profile_get_size peerout Profile:peerout => profile:peerout value: count:0 Obviously, there's no such a call. But my dialog profile TOTOAL say's there's one, which is listed by sercmd. The dialog is persistent, I guess it will be destroyed after 12 hours, but I'd like to know why it's still there if I received a negative response and the ACK for it. Thanks, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Persistent dialog
El Tue, 16 Aug 2011 17:43:05 +0200 Jon Bonilla (Manwe) escribió: Another example, which is even worse for my configuration: A call rejected by the proxy itself sending a 480 response to the subscriber: New request - M=INVITE Dialog set mark TOTAL Proxy authentication failed New request - M=INVITE Dialog set mark TOTAL Dialog set mark user and userout to 'd5a78dafcb93' Destination check failed, reject call with 480 Then, after the call has been rejected I see two dialogs in my list: sercmd> dlg.profile_get_size total Profile:total => profile:total value: count:2 sercmd> dlg.profile_get_size user Profile:user => profile:user value: count:1 sercmd> dlg.profile_get_size userout Profile:userout => profile:userout value: count:1 sercmd> dlg.list hash:1002:1495821656 state:1 timestart:0 timeout:0 ... hash:2097:256764445 state:1 timestart:0 timeout:0 ... Any ideas about this? Is it a bug or something I'm doing wrong in my configuration? thanks, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Persistent dialog
El Tue, 16 Aug 2011 18:03:48 +0200 Timo Reimann escribió: > Hey, > > > > root@proxy1a:~# grep "fbrzjkplmvlauty@quenya" /var/log/kamailio.log > > New request - M=INVITE > > Dialog set mark TOTAL > > Proxy authentication failed > > New request - M=INVITE > > Dialog set mark TOTAL > > [snip!] > > > > While the call was being stablished or just after it was dropped (quickly) > > sercmd> dlg.list > > > > hash:3837:638039689 state:1 timestart:0 timeout:0 > > > > hash:3837:638039690 state:5 timestart:0 timeout:0 > > > > After a couple of minutes: > > > > hash:3837:638039689 state:1 timestart:0 timeout:0 > > > > Looks pretty much like two dialog entries were created for the same > dialog. One of them got cleaned up nicely on call termination while the > other one keeps dangling until the dialog timer kicks in (12 hours in > your case). > > Most notably, this situation may happen when spiraling calls without > using the spiral detection feature in the dialog module. (A spiral is a > scenario where a proxy is processing the same request twice, e.g., to > implement call forwardings.) Did you possibly toggle the default spiral > detection setting from enabled to disabled? No I didn't Here's the dialog modparams: modparam("dialog","dlg_flag", 9) modparam("dialog","profiles_no_value","total ;emergency") modparam("dialog","profiles_with_value","peer ; user ; type ; peerout ; userout") Maybe setting the dialog to TOTAL twice is the problem? I set it before proxy authentication. I asume that dialog is erased when sending the 407 back and a new one is created for the second INVITE. > > If that's not the case: Can you check the Kamailio logs for any > suspicious dialog-related log messages, particularly those with WARN or > higher log verbosity? > I'll increase kamailio's loglevel and reproduce the call. I'll send any WARN or above message related to this. cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Persistent dialog
El Tue, 16 Aug 2011 18:14:12 +0200 Jon Bonilla (Manwe) escribió: > El Tue, 16 Aug 2011 18:03:48 +0200 > Timo Reimann escribió: > > > > > If that's not the case: Can you check the Kamailio logs for any > > suspicious dialog-related log messages, particularly those with WARN or > > higher log verbosity? > > > > I'll increase kamailio's loglevel and reproduce the call. I'll send any WARN > or above message related to this. > > WARNING: dialog [dlg_handlers.c:884]: unable to find dialog for ACK with route param '6e4.5b2debb4' [1254:1270796981] WARNING: dialog [dlg_handlers.c:884]: unable to find dialog for BYE with route param '6e4.5b2debb4' [1254:1270796981] Looks like these two warnings match other calls. Not the two ones I've sent as example. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Error message
I have an error message in kamailio's log repeated many times. I tried to google it but no results (I think it's forst time I see no results in a google search) /usr/sbin/kamailio[3769]: ERROR: ctl [binrpc_run.c:942]: ERROR: binrpc: rpc_printf: binrpc_addstr failed: buffer too small (overflow) (-2) What does it mean? Any ideas? thanks, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Persistent dialog
El Tue, 16 Aug 2011 18:06:26 +0200 Jon Bonilla (Manwe) escribió: > > Then, after the call has been rejected I see two dialogs in my list: > > sercmd> dlg.profile_get_size total > Profile:total => profile:total value: count:2 > sercmd> dlg.profile_get_size user > Profile:user => profile:user value: count:1 > sercmd> dlg.profile_get_size userout > Profile:userout => profile:userout value: count:1 > > sercmd> dlg.list > hash:1002:1495821656 state:1 timestart:0 timeout:0 > ... > hash:2097:256764445 state:1 timestart:0 timeout:0 > ... > I've rechecked the dialog state of my second example call: sercmd> dlg.list hash:1002:1495821656 state:1 timestart:0 timeout:0 hash:2097:256764445 state:1 timestart:0 timeout:0 They are still there. But the profile count has changed: sercmd> dlg.profile_get_size total Profile:total => profile:total value: count:2 sercmd> dlg.profile_get_size user Profile:user => profile:user value: count:0 sercmd> dlg.profile_get_size userout Profile:userout => profile:userout value: count:0 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Persistent dialog
El Tue, 16 Aug 2011 18:38:17 +0200 Timo Reimann escribió: > Hey Jon, > > > On 16.08.2011 18:14, Jon Bonilla wrote: > >> Looks pretty much like two dialog entries were created for the same > >> dialog. One of them got cleaned up nicely on call termination while the > >> other one keeps dangling until the dialog timer kicks in (12 hours in > >> your case). > >> > >> Most notably, this situation may happen when spiraling calls without > >> using the spiral detection feature in the dialog module. (A spiral is a > >> scenario where a proxy is processing the same request twice, e.g., to > >> implement call forwardings.) Did you possibly toggle the default spiral > >> detection setting from enabled to disabled? > > > > No I didn't > > > > Here's the dialog modparams: > > > > modparam("dialog","dlg_flag", 9) > > modparam("dialog","profiles_no_value","total ;emergency") > > modparam("dialog","profiles_with_value","peer ; user ; type ; peerout ; > > userout") > > > > Maybe setting the dialog to TOTAL twice is the problem? I set it before > > proxy > > authentication. I asume that dialog is erased when sending the 407 back > > and a > > new one is created for the second INVITE. > > That's what spiral detection is supposed to prevent, i.e., the creation > of multiple structures for the same dialog. However, it only works if > you use the flag to track dialogs, not if you call dlg_manage() > explicitly. I see you have actually configured flag #9 as dialog flag > but just to make sure: Are you using that flag only, not dlg_manage() ? > I use dlg_manage, not the flag. I don't use the flag at all. What would be the difference using the flag? Any example about how to use the flag instead of dlg_manage? > Even if you did not use dlg_manage(), however, dialogs would likely not > be tracked properly if you started doing so on unauthenticated calls. > The reason is that terminated calls do not get removed until the > associated transaction is deleted. When that second, authenticated > INVITE is handled by the dialog module, it will find a dialog structure > already in the DELETED state (as the dialog ID matches) and refuse > further processing on it. > > This may be considered as a shortcoming of the current implementation. > On the other hand, do you actually need to track unauthenticated calls? > They could just be SIP attacks trying to disrupt your infrastructure and > shouldn't be accounted as real calls whatsoever. If you start tracking > dialogs after authentication, things should look better. > Only the dialog profile mark or also the dlg_manage? I set it very soon in my scenario because I also receive unauthenticated calls from trusted ips that I need to track. I'll try to check if I can deal with this and move it somewhere else. > > Cheers, > > --Timo Thanks Timo ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Persistent dialog
El Tue, 16 Aug 2011 19:26:25 +0200 Timo Reimann escribió: > > I think it's worth a try to see if my git branch already does better for > your use case. If you could give it a shot I'd be glad to know how it > works or whether it needs further work on. > > Hi Timo I'll try to get the patch (or the whole dialog module) from your branch and merge it into my 3.1.3 build. I'll make some tests tomorrow and I'll report back to you. thanks, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] E2E ACK is not logged with siptrace modul kamailio
El Mon, 22 Aug 2011 22:04:44 +0200 MÉSZÁROS Mihály escribió: > Hi Daniel > > >> > >> 1. > >> modul purple is not compiled for me. > >> hal:/usr/local/src/sip-router/modules_k/purple# make > >> CC (gcc) [M purple.so] clientpipe.o > >> In file included from purple.h:23, > >> from clientpipe.c:28: > >> /usr/include/libpurple/status.h:93: error: expected > >> specifier-qualifier-list before ‘gpointer’ > >> make: *** [clientpipe.o] Error 1 > > > > There was a change in the libpurple API and the module was not updated > > for latest version of libpurple -- it has no active maintainer. > > However, this module is not compiled by default, if you need it either > > update it to latest purple library or use an older version of that > > library. > > > Can you commit this to the git to avoid default compilation? > > diff --git a/pkg/kamailio/deb/debian/rules b/pkg/kamailio/deb/debian/rules > index 30feea7..80c23d8 100755 > --- a/pkg/kamailio/deb/debian/rules > +++ b/pkg/kamailio/deb/debian/rules > @@ -41,7 +41,7 @@ MODULES_SP= > # Note: the order is important (should be in dependency order, the one > # on which other depend first) > PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \ > - ldap xml perl utils purple memcached tls \ > + ldap xml perl utils memcached tls \ > snmpstats carrierroute xmpp cpl lua python geoip > You have different debian folders based on different debian distros. Take a look to pkg/kamailio/deb/ If you use squeeze, you could perform: ln -s pkg/kamailio/deb/squeeze debian and then build kamailio. By default, if you don't symlink debian to a specific distro folder pkg/kamailio/deb/debian is used, which includes almost all the modules. Works fine in debian lenny and ubuntu lucid. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] max branches
Hi all Is there any configuration option in kamailio 3.1 to set the max number of branches? I have a system that needs to run over 30 times to failure_route and call append_brach() from there. At 11-12 iteractions I get the following errors: ERROR: tm [t_fwd.c:651]: ERROR: add_uac: maximum number of branches exceeded ERROR: tm [t_fwd.c:1528]: ERROR: t_forward_nonack: failure to add branches ERROR: tm [tm.c:1368]: ERROR: w_t_relay_to: t_relay_to failed ERROR: tm [t_reply.c:965]: ERROR: run_failure_handlers: Error in run_top_route cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] max branches
El Tue, 23 Aug 2011 11:58:51 +0300 Juha Heinanen escribió: > Jon Bonilla (Manwe) writes: > > > Is there any configuration option in kamailio 3.1 to set the max number of > > branches? > > there is no config option. max branches is a constant in config.h: > > #define MAX_BRANCHES 12 /*!< maximum number of branches per > tra nsaction */ > Thanks Juha. Guess I'll need to rebuild for this server :( ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] uac_req: pseudovariables, avps
Hi all I'm trying to generate a request using uac_req in a failure route when the call has been canceled. (Kamailio 3.1.3) Here's the code: failure_route[FAILURE_ROUTE_LALA] { if t_is_canceled() { $uac_req(method) = "INVITE"; $uac_req(ouri) = "sip:127.0.0.1:5090"; $uac_req(ruri) = $ru; $uac_req(furi) = $fu; $uac_req(turi) = $tu; $uac_req(hdrs) = "X-PUSH-Type: mytype\r\nX-PUSH-CLI: $avp(s:first_caller_cli)\r\nX-PUSH-DST: $rU\r\n"; uac_req_send(); route(ROUTE_STOP_RTPPROXY); exit; } ... } The problem here is that the headers X-PUSH-CLI and X-PUSH-DST have literal '$avp(s:first_caller_cli)' and '$rU' values. Here's the INVITE I send: U 2011/08/23 17:07:09.467666 127.0.0.1:5062 -> 127.0.0.1:5090 INVITE sip:ngcpte...@domain.com SIP/2.0' Via: SIP/2.0/UDP 127.0.0.1:5062;branch=z9hG4bK925.85ac80a2.0' To: sip:ngcpte...@domain.com' From: sip:sipwi...@domain.com;tag=cf3b49e60a035342e3af7df009437068-9f9a' CSeq: 10 INVITE' Call-ID: 25f2b3a34ed8488c-3417@127.0.0.1' Content-Length: 0' User-Agent: Sipwise NGCP Proxy 2.X' X-PUSH-Type: mytype' X-PUSH-CLI: $avp(s:first_caller_cli)' X-PUSH-DST: $rU' I also tried to put the headers in a $var and in a $avp and set the value like: $var(cancel_push_request)="X-PUSH-Type: missed_call\r\nX-PUSH-CLI: $avp(s:first_caller_cli)\r\nX-PUSH-DST: $rU\r\n"; $uac_req(hdrs) = $var(cancel_push_request); If I xlog the values like this: xlog("L_INFO", " Comprobando valores '$avp(s:first_caller_cli)' -- '$rU'); The kamailio log show the correct value: INFO:
Re: [SR-Users] uac_req: pseudovariables, avps
El Tue, 23 Aug 2011 17:32:41 +0200 Alex Hermann escribió: > On Tuesday 23 August 2011, Jon Bonilla wrote: > > Hi all > > > > I'm trying to generate a request using uac_req in a failure route when the > > call has been canceled. (Kamailio 3.1.3) > > > > Here's the code: > > > $uac_req(hdrs) = "X-PUSH-Type: mytype\r\nX-PUSH-CLI: > > $avp(s:first_caller_cli)\r\nX-PUSH-DST: $rU\r\n"; > > Strings aren't evaluated for PV's. Use pv_printf or concatenate the different > components with '+'. > Thanks Alex. It has sense. Tried with '+' and worked perfectly. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] planning v3.1.5
El Thu, 08 Sep 2011 17:16:24 +0200 Daniel-Constantin Mierla escribió: > Hello, > > it's being quite some time since we released 3.1.4, so I am thinking of > packaging soon v3.1.5 out of stable branch 3.1. My plan is to release it > Wednesday, September 14, 2011. Any other opinions? > > Cheers, > Daniel > There's a bug in the dialog module (146) but I don't know if it will be handled in 3.1 branch. Don't think it's release critical neither. http://sip-router.org/tracker/index.php?do=details&task_id=146 What I would check is how many of the critical-medium reported issues afect 3.1 branch. I would not release a stable version with medium+ reported issues opened. http://sip-router.org/tracker/index.php?project=1&do=index my 0.02€ ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] kamailio debian/ubuntu support
Hi all with the release of kamailio 3.1.5, I've done a small change to the debian repositories: Nightly builds of kamailio_3.0 branch have been dropped and the repository has been erased. There is no development in this branch and it has no sense to keep nightly builds for it. Those (few) people using kamailio_3.0-nightly repositories are advised to move their sources.list to the stable 3.0 repository of upgrade to 3.1 or master branches. kamailio 3.0 will continue to be packaged if any new stable version is released for etch, lenny, squeeze and lucid. For 3.1 branch, nightly builds and stable repos will be provided for lenny, lucid and squeeze When the time for 3.2 (master branch at the moment) comes, I'll add Wheezy support. Not sure about Ubuntu distro support. Should we add support to Ubuntu 11.10 or wait until the lts 12.04 is released? Any opinions welcomed cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] [sr-dev] kamailio debian/ubuntu support
El Fri, 16 Sep 2011 15:35:37 +0200 Klaus Darilion escribió: > > > On 15.09.2011 10:44, Jon Bonilla (Manwe) wrote: > > When the time for 3.2 (master branch at the moment) comes, I'll add Wheezy > > support. Not sure about Ubuntu distro support. Should we add support to > > Ubuntu 11.10 or wait until the lts 12.04 is released? > > I found it always very confusing that there are different debian specs > for different debian versions. It would be great if it possible to write > a debian spec which works on most versions > Hi klaus. There's really one single debian spec, which is the "debian" folder under pkg/kamailio/deb/debian The other folders are the same one but just removing those modules that won't compile due to dependency problems. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] limiting concurrent calls with dialog module
El Sun, 02 Oct 2011 21:03:38 -0500 Graham Wooden escribió: > Hi Uri, > > I just got done tailoring this exact concept with the dialog module (you may > have just read my posts). > Two tips here: Due to a couple of bugs in the dialog module I'd suggest you to run this code after the user auth has been successfull. You'll need to call dlg_manage() function first. The other bug makes the dialog not being freed if you send a sl reply generated by the proxy. You should call t_newtran + t_reply to send a statefull reply to the user. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] new wiki system
El Mon, 03 Oct 2011 11:02:51 +0200 Daniel-Constantin Mierla escribió: > Hello, > > I installed a new wiki site, targeting to collect documentation for > upcoming v3.2.0 and further releases. You can find it at: > >* http://www.kamailio.org/wiki/ > > Hopefully, it will make the process of updating/migrating the relevant > documentation from old wiki (http://www.kamailio.org/dokuwiki/) > straightforward and offer a clean reference for upcoming stable version. > Old wiki is in place since 2005, collected a lot of pages, but many are > for very old versions of kamailio, making difficult, at least for new > comers, to sort out documentation for latest stable. > > All of you are invited to help with this process of adding documentation > for 3.2.0 on the new wiki. The old wiki will stay in place, it will not > be removed. Both are based on Dokuwiki, using different themes. The new > one is at the beginning, so no much content in there yet, but by the > time of releasing 3.2.0, should contain sufficient documentation for get > started with that version. > > One very demanded thing was the alphabetic index for parameters, > functions and mi commands from modules. This page contains new generated > indexes for version 3.2.0. More details in a separate email. > > If you have questions about the new wiki, don't know where to place some > tutorial, feel free to ask on mailing lists. Ultimately, pages can be > relocated, but try to use namespaces for related topics. > > Cheers, > Daniel > As suggestion, not related to the content, I'd change the theme. That red looks very agressive to me. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] SIP INVITE
El Tue, 11 Oct 2011 12:30:48 +0545 "Amar Tuladhar" escribió: > Dear all, > > Hope you will help us with this issue. Please, do not use the "answer" button to create a new topic. You break thread views. thanks, jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Kamailio3.2 debian repo fails
El Thu, 27 Oct 2011 19:04:18 +0200 Daniel-Constantin Mierla escribió: > Hello, > > indeed, it looks like debs for 3.2 are not yet generated -- the apt repo > for it has not debs. Jon (cc-ed) was taking care of it, afaik, he is > traveling these days, so it may take a bit until he can loot at it. > > Meanwhile, if you have a debian system where you can install the > dependencies, you can build he debs yourself. In the sources directory > of kamailio do: > > ln -s pkg/kamailio/deb/squeeze debian > make deb > > Debs will be dumped in parent directory. > > Cheers, > Daniel > > On 10/27/11 2:37 PM, Benjamin Henrion wrote: > > Hi, > > > > I have the following /etc/apt/sources.list: > > > > > > $ cat /etc/apt/sources.list > > deb http://ftp.debian.org/debian squeeze main contrib non-free > > deb-src http://ftp.debian.org/debian squeeze main contrib non-free > > > > deb http://deb.kamailio.org/kamailio32 squeeze main > > deb-src http://deb.kamailio.org/kamailio32 squeeze main > > > > Who is responsible for the debian packaging? > > Hi The stable repo for branch 3.2 has been created but I didn't had the time to do the builds for it. I'll try to do them ASAP. Meanwhile, you could build the packages yourself or use the nightly builds for the 3.2 branch As soon as the packages are available I'll send an email. I want also to add wheezy support for the different branches and do other cleanups. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Kamailio3.2 debian repo fails
El Tue, 01 Nov 2011 13:20:00 +0100 Daniel-Constantin Mierla escribió: > Hi Jon, > > seems that 3.2 nightly builds repository is not set as well. I tried to > look at: > > http://deb.kamailio.org/kamailio32-nightly > > > Or did you mean something else? > you're right. I'll try to fix this and also release the stable packages tomorrow. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Kamailio3.2 debian repo fails
El Tue, 1 Nov 2011 21:54:25 +0100 Jon Bonilla (Manwe) escribió: > El Tue, 01 Nov 2011 13:20:00 +0100 > Daniel-Constantin Mierla escribió: > > > Hi Jon, > > > > seems that 3.2 nightly builds repository is not set as well. I tried to > > look at: - Kamailio 3.2.0 packages have been finally created. The stable repo should work. - "kamailio" repo now points to 3.2. - Debian wheezy support has been added to 3.1, 3.2 and master branches. - 3.2-nightly builds have been fixed. - Hopefully, Wheezy nightly builds will be added to the nightly repos tomorrow. - The Wiki page has been updated with the latest information: http://www.kamailio.org/dokuwiki/doku.php/packages:debs let me know if anything fails cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Build 3.3 on ubuntu 12.10
El Sun, 27 Jan 2013 15:16:16 + Gareth Rylance escribió: > Hi I am trying to build the kamailio deb packages on ubuntu 12.04. > > when I run make deb I get > > dpkg-checkbuilddeps: Unmet build dependencies: libmono-dev > > but libmono-dev is not available on 12.04 how do I > > 1. Fix the dependancy > > 2. Ignore it as I am not using app_mono (although I have an idea that may > in the future) > You have debian folders specific for ubuntu lts releases under pkg/kamailio/deb/ you just need to link create a symlink to point the "debian" folder to the one which matches your release and then just run "dpkg-buildpackage" ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Fwd:
El Tue, 5 Feb 2013 20:24:13 +0100 jose luis escribió: > http://www.lacucinalibanese.altervista.org/rjugo4.php?s=ot > Has mandado esto a la lista de kamailio? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] [sr-dev] Kamailio v3.3.4 Released
El Mon, 25 Feb 2013 18:51:52 +0100 Daniel-Constantin Mierla escribió: > Hello, > > Kamailio SIP Server v3.3.4 stable release is out. > > This is a maintenance release of the latest stable branch, 3.3, that > includes fixes since release of v3.3.3. There is no change to database > schema or configuration language structure that you have to do on > installations of v3.3.0, v3.3.1, v3.3.2 or v3.3.3. Deployments running > previous v3.x.x versions are strongly recommended to be upgraded to v3.3.4. > > For more details about version 3.3.4 (including links and hints to > download the tarball or from GIT repository), visit: > >* http://www.kamailio.org/w/2013/02/kamailio-v3-3-4-released/ > > RPM, Debian/Ubuntu packages will be available soon as well. > Debian and Ubuntu packages have been generated. You can find the instructions in the wiki http://www.kamailio.org/dokuwiki/doku.php/packages:debs ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Operator !~
Hi all I was checking for an operator not matching regular expression. Acording to the doc we have =~ and !~ for matching and not matching. http://www.kamailio.org/wiki/cookbooks/3.3.x/core#script_statements I tried this one: if(!is_domain_local("$rd") && $rd !~ "^.+\.local$") Resulting on these errors: root@sp1:~# /etc/init.d/kamailio-proxy restart Not executing command for kamailio-proxy: invalid configuration file! -e 0(1813) : [cfg.y:3549]: parse error in config file /etc/kamailio/proxy/proxy.cfg, line 1067, column 36: syntax error 0(1813) : [cfg.y:3549]: parse error in config file /etc/kamailio/proxy/proxy.cfg, line 1067, column 52: bad expression 0(1813) : [cfg.y:3549]: parse error in config file /etc/kamailio/proxy/proxy.cfg, line 1067, column 52: bad command 0(1813) : [cfg.y:3549]: parse error in config file /etc/kamailio/proxy/proxy.cfg, line 1068, column 2: bad command 0(1813) : [cfg.y:3546]: parse error in config file /etc/kamailio/proxy/proxy.cfg, line 1083, column 2-21: syntax error 0(1813) : [cfg.y:3546]: parse error in config file /etc/kamailio/proxy/proxy.cfg, line 1083, column 2-21: ERROR: bad config file (6 errors) while this one: if(!(is_domain_local("$rd") || $rd =~ "^.+\.local$")) Works perfectly fine. Am I wrong with the usage of !~ operator? cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Operator !~
El Tue, 9 Apr 2013 18:16:52 +0200 José Luis Millán escribió: > Jon, > > I guess you can find the response in [1] > > ``` > not operator in if() > > if (!$fd=~“regexp”) must now be written as if (!($fd=~“regexp”)) for what > reason ever. > > Notice: the operator !~ seems not to be working for some reason as well. > e.g.: ($fd !~ 'not this') must be replaced with !($fd =~ 'not this') > ``` > > We found the same issue when starting with Kamailio 3.X > > Hope this helps. > > [1]: http://www.kamailio.org/dokuwiki/doku.php/install:1.5.x-to-3.0.0 > > Thx Jose. Looks like the documentation (core cookbook) wasn't updated. > 2013/4/9 Jon Bonilla > > > Hi all > > > > I was checking for an operator not matching regular expression. Acording > > to the > > doc we have =~ and !~ for matching and not matching. > > > > http://www.kamailio.org/wiki/cookbooks/3.3.x/core#script_statements > > > > > > I tried this one: > > > > if(!is_domain_local("$rd") && $rd !~ "^.+\.local$") > > > > Resulting on these errors: > > > > root@sp1:~# /etc/init.d/kamailio-proxy restart > > Not executing command for kamailio-proxy: invalid configuration file! > > -e > > 0(1813) : [cfg.y:3549]: parse error in config file > > /etc/kamailio/proxy/proxy.cfg, line 1067, column 36: syntax error > > 0(1813) : [cfg.y:3549]: parse error in config file > > /etc/kamailio/proxy/proxy.cfg, line 1067, column 52: bad expression > > 0(1813) : [cfg.y:3549]: parse error in config file > > /etc/kamailio/proxy/proxy.cfg, line 1067, column 52: bad command > > 0(1813) : [cfg.y:3549]: parse error in config file > > /etc/kamailio/proxy/proxy.cfg, line 1068, column 2: bad command > > 0(1813) : [cfg.y:3546]: parse error in config file > > /etc/kamailio/proxy/proxy.cfg, line 1083, column 2-21: syntax error > > 0(1813) : [cfg.y:3546]: parse error in config file > > /etc/kamailio/proxy/proxy.cfg, line 1083, column 2-21: > > ERROR: bad config file (6 errors) > > > > > > > > while this one: > > > > if(!(is_domain_local("$rd") || $rd =~ "^.+\.local$")) > > > > > > Works perfectly fine. > > > > Am I wrong with the usage of !~ operator? > > > > > > > > cheers, > > > > Jon > > > > > > ___ > > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > > sr-users@lists.sip-router.org > > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > > > > ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] mediaproxy-ng Tutorial
El Wed, 10 Apr 2013 10:17:18 +0200 Klaus Darilion escribió: > > > On 02.04.2013 15:05, Richard Fuchs wrote: > > Hi, > > > > On 04/01/13 10:03, Aft nix wrote: > > > >> I stumbled upon this git://github.com/sipwise/mediaproxy-ng.git which > >> looked very neat to me. Its said that it can be used with kamailio. It > >> seems like its backed sipwise inc. > >> > >> But no documentation is given there. Anyone know of a > >> tutorial/documentation for how to use it? > > > > It comes bundled with our NGCP product and is fully integrated there. > > Despite its name, it's intended to be used with the Kamailio rtpproxy > > module (not mediaproxy) and except for a few unsupported features (like > > media recording) it can be used as a drop-in replacement RTP proxy. > > > > The newest version supports a new control protocol, which is facilitated > > through a new Kamailio module rtpproxy-ng. > > I think it is a bad idea to name the relay "mediaproxy-ng" and the > corresponding Kamailio module "rtpproxy-ng". > Indeed ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] mediaproxy-ng Tutorial
El Wed, 10 Apr 2013 14:41:33 +0200 "Olle E. Johansson" escribió: > > 10 apr 2013 kl. 14:38 skrev Richard Fuchs : > > > On 04/10/13 04:17, Klaus Darilion wrote: > > > >> I think it is a bad idea to name the relay "mediaproxy-ng" and the > >> corresponding Kamailio module "rtpproxy-ng". > > > > I've considered that. Apart from the other reasons already mentioned, > > for me the deciding factor was that the new module forms a drop-in > > replacement (at least for the time being) for the rtpproxy module and > > not the mediaproxy module. All you have to do is append "-ng" in your > > config and you're done. Plus, I hope we won't remain the only ones > > providing an RTP proxy solution that works with the new protocol. > > Let's just call both "Bert" and find a good reason why. > > Or "chrome". ;-) > /O > +1 to chrome :) ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Kamailio+RTProxy failover active calls
El Thu, 8 Aug 2013 09:47:15 +0200 Ivan Baques Garcia escribió: > Hi, > > Is possible to failover active calls between different RTPProxys with > Kamailio without dropping active calls and not loosing audio? > > Best regards, You already asked this twice. Not with rtpproxy or mediaproxy that I know. Mediaproxy-ng supports this feature in Sipwise NGCP Sip:Provider Pro. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] avpops, using avp for regexp
Hi all I have a avp_check function call in my proxy configuration. I was using "fm" operation until now but I need somethinkg more powerful and need to change it to "re" http://kamailio.org/docs/modules/3.3.x/modules/avpops.html#idp1576784 My problems comes when I see that "re" needs fixed string. My syntax using avp is not accepted by kamailio: Aug 16 14:59:49 sp1 /usr/sbin/kamailio[687]: ERROR: avpops [avpops.c:688]: regexp operation requires string value My syntax looks like: avp_check("$avp(s:callee_cli)", "re/$avp(s:caller_adm_block_out_list)/g" I see that this limitation was present back in 2006: http://lists.sip-router.org/pipermail/users/2006-November/007935.html Any ideas? cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] [OT] Video processing of Kamailio Word recordings
El Mon, 26 Aug 2013 18:53:21 +0200 Daniel-Constantin Mierla escribió: > Hello, > > I have few GB with the recordings of presentations from Kamailio World, > but they are in full HD format and need to be processed for uploading to > one of the web sites hosting videos. Not being familiar with video > processing, I am asking here to see if anyone can give some hits about > what I could use to prepare the videos for upload. I would need to do: > - merge some video files > - cut from video files > - eventually add few frames at the beginning with title of > presentation/name of presenter > - resize/transcode to right format for web publishing > > Let me know if you know some good/easy to use toolkit for such > operations (free or at low cost), running on Linux or Mac OS X. > > Also, if anyone volunteers to help and has already an adequate > infrastructure for video editing, maybe it is easier to transfer the raw > content via snail mail on a usb stick (unless you are in Berlin area > where we can meet in person). > > Another point would be suggestions about what web sites to use for > publishing the videos. Youtube is one of them, but maybe there are > better alternatives. If that matters, the average time of presentations > should be 25-30min. > > Thanks, > Daniel > Youtube has fullHD support. I'd ask to upload the videos in that quality. Youtube itself creates lower quality options AFAIK. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] segfault kamailio 3.01 avp_copy flag g
Hi all I have experienced segfaults when using avp_copy in Kamailio 3.01. This happens when using the "g" flag and the avp is not null (no problem if it has no content) avp_copy("$avp(s:block_out_list)", "$avp(s:caller_block_out_list)/gd"); Removing the "g" flags works ok (but does not copy all the content of course): avp_copy("$avp(s:block_out_list)", "$avp(s:caller_block_out_list)/d"); Directly copying the avp works fine: $avp(s:caller_block_out_list) = $avp(s:block_out_list); Logs: kernel: [1503237.523015] kamailio[8156]: segfault at 1008eb91c ip 505344 sp 7fffad10 error 4 in kamailio[40+1c9000] WARNING: [usr_avp.c:483]:AVP specified with index, but not used for search ALERT: [main.c:722]: child process 8156 exited by a signal 11 ALERT: [main.c:725]: core was not generated INFO: [main.c:737]: INFO: terminating due to SIGCHLD INFO: [main.c:788]: INFO: signal 15 received ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] segfault kamailio 3.01 avp_copy flag g
El Thu, 06 May 2010 19:21:54 +0200 Daniel-Constantin Mierla escribió: > Hello, > > can you get the backtrace. Make sure the ulimit is enough for writing a > core and kamailio has written permissions in the working directory. > > Cheers, > Daniel > #0 search_next_avp (s=0x7fffb420, val=0x7fffb470) at usr_avp.c:394 #1 0x7fa51ce204f0 in ops_copy_avp (msg=0xb07cb8, src=, dst=0xb3b5a0) at avpops_impl.c:882 #2 0x0041569f in do_action out>(h=0x7fffceb0, a=0x8f2ea8, msg=0xb07cb8) at action.c:860 #3 0x00418014 in run_actions (h=0x7fffceb0, a=0x8ea950, msg=0xb07cb8) at action.c:1293 #4 0x00415991 in do_action (h=0x7fffceb0, a=0x965090, msg=0xb07cb8) at action.c:479 #5 0x00418014 in run_actions (h=0x7fffceb0, a=0x93fb50, msg=0xb07cb8) at action.c:1293 #6 0x00415991 in do_action (h=0x7fffceb0, a=0x8c0058, msg=0xb07cb8) at action.c:479 #7 0x00418014 in run_actions (h=0x7fffceb0, a=0x8c0058, msg=0xb07cb8) at action.c:1293 #8 0x00414b57 in do_action (h=0x7fffceb0, a=0x8c0148, msg=0xb07cb8) at action.c:853 #9 0x00418014 in run_actions (h=0x7fffceb0, a=0x8b7d10, msg=0xb07cb8) at action.c:1293 #10 0x00415991 in do_action (h=0x7fffceb0, a=0xb20238, msg=0xb07cb8) at action.c:479 #11 0x00418014 in run_actions (h=0x7fffceb0, a=0xb20238, msg=0xb07cb8) at action.c:1293 #12 0x00414b57 in do_action (h=0x7fffceb0, a=0xb20ff8, msg=0xb07cb8) at action.c:853 #13 0x00418014 in run_actions (h=0x7fffceb0, a=0xb17658, msg=0xb07cb8) at action.c:1293 #14 0x00418373 in run_top_route (a=0xb17658, msg=0xb07cb8, c=) at action.c:1341 #15 0x0047fd2e in receive_msg (buf=0x863580 "INVITE sip:12...@77.xxx.xxx.xxx SIP/2.0\r\nVia: SIP/2.0/UDP 10.0.0.7;rport;branch=z9hG4bKejhpkapt\r\nMax-Forwards: 69\r\nProxy-Authorization: Digest username=\"lalala2\",realm=\"77.XXX.XXX.XXX\",nonce=\"4be30da"..., len=, rcv_info=0x7fffd130) at receive.c:196 #16 0x004fe381 in udp_rcv_loop () at udp_server.c:520 #17 0x00454b01 in main_loop () at main.c:1447 #18 0x00457582 in main (argc=, argv=) at main.c:2251 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] segfault kamailio 3.01 avp_copy flag g
El Thu, 06 May 2010 21:15:38 +0200 Daniel-Constantin Mierla escribió: > Hello, > > hopefully was a easy one, please fetch latest git and try again. Let me > know if is fixed. > > worked. BTW, is there a preferred way to do this in kamailio 3? $avp(s:caller_block_out_list) = $avp(s:block_out_list); or avp_copy("$avp(s:block_out_list)", "$avp(s:caller_block_out_list)/gd"); thanks! ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] segfault kamailio 3.01 avp_copy flag g
El Thu, 06 May 2010 22:13:32 +0200 Daniel-Constantin Mierla escribió: > do you have only one value for that avp or many? Many. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] segfault kamailio 3.01 avp_copy flag g
El Thu, 06 May 2010 22:20:04 +0200 Daniel-Constantin Mierla escribió: > >> > > do you have only one value for that avp or many? If only one, then > > assignment is more actual. Lot of stuff from avpops is obsoleted by > > script operations, a reason avpops has not been much under focus lately. > > completing a bit - no much work on avpops is a result of avps being just > a sub-class of script variables. when avpops was created, it was > practically no script variables, avps+avpops being the only way to do > kind of variable-like operations. > > Now there are many script variables, so the script language offer > mechanisms for dealing with. > Time to update cfg files then. Thanks a lot Daniel! ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Multiple domains in different servers
El Thu, 27 May 2010 04:44:53 +0100 Ricardo Coelho escribió: > Hi, > > Right now I have 2 machines (one on domainA and the other on domainB). I > want to allow a phone registered in the openser from domainA to call a phone > registered in the openser from domainB (and vice-versa). I have already > inserted both domains in both openser but when I try to call a "user not > found" message is returned. Can anyone help me? > Could you explain "inserted both domains in both openser"? Why would you do that? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Multiple domains in different servers
El Thu, 27 May 2010 14:01:03 +0100 Ricardo Coelho escribió: > Insert both domains in both mysql databases of each openser > Do you mean that for calling a u...@company.com account I should add company.com to my database? I am sorry but I still don't understand what you mean. In which tables and for what purpone? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Multiple domains in different servers
El Thu, 27 May 2010 16:09:35 +0100 Ricardo Coelho escribió: > Hi, > > Forget the domains and tables. What I want is: I have 2 machines running > openser and some phones are registered on openserA and some on openserB. I > want to allow a phone in openserA to call a phone in openserB. > > Sorry for the mess and thanks The easyest way for you if you would be to perform a lookup and if the user is not local just rewite the uri and send the call to the other host. Or you could just try if you have domain part if(!is_domain_local("$rd")) and have a code to route calls to the outside ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] New debian and ubuntu repository for kamailio released!
We are proud to announce the release of a Debian and Ubuntu repository for Kamailio. We hope this will make easier installation and update of Kamailio on Debian and Ubuntu servers. Kamailio project's web page hosts the description and instructions: http://www.kamailio.org/dokuwiki/doku.php/packages:debs cheers, Sipdoc Team ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Can't build kamailio on fresh debian squeezy
El Wed, 16 Jun 2010 12:14:11 +0300 Dmitri Korotkov escribió: > Hello all, > > After debian squeeze upgrade (as well as in new squeeze installation) it > is impossible to build kamailio. > All dep. packages were installed and I successfully done this task before. > Does anybody have same problem ? Is there any solution ? > > Part of the build log is shown below. > > BR, > Dmitri > > You can find Kamailio builds for debian squeeze at kamailio download page. http://www.kamailio.org/dokuwiki/doku.php/packages:debs In your case, it is a problem with purple module which seems not to compile with libpurple 2.7 and above. If you can fix that please report :) ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] new developer: Timo Reimann
El Wed, 23 Jun 2010 13:55:10 +0200 Henning Westerholt escribió: > Hi all, > > i'm happy to announce a new developer for the sip-router project: > Timo Reimann. > > Timo is an experienced developer in our offices in Karlsruhe and since over > one year part of the team that develops our VoIP backend services. His past > work involved extensions for the dialog module and also a new lawful > interception solution that we use in-house. He contributed (with some other > developers) to the new dialog design in the last months and will continue to > work on this in the future. > > Best regards, > > Henning > Good news! Welcome Timo! (Although as Iñaki says you already were a developer in our minds) ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] memcached compile problems
El Wed, 23 Jun 2010 12:24:53 -0400 "Ricardo Martinez" escribió: > Hello list. > > I'm using the GIT versión of Kamailio 3.0. > > When I add memcached in the compilation I got the next error : > > > > memcached , memcached-devel , libmemcached and libmemcached-devel > Could you please tell us which distribution and version you're using? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Problem with authdb and view(?)
Hi all I've created a "subscriber" table which is a view of a asterisk sippeers table. The view is created as follows: create view subscriber as select id, name as username, fromdomain as domain, secret as password, email as email_address, md5secret as ha1, md5secret as ha1b, NULL as rpid from sippeers where type="friend"; and one of the resulting subscribers looks like this: *** 5. row *** id: 100022 username: user domain: domain.com password: plain or empty email_address: u...@domain.com ha1: 3a4f5cc8dc0efb0d899cawe4dec9ea08 ha1b: 3a4f5cc8dc0efb0d899cawe4dec9ea08 rpid: NULL But when I try to register I get ERROR in the logs: New request - M=REGISTER R=sip:domain.com F=sip:u...@domain.com ERROR: db_mysql [km_dbase.c:123]: db_mysql_submit_query(): driver error on query: Unknown column 'md5secret' in 'field list' ERROR: [db_query.c:132]: db_do_query_internal(): error while submitting query ERROR: auth_db [authorize.c:187]: get_ha1(): failed to query database Is there any problem with views? Why the logs talks about md5secret column when it should see ha1? cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Problem with authdb and view(?)
El Fri, 25 Mar 2016 11:29:58 +0100 "Jon Bonilla (Manwe)" escribió: > Hi all > > answering myself: It was my error setting the password_column in the cfg. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] SQLOPS select database in realtime
Hi all I have multiple auth credentials split among multiple databases (same server). I want to extract the password from the correct database for each request and pass it as arameter to the auth functions. The problem is, how can I use sqlops and select the correct database in realtime? the db connection already contains the database to connect to. Would it if I use a default connection but I put the db I want i the query? Something like: select * from database.table ... select * from $avp(s:database).table where i=1... cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] auth result -3
Hi all I'm getting an auth challenge result of -3 and I don't know what it means as it's not listed in the auth module doc. Here's syslog' output: db_postgres [km_dbase.c:230]: db_postgres_submit_query(): sending query ok: 0x7f36d1f75f00 (2) - [select secret from sip_buddies where username='48481628780'] db_postgres [km_res.c:108]: db_postgres_get_columns(): 1 columns returned from the query db_postgres [km_res.c:133]: db_postgres_get_columns(): RES_NAMES(0x7f36d1f92238)[0]=[secret] db_postgres [km_res.c:166]: db_postgres_get_columns(): use DB1_STRING result type db_postgres [km_res.c:211]: db_postgres_convert_rows(): no rows returned from the query auth_db [authorize.c:199]: get_ha1(): no result for user '48481628780@' INFO:
Re: [SR-Users] auth result -3
El Mon, 19 Dec 2016 16:55:39 +0100 Daniel Grotti escribió: > Hi Jon, > isn't it "invalid user" ? > > > auth_db [authorize.c:199]: get_ha1(): no result for user '48481628780@' > > http://www.kamailio.org/docs/modules/4.4.x/modules/auth_db.html > > > Hi Daniel I was reading the wrong module doc. omg! I'll go to bed :) ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] What going on this SDP
El Fri, 04 Apr 2014 08:18:22 +0200 Rainer Piper escribió: > Hallo, > my guess is the audio codec opus > > asterisk can NOT do transcoding from opus to pcmu. > > The opus codec in asterisk is (just) a path through codec. > > your trace right at the end: > !!! Failed to parse SessionDescription. Failed to parse audio codecs > correctly !!! > Just in case you don't know the patch: https://github.com/meetecho/asterisk-opus cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] rr problem: sips instead of sip
Hi all I'm experiencing a problem while using a mobile client on a NGCP mr3.5.1 (based on kamailio 4.1.6) The problem is as follows: A custom mobile client B blink for linux The path of a call from B to A would be this one: B --> Kamailio LB --> Kamailio proxy --> Sems --> Kamailio LB --> A Kamailio LB is a stateless proxy. Kamailio proxy is a stateful proxy and registrar and sems acts as B2BUA. Kamailio LB listens tcp,udp and tls to the outside and speaks udp to the inside. Kamailio proxy and sems only listen udp localhost (ports 5062 ans 5080). My problem comes when the ACK from B to A (to the INVITE-200) doesn't leave the Kamailio LB to the proxy. The problem is that the kamailio proxy added itself as sips in the record-route header: U 2014/11/06 19:22:20.447717 127.0.0.1:5062 -> 127.0.0.1:5080 INVITE sips:test1@10.0.1.5:41956;rinstance=145658D8;transport=tcp SIP/2.0' Record-Route: ' Record-Route: ' Record-Route: ' Via: SIP/2.0/UDP 127.0.0.1:5062;branch=z9hG4bKc36a.b42be7e4a4db27ac699a52fda7fb5fe0.0' Route: ' Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKc36a.a58b9955ce93726b17c0240a555011f2.0' Via: SIP/2.0/UDP 10.10.10.4:47879;received=ZZ.ZZ.ZZ.ZZ;rport=47879;branch=z9hG4bKPj6UmIovzyxDRCgcuz-VoXHEyJHRpA712x' When the ACK arrives to the LB from B, it can't relay it to the Kamailio proxy: NOTICE:
[SR-Users] Dispatcher: Check uri string in Kamailio 3.3
Hi all I need to check a given uri against dispatcher destination entries. I see that it's possible in kamailio 4.2 using ds_is_from_list which allows "uri" parameter but it's not available in version 3.3. Moving to 4.x is not an option this time. Any hints about how to check this? Raw sql + string comparation or something more elegant out there? thanks, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Asking for help in configuration Kamailio
El Fri, 27 Mar 2015 13:21:00 +0300 Mikael Sarkisyan escribió: > > UAC going to Kamailio IP address and Kamailio forwarding request to Asterisk > IP without auth on Kamailio and auth with asterisk .conf files (i mean > without mysql at all) But i wanna keep data about what to do will presence > and other stuff Can you make changes in attached files please? > > IMHO, you're not asking for help but for consultancy. You should purchase professional services for that. cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Share location table 3.x 4.x
Hi all I'm sharing a location table between two kamailio 3.3 and kamailio 4.2 servers. Table versions are 5 and 6 but I don't know how to skip table version checking to prevent one of them from running. Any tips? thanks, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Share location table 3.x 4.x
El Tue, 31 Mar 2015 11:48:55 +0200 Daniel-Constantin Mierla escribió: > Hello, > > in 4.2 there is a global parameter to set the version table name, so you > can create another table with different name where you can put the > appropriate version values. > > Thanks Daniel. This seems to be what I'm looking for. I didn't find it in the core coockbook. It's not documented AFAICS. I added version_table="version42" to the script and kamailio could run. Now I'll check if everything runs smooth. cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Loadbalancing proxy using DNS SRV instead of dispatcher
El Fri, 17 Apr 2015 09:41:55 +0100 Cezary Siwek escribió: > Hi, > > I haven't tried it mysefl (will probably do it in a near future) but > there is core configuration parameter to be enabled. > http://www.kamailio.org/wiki/cookbooks/4.2.x/core#dns_srv_lb > > As we speak, some of our clients reported similar issue when connection > to us using FreeSWITCH and setting weight to 0 seem to resovle the issue > (it was prosposed solution on freeswitch mailing list) > > We internally don't do SRV LB in outbound direction but probably will so > please come back with your results. > I had the issue in the past and here's how it was solved: - When sending your "first" request to the server resolving it by DNS, you can store the destination IP in a hash table (callid--> IP) using onsend_route The kamailio script should check something like this: 1: Initial request. Is the callid in hash table? Yes --> Don't resolve DNS and send it to the stored IP NO --> Use DNS to send it and store the IP using onsend_route If you set the autoexpire of keys to 3-4 secs it will work well. cheers, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Measuring subscriber latency
Hi all I'm replacing an Asterisk based system with a kamailio based one. One of the features the legacy system has is showing the subscriber the latency obtained from the qualify option of sip.conf Now, I'd like to measure the latency but I'm not sure how to do it. AFAIK nathelper module sends the OPTIONS keepalive messages stateless mode and there's no information there. I was thinking on triggering a route send_options via the timer module, save the timestamp of the relay and the timestamp of the response in onreply_route but it doesn't look elegant. Creating my own daemon in an external server and reading the info from the location module seems to be another option. I guess I'm not the first one with this need so I wonder if there's an already existing solution or an elegant way of dealing with it. any ideas? thanks, Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users