[SR-Users] Count number of early(Ringing) dialogs on gateway

2016-11-08 Thread Aqs Younas
Greetings list, I am using dialog aur dispatcher modules for calls distribution across multiple gateways. I am able to get number of active dialogs against a gateway but could not get early dialogs going on particular gateway. Dialog information is inserted in database only for state 4. Also, I tr

[SR-Users] Count number of early(Ringing) dialogs on gateway

2016-11-08 Thread Aqs Younas
Greetings list, I am using dialog aur dispatcher modules for calls distribution across multiple gateways. I am able to get number of active dialogs against a gateway but could not get early dialogs going on particular gateway. Dialog information is inserted in database only for state 4. Also, I tr

Re: [SR-Users] fnmatch

2016-11-08 Thread Slava Bendersky
Hello Daniel, Accept by MESSAGE is 202. In my match string was set 200. I changed to 202 and it works as should be. Slava. From: "Daniel-Constantin Mierla" To: "volga629" , "sr-users" Sent: Tuesday, 8 November, 2016 04:35:43 Subject: Re: [SR-Users] fnmatch Hello, this is rather c

[SR-Users] BYE dispatcher

2016-11-08 Thread Slava Bendersky
Hello Everyone, My setup is kamailio as proxy with few boxes of freeswitch in the LAN. Having issue with BYE when extensions register on different freeswitch boxes. Here are some trace of the call. Not sure if this tag= miss match or routing. Dispatcher use group 0 with option 4 (round robin)

Re: [SR-Users] using set_body_multipart and append_body_part on on_reply routes

2016-11-08 Thread Sergey Basov
Hi, David I will try to collect trace for normal SIP-I session and e-mail it to you. 8 нояб. 2016 г. 5:55 PM пользователь "david" написал: > hello Sergey > > yes i was using them with a IAM ISUP part inside the SIP response, so they > were doing something, but it's not correct so it must be an

Re: [SR-Users] using set_body_multipart and append_body_part on on_reply routes

2016-11-08 Thread david
hello Sergey yes i was using them with a IAM ISUP part inside the SIP response, so they were doing something, but it's not correct so it must be an ACM, ANM depending on the response. i made some more tests and i saw the issue is not with append_body_part which seems it's doing ok. it's with set_

Re: [SR-Users] kamailio + farm of Elastix + rtp direct

2016-11-08 Thread Kato
Any comments on this please? Thanks! De: Kato [mailto:elk...@gmail.com] Enviado el: domingo, 6 de noviembre de 2016 11:29 a. m. Para: 'sr-users@lists.sip-router.org' Asunto: kamailio + farm of Elastix + rtp direct Hi, I'm just starting with Kamailio, and trying to validate a possi

Re: [SR-Users] Next Kamailio IRC Devel Meeting - Changed to Nov 08, 2016

2016-11-08 Thread Daniel-Constantin Mierla
And the last notification -- we will start in a minute ... Cheers, Daniel On 08/11/16 15:01, Daniel-Constantin Mierla wrote: > Hello, > > to sync a bit across the time zones -- the IRC devel meeting will start > in about one hour. See you on irc #kamailio channel on irc.freenode.net . > > - ht

Re: [SR-Users] Next Kamailio IRC Devel Meeting - Changed to Nov 08, 2016

2016-11-08 Thread Daniel-Constantin Mierla
Hello, to sync a bit across the time zones -- the IRC devel meeting will start in about one hour. See you on irc #kamailio channel on irc.freenode.net . - https://www.kamailio.org/wiki/devel/irc-meetings/2016b Cheers, Daniel On 07/11/16 18:10, Daniel-Constantin Mierla wrote: > Hello, > > upd

Re: [SR-Users] usrloc module expires column issues

2016-11-08 Thread Daniel-Constantin Mierla
Hello, so it seems that inserting a timestamp value to a datetime column is no longer accepted, but no complaints in the syslog that value is invalid or db operation has failed, right? Nice behaviour from db server, I would say ... An option for now could be setting expires_type to bigint: https

Re: [SR-Users] Contacts replacing each other when registering

2016-11-08 Thread Sebastian Damm
Hi Daniel, sorry for the late reply. All clients used a different call-id. And after they were reconfigured to not use any GRUU stuff, everything worked as expected again. The matching mode for the usrloc module is 0. Best Regards, Sebastian On Fri, Oct 7, 2016 at 2:01 PM, Daniel-Constantin Mier

Re: [SR-Users] TCP Keepalive for NAT'd Clients

2016-11-08 Thread Colin Morelli
Don't know how I missed this. Thanks, Daniel! Best, Colin On Tue, Nov 8, 2016 at 3:46 AM Daniel-Constantin Mierla wrote: > Hello, > > you can set per tcp connection lifetime using tcpops module: > >- https://www.kamailio.org/docs/modules/stable/modules/tcpops.html > > You can do that when y

Re: [SR-Users] usrloc module expires column issues

2016-11-08 Thread Grant Bagdasarian
Hi Daniel, Nice tip! I noticed the following: The expires and last_modified columns are of DATETIME type, but the insert and update statements pass a unix timestamp. I can change the datatype to a varchar for the expires and last_modified columns, but I’m not sure if I will break the usrloc m

Re: [SR-Users] How to get Destination port UDP

2016-11-08 Thread Daniel-Constantin Mierla
Hello, one way is to add an onsend_route and there use the $sndto(port) to update the record inserted before. Even better, set the dst addr/port when receiving the 200ok for initial invite, this copes better when the INVITE is forked to many destinations -- in this way you store only the one that

[SR-Users] How to get Destination port UDP

2016-11-08 Thread andrzej.ciupek-asterisk.edu.pl
Hello I am using Kamailio to collect data about active calls. I write INVITEs to database, and delete it on BYE or any REL. I would like to write source and destination port too, but don't know how to get destination port. I have tried variables: $dp, $rp, $Rp, $op But when I don't have port

Re: [SR-Users] usrloc module expires column issues

2016-11-08 Thread Daniel-Constantin Mierla
Hello, the version I noticed some changes in dealing with unsigned int values was 5.7 ... Can you enable sql query logging and see what's the insert statement for location table? Or, if the connection to the database server is over IP (and not tls), then you can do ngrep on port 3306 (iirc by hea

Re: [SR-Users] usrloc module expires column issues

2016-11-08 Thread Grant Bagdasarian
Hi Daniel, My apologies, we’re not running MariaDB, but a regular instance of MySQL: mysql -v mysql Ver 14.14 Distrib 5.5.49, for debian-linux-gnu (x86_64) using readline 6.3 Regards, Grant From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: dinsdag 8 november 2016 11:32 To: Gran

Re: [SR-Users] usrloc module expires column issues

2016-11-08 Thread Daniel-Constantin Mierla
Hello, I haven't encountered such problem so far and no similar report was done to kamailio project recently. I noticed that newer versions of mysql (maybe mariadb as well) are behaving differently than old ones -- what mariadb version do you run? Cheers, Daniel On 08/11/16 10:42, Grant Bagdasa

Re: [SR-Users] usrloc module expires column issues

2016-11-08 Thread Grant Bagdasarian
Hi Daniel, Sorry for the late reply. We’re using a Galera Cluster based on Maria DB. Regards, Grant Bagdasarian From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: donderdag 6 oktober 2016 12:50 To: Kamailio (SER) - Users Mailing List Sub

Re: [SR-Users] TCP Keepalive for NAT'd Clients

2016-11-08 Thread Daniel-Constantin Mierla
Hello, you can set per tcp connection lifetime using tcpops module: - https://www.kamailio.org/docs/modules/stable/modules/tcpops.html You can do that when you get the INVITE, before sending a negative response from kamailio.cfg. Or, if you relay the invite, set a failure route for it and do

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-11-08 Thread Daniel-Constantin Mierla
I think this issue was exposed only on centos/redhad packages, which is harder to detect as we set the OS type to linux. If someone comes up with a solution, I am ok, otherwise I think it's fine to add some remarks in the docs. Cheers, Daniel On 07/11/16 10:44, Olle E. Johansson wrote: > I think

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-11-08 Thread Daniel-Constantin Mierla
Hello, you don't have to generate the readme files anymore, they are generated automatically on the server after committing the xml files. For creating the pull requests, just search the web/github about how to do it for github -- there are some good manuals in place hosted by github.com, but I d

Re: [SR-Users] fnmatch

2016-11-08 Thread Daniel-Constantin Mierla
Hello, this is rather confusing -- did you make some changes there to fix it or just suddenly works? Because the second sounds like random behaviour. Cheers, Daniel On 07/11/16 18:17, Slava Bendersky wrote: > Hello Daniel, > Yes, reply was 202 not 200. Right now it work as expected. > > Slava.