Re: [SR-Users] DB_Cassandra + UserBlacklist = ERROR

2016-05-12 Thread SamyGo
Hi again, Yes read that thread from 1&1 guy as well. I believe yes I have thrift 0.6.1 - Lets see of upgrading the thrift has any impact. I opened a bug with github since the error seems to be coming from inside the dbcassa_table.c file entirely irrelevant to the other libraries. Regards,

Re: [SR-Users] Blacklists and DB_Cassandra

2016-05-12 Thread SamyGo
Hi Daniel, I highly appreciate your share on this, I can make use of the ndb_cassandra too, or for the matter mongodb, or redis as well. May I ask how huge whitelists in redis is manageable, I'm looking for about 5~10 million records. Best Regards, Sammy On Thu, May 12, 2016 at 4:48 PM,

Re: [SR-Users] Blacklists and DB_Cassandra

2016-05-12 Thread Daniel-Constantin Mierla
Hello, the userblacklist module does caching in kamailio memory, so actually it doesn't seem to help much the type of the backend (apart of data distribution and loading from it). If you want to interact with cassandra records always, maybe ndb_cassandra module can help -- iirc, it also uses

Re: [SR-Users] DB_Cassandra + UserBlacklist = ERROR

2016-05-12 Thread Daniel-Constantin Mierla
Hello, perhaps someone needs to dive in the code of db_cassandra. Not long ago, there was a discussion saying that the module is using an old lib version and may not actually work. There were exposed plans to eventually update it. Are you using the old cassandra lib version? Cheers, Daniel On

Re: [SR-Users] Siremis installation with postgresql.

2016-05-12 Thread Daniel-Constantin Mierla
Hello, I use it only with mysql, there were some other discussions on the mailing lists about using it with postgres, don't recall right now the conclusion. Also, I remember that at some point Victor Seva sent a patch (which was accepted) about making it work with postgres. You should look at

Re: [SR-Users] route_if_exists crash / breakage

2016-05-12 Thread Alex Balashov
‎Daniel, ‎My finding was that if the route does not exist, there was a crash. :-)‎ But it's certainly conceivable that the context of my use of the function was more exotic than the author's. -- Alex Balashov | Principal | Evariste Systems LLC 1447 Peachtree Street NE, Suite 700 Atlanta, GA 

Re: [SR-Users] route_if_exists crash / breakage

2016-05-12 Thread Daniel-Constantin Mierla
I expect that sometimes the "end point" functions (not executed by other C functions, being only available to the config) are tested only for some specific needs by the developer. Don't recall the code by heart right now, but I guess these functions should have worked fine to some extent if the

Re: [SR-Users] route_if_exists crash / breakage

2016-05-12 Thread Alex Balashov
Daniel, I can confirm that this does seem to fix the issues. Thank you very much for the rapid response and hard work as always! Question: looking at the commit, it would appear as if much of the function had to be rewritten entirely. The initial commit of this functionality was made in

[SR-Users] Siremis installation with postgresql.

2016-05-12 Thread José Seabra
Hi there, I'm facing some issues trying to install siremis with postgresql. The file Config.xml has the correct configuration for postgresql driver but It seems that during installation phase siremis can't create database structure for postgresql. Anyone have installed siremis with postgresql,

[SR-Users] DB_Cassandra + UserBlacklist = ERROR

2016-05-12 Thread SamyGo
Hi List, I'm trying to hook up userblacklist module with db_cassandra. I've kamailio keyspace configured with tables for userblacklist , globalblacklist, and version are created with some data in there. Here is setup info: version: kamailio 4.4.1 *kamailio.cfg* ... loadmodule "db_cassandra.so"

[SR-Users] Kamailio - Manage several kamailio instances with Siremis

2016-05-12 Thread José Seabra
Hi list, Anyone here knows if i can use one siremis instance to manage more than one Kamailio Instance? BR -- Cumprimentos José Seabra ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] route_if_exists crash / breakage

2016-05-12 Thread Daniel-Constantin Mierla
Hello, can you try with the commit 6a3fc200b19500ddd6ed9a2236db6e21f777564a pushed to master? There were some improper conditions done when checking if the routing block exists. Few other issues related to returned code were fixed. If all is ok, then it can be backported. Cheers, Daniel On

Re: [SR-Users] Kamailio / issue with registration

2016-05-12 Thread Ali Taher
Hello , Kind reminder on the below. Regards, Ali From: Ali Taher [mailto:ata...@vanrise.com] Sent: Wednesday, May 11, 2016 7:01 PM To: 'Kamailio (SER) - Users Mailing List' Cc: 'Ali Taher~Vanrise Technical Support' Subject:

Re: [SR-Users] Wiki update notice

2016-05-12 Thread Daniel-Constantin Mierla
Hello, thanks, adding or adjusting the content in the wiki is very appreciated. Regarding the git contributions page, I noticed recently that github enabled a feature to link to a CONTRIBUTING.md file placed inside .github folder in the page of opening an issue -- you can see that at: *

Re: [SR-Users] Wiki update notice

2016-05-12 Thread Daniel-Constantin Mierla
Hello, thanks, adding or adjusting the content in the wiki is very appreciated. Regarding the git contributions page, I noticed recently that github enabled a feature to link to a CONTRIBUTING.md file placed inside .github folder in the page of opening an issue -- you can see that at: *

Re: [SR-Users] T_RELAY_TO distribute local proxy to a central one

2016-05-12 Thread Daniel Tryba
On Thu, May 12, 2016 at 03:54:12PM +0200, Sébastien Brice wrote: > the bad thing is once the phones get registered with non-routable ip > (like in the attached picture) trying to INVITE them directly by > requesting public_kamailio_ip result in non-working situation. > > how should I rewrite my

[SR-Users] T_RELAY_TO distribute local proxy to a central one

2016-05-12 Thread Sébastien Brice
Hi guys, i have a kamailio running on the wan (my central kamailio) and i have phones on a private network range 172.20.0.0/16 behind a NAT. i also run another kamailio locally to collect all sip phones on my network and this one use the DB of the remote central kamailio. the local kamailio

Re: [SR-Users] Another question about RTPengine module

2016-05-12 Thread Dmitry
Hi, I installed Kamailio from GIT.I did make include_modules="db_mysql utils regex dnssec jansson lcr xmlrpc rtpengine " cfg Actually loadmodule "rtpengine.so" does not affect kamailio start/restart.modparam("rtpengine", "rtpengine_sock", "udp:localhost:12221") causes this

[SR-Users] Enum module and parallel branching

2016-05-12 Thread Loic Chabert
Hello, I'm trying to use enum module at core level to route my numbers to end-point asterisk servers. As i read (and validated by tests), when a phone number has two DNS NAPTER entries, enum module create two branch, one for each entries, and send request to asterisk servers (in the same time).

[SR-Users] Wiki update notice

2016-05-12 Thread Mikko Lehto
Hello Some wiki work: 1. "What's new in 4.4" -content is no more present in devel version wiki page 2. based on recent mailing list discussion, I added note about github pull requests I think these make sense, please yell if not :) [1] http://kamailio.org/wiki/features/new-in-devel [2]

Re: [SR-Users] 4.4 compiler warnings on debian jessie

2016-05-12 Thread Camille Oudot
Le Thu, 12 May 2016 12:30:15 +0300, Juha Heinanen a écrit : > I did 'apt-get dist-upgrade'. The following packages were upgraded > and the mem/tlsf_malloc.c warnings went away: > > apt apt-utils base-files gnupg gpgv libapt-inst1.5 libapt-pkg4.12 > libc-bin libc-dev-bin libc6

Re: [SR-Users] 4.4 compiler warnings on debian jessie

2016-05-12 Thread Camille Oudot
Le Thu, 12 May 2016 12:03:59 +0300, Juha Heinanen a écrit : > Perhaps it has to do with some other defines. Do you remember what > to add to debian/rules in order to see all gcc parameters during > compilation? I add "Q=0" on the make command line to see the full compiler's

Re: [SR-Users] 4.4 compiler warnings on debian jessie

2016-05-12 Thread Juha Heinanen
Juha Heinanen writes: > I have the same. Perhaps it has to do with some other defines. Do you > remember what to add to debian/rules in order to see all gcc parameters > during compilation? I did 'apt-get dist-upgrade'. The following packages were upgraded and the mem/tlsf_malloc.c warnings

Re: [SR-Users] 4.4 compiler warnings on debian jessie

2016-05-12 Thread Juha Heinanen
Camille Oudot writes: > I'm also compiling on Debian 8, x86_64-linux-gnu architecture, but > cannot see these warnings, whether I run > > make MEMDBG=0 cfg > > or > > make MEMDBG=1 cfg > > before compiling. My gcc version is 4.9.2 (Debian 4.9.2-10). I have the same. Perhaps it has

Re: [SR-Users] route_if_exists crash / breakage

2016-05-12 Thread Alex Balashov
Just for fun, I tried upgrading to the latest 4.4 HEAD (90be8b) and the crash behaviour did not change. -- Alex Balashov | Principal | Evariste Systems LLC 1447 Peachtree Street NE, Suite 700 Atlanta, GA 30309 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web:

Re: [SR-Users] route_if_exists crash / breakage

2016-05-12 Thread Alex Balashov
Some additional context: (gdb) where #0 0x00456751 in do_action (h=0x7ffd50a0bfe0, a=0xf0f0f0f0, msg=0x7ffa8511a850) at action.c:337 #1 0x0046a78c in run_actions (h=0x7ffd50a0bfe0, a=0xf0f0f0f0, msg=0x7ffa8511a850) at action.c:1549 #2 0x0046af11 in

Re: [SR-Users] 4.4 compiler warnings on debian jessie

2016-05-12 Thread Camille Oudot
Hi, > > All I see is that we are assigning a > > void* (*)(tlsf_t, size_t) > > to a > > void* (*)(void* , unsigned long) > > yet tlsf_t is defined as `typedef void* tlsf_t`, and size_t and > > unsigned long have the same width on this architecture... > > Is that true also when

[SR-Users] route_if_exists crash / breakage

2016-05-12 Thread Alex Balashov
Hi, I'm running 4.4.0:ea2033 and am seeing a crash when using route_if_exists() on a nonexistent route: Core was generated by `/usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 512 -M 8 -u evaristesys -g'. Program terminated with signal 11, Segmentation fault. #0 0x00456751 in

Re: [SR-Users] Another question about RTPengine module

2016-05-12 Thread ycaner
Hello;     on bash , kamailio -V gives Version , kamailio -c gives debug result. you can ask from here  https://groups.google.com/forum/#!forum/2600hz-dev for kazoo rpm. if there is something wrong , they will fix it. you can install from

Re: [SR-Users] calling rpc command in cfg

2016-05-12 Thread ycaner
Thanks Daniel; it is useful module. Cheers -- View this message in context: http://sip-router.1086192.n5.nabble.com/calling-rpc-command-in-cfg-tp148361p148422.html Sent from the Users mailing list archive at Nabble.com. ___ SIP Express Router

Re: [SR-Users] 4.4 compiler warnings on debian jessie

2016-05-12 Thread Ovidiu Sas
If you have a patch, I can test it for you. -ovidiu On May 11, 2016 10:56, wrote: > > debian jessie c compiler complains about these in kamailio 4.4: > > > > CC (gcc) [sip-proxy]mem/tlsf_malloc.o > > mem/tlsf_malloc.c: In function