Re: [SR-Users] 5.1 compilation error on Centos 7

2018-08-02 Thread Henning Westerholt
Am Donnerstag, 2. August 2018, 20:04:22 CEST schrieb Henning Westerholt: > > I started getting the following error while trying to compile Kamailio > > 5.1+ > > on Centos 7 > > > > CC (gcc) [M db_mysql.so]my_fld.o > > In file included from my_fld.c:22:0: > > my_fld.h:37:2: error: u

Re: [SR-Users] kamcmd htable.reload propertiesHash problem

2018-08-02 Thread Henning Westerholt
Am Freitag, 3. August 2018, 07:56:28 CEST schrieb Ginhoux, Patrick: > Instead of installing a new server, I tried to upgrade the one running the > 5.0.1 level. It has the following packages installed: > > kamailio-perl-5.0.1-1.1.x86_64 > kamailio-5.0.1-1.1.x86_64 > kamailio-mysql-5.0.1-1.1.x86_64

Re: [SR-Users] kamcmd htable.reload propertiesHash problem

2018-08-02 Thread Ginhoux, Patrick
Hi Henning, Instead of installing a new server, I tried to upgrade the one running the 5.0.1 level. It has the following packages installed: kamailio-perl-5.0.1-1.1.x86_64 kamailio-5.0.1-1.1.x86_64 kamailio-mysql-5.0.1-1.1.x86_64 kamailio-snmpstats-5.0.1-1.1.x86_64 So I have downloa

[SR-Users] mysql version

2018-08-02 Thread Wilkins, Steve
Hello All, When Kamailio installs, it installs mysql 8.0. I would like it to install mysql 5.7. Is there a way to force this? Thank you ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/li

[SR-Users] get_out_socket(): no socket found

2018-08-02 Thread Ilie Soltanici
Daniel, Not, those IP are in a different subnet. There is a firewall - running on a different device. Ping and SIP Messages are going very well from 2.2.2.2 to 8.8.8.8. I was able to solve this issue by disabling mhomed and set "listen" external interface with IP address 2.2.2.2 on top in the conf

Re: [SR-Users] DMQ problems

2018-08-02 Thread Henning Westerholt
Am Donnerstag, 2. August 2018, 20:33:28 CEST schrieb Paolo Visintin - evosip.cloud: > I am able to see > 0(710) DEBUG: dmq [notification_peer.c:240]: get_dmq_host_list(): adding > DMQ node A host dmq-router-service=sip:42.100.109.113:5062 > > but in tcpdump no DNS query > > Also doing a loop of

Re: [SR-Users] DMQ problems

2018-08-02 Thread Paolo Visintin - evosip.cloud
Hi Charles, when I say kamailio "resolves" but does not query DNS I mean that in DEBUG I am able to see 0(710) DEBUG: dmq [notification_peer.c:240]: get_dmq_host_list(): adding DMQ node A host dmq-router-service=sip:42.100.109.113:5062 but in tcpdump no DNS query Also doing a loop of "kamcmd dns

Re: [SR-Users] 5.1 compilation error on Centos 7

2018-08-02 Thread Henning Westerholt
Am Donnerstag, 2. August 2018, 12:55:32 CEST schrieb Wilkins, Steve: > I started getting the following error while trying to compile Kamailio 5.1+ > on Centos 7 > > CC (gcc) [M db_mysql.so]my_fld.o > In file included from my_fld.c:22:0: > my_fld.h:37:2: error: unknown type name 'my

Re: [SR-Users] DMQ mem leak issues

2018-08-02 Thread Rogelio Perez
Thanks Charles, it's working now. I'm deploying to production and confirming results soon. Rogelio ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] DMQ mem leak issues

2018-08-02 Thread Charles Chance
Hi Rogelio, No need to test with method/$rm - the is_method() regression is now fixed. If you pull the latest master you should be able to test Daniel's patch again. Cheers, Charles On 2 August 2018 at 13:27, Charles Chance wrote: > Hi Paolo, > > How strange...it really shouldn’t (and has n

Re: [SR-Users] is_method not matching message type KDMQ breaking DMQ bus. (master branch)

2018-08-02 Thread Charles Chance
Hi, This should fix: https://github.com/kamailio/kamailio/pull/1611 Please confirm either way. Cheers, Charles On Tue, 31 Jul 2018 at 18:25, Charles Chance wrote: > Hello, > > I have checked and it is a problem with is_method() not matching "KDMQ" > (there is no method definition to match w

Re: [SR-Users] DMQ problems

2018-08-02 Thread Charles Chance
Hi Paolo, kamailio "resolves" A host but does not query the DNS What do you mean by this? I am not overly familiar with Kamailio's DNS internals, but what do you see if you run the following commands? kamcmd dns.lookup SRV _sip._udp.dmq-router-service.paolo.svc.cluster.local kamcmd dns.lookup

Re: [SR-Users] Method Destination Variable

2018-08-02 Thread Duarte Rocha
That is perfect. Thanks a lot. 2018-08-01 17:09 GMT+01:00 Duarte Rocha : > Greetings, > > I thought about that but i wasn't sure it would be safe. But, in this > case, the Request-URI domain will be the only place where Kamailio will > look to find out the destination right within the dialog righ

Re: [SR-Users] DMQ problems

2018-08-02 Thread Paolo Visintin - evosip.cloud
Hello again! Another interesting thing found running in debug=3 0(710) DEBUG: dmq [notification_peer.c:240]: get_dmq_host_list(): adding DMQ node A host dmq-router-service=sip:42.100.109.113:5062 so , kamailio "resolves" A host but does not query the DNS this is dump of dns request inside kamaili

Re: [SR-Users] DMQ mem leak issues

2018-08-02 Thread Charles Chance
Hi Paolo, How strange...it really shouldn’t (and has never done so for us): https://www.kamailio.org/wiki/cookbooks/devel/core#method Either way, $rm is also fine. Rogelio - to clarify, my aim here is simply to establish if something other than is_method() works in your case. Best, Charles O

Re: [SR-Users] DMQ mem leak issues

2018-08-02 Thread Paolo Visintin - evosip.cloud
Hi Charles, method == "KDMQ" says "syntax error" we solved using if($rm == "KDMQ") Cheers *Paolo Visintin* *CTO* evosip.cloud [image: Risultati immagini per evosip] 2018-08-02 9:43 GMT+02:00 Charles Chance : > Again out of interest, what happens if you change it to: > > if (method == “KDMQ”)

[SR-Users] 5.1 compilation error on Centos 7

2018-08-02 Thread Wilkins, Steve
Hello all, I started getting the following error while trying to compile Kamailio 5.1+ on Centos 7 CC (gcc) [M db_mysql.so]my_fld.o In file included from my_fld.c:22:0: my_fld.h:37:2: error: unknown type name 'my_bool' my_bool is_null; Has anyone seen this before. Thank you _

Re: [SR-Users] DMQ mem leak issues

2018-08-02 Thread Charles Chance
Again out of interest, what happens if you change it to: if (method == “KDMQ”) { ... Cheers, Charles On Thu, 2 Aug 2018 at 04:45, Rogelio Perez wrote: > Charles, here you go: > > ### Routing Logic > > # Main SIP request routing logic > # - processing of any incoming SIP request

Re: [SR-Users] kamcmd htable.reload propertiesHash problem

2018-08-02 Thread Ginhoux, Patrick
Hi Henning, Thanks for your review. As you said, that's strange behavior. So I'm going to upgrade to 5.0.7, the time to set up a server. I'll keep you posted asap. Cordialement. Patrick GINHOUX Unisys | +33 1 46 69 52 12 | +33 6 60 32 24 74 | patrick.ginh...@unisys.com -Message d'origine-

Re: [SR-Users] kamcmd htable.reload propertiesHash problem

2018-08-02 Thread Henning Westerholt
Am Dienstag, 24. Juli 2018, 10:20:01 CEST schrieb Ginhoux, Patrick: > > I run Kamailio 5.0.1 with MariaDB database. > > There is no issue at the initialization, meaning the db is opened by > kamailio and the hash tables loaded from the db tables. Hello Patrick, this is strange. Normally if it c