Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-05-13 Thread David Holl
Thank you, Bruno! Regarding this test: if ($hdr(User-Agent)=~$(ulc(caller=>user_agent)[$var(i)])) { Shouldn't the =~ be replaced with == so that user agent strings aren't misinterpretted as regular expressions? It appears to work on my end with == when I tested just now.

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

2016-05-13 Thread ycaner
Hello;     i am not sure. i downloaded from git kamailio. add rtpengine instead of rtpproxy . it works fine. it is hard to solve problem without log. Cheers. try to run with kamailio -E -dd  , maybe it gives information.

[SR-Users] Debian, dnssec.so, and missing dnsval.conf

2016-05-13 Thread David Holl
In the interest of sharing and promoting DNSSEC, I was recently stumped on a problem where I noticed I could not call sip:test.e...@sip5060.net without disabling the dnssec.so module in my kamailio.cfg. The last time I had tried the sip5060 echo test was several months ago, and in the

Re: [SR-Users] Changing the SDP connection-address to a value in a pseudovariable

2016-05-13 Thread Kevin McAllister
> On May 13, 2016, at 12:28 PM, Kevin McAllister wrote: > > counter to the docs for nathelper fix_nated_sdp the config parser rejects any > pseudovariables in the second parameter claiming they need to be constant. Sorry this turned out to be a dumb question. I was

[SR-Users] MySQL database for kamailio as S-CSCF

2016-05-13 Thread Christoph Valentin
Hi Community, I'm doing very first steps to use kamailio as an S-CSCF. Now I'm confused about some defines in the examples/scscf/scscf.cfg file. #!define DB_URL "con1=>mysql://scscf:he...@xxx.xxx.xxx.xxx/scscf" ##!define DB_URL2 "con2=>mysql://scscf:heslo@10.1.27.217/scscf"

[SR-Users] Changing the SDP connection-address to a value in a pseudovariable

2016-05-13 Thread Kevin McAllister
counter to the docs for nathelper fix_nated_sdp the config parser rejects any pseudovariables in the second parameter claiming they need to be constant. Does anyone know another way to change the "c=" line in an SDP? Or do I have to patch the nathelper module to include a

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-05-13 Thread Bruno Emer
Hello all! After some time I was able to get this working here, and now I am coming back to share my configuration with you guys (in case someone needs to get this working). Here is what we have done: route[REGISTRAR] { if (is_method("REGISTER")) {

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

2016-05-13 Thread Dmitry
FIXED. modparam with rtpengine MUST be in the end of modparam section (in NAT traversal section). thanks to all On Friday, May 13, 2016 2:21 PM, Dmitry wrote: I looked through modparam.c modparam.c compiles regular expressions. it operates in /modules/

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

2016-05-13 Thread Serge S. Yuriev
Hi, In my experience it not work with Postgres at all. I can't go further DB config step - it tries to use webserver's credentials instead of configured ones. With or without kamailio DB created. While MySQL works like a charm on exact same system/config. On 12/05/16 23:35, Daniel-Constantin

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

2016-05-13 Thread Dmitry
I looked through modparam.c modparam.c compiles regular expressions. it operates in /modules/ directory. So according to the source it compares the name in modules directory.  But where the modparam.c gets the regex which is used during the comparison? Actually what is used to compare with

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

2016-05-13 Thread Dmitry
one more question about rtpengine. I installed Kamailio (centos 6.7) from source as You recommendedmake include_modules="db_mysql utils regex dnssec jansson lcr  xmlrpc rtpengine " cfg no rtpengine daemon (it is not installed)  but the picture is the same:  modparam ("rtpengine,) kamailio

Re: [SR-Users] Kamailio Crash

2016-05-13 Thread Sunil More
Hello, I have opened an issue as suggested. However i have shared the backtrace below too. (gdb) bt #0 0x in ?? () #1 0x7f23facf0f86 in run_create_callbacks (dlg=0x7f23ff849b18, msg=0x7f24201ead80) at dlg_cb.c:230 #2 0x7f23fad0cedf in dlg_new_dialog

Re: [SR-Users] Blacklists and DB_Cassandra

2016-05-13 Thread SamyGo
Thanks again, I guess its equally easy to use cassandra or redis for this, and who knows this maybe a good experiment to test which one of the two performs better and how to improve etc. Best Regards, Sammy On Fri, May 13, 2016 at 2:07 AM, Daniel-Constantin Mierla wrote: >

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

2016-05-13 Thread ycaner
Hello;     rtpengine module isnt default. you need to add  with "make include_modules". after make make install , automatically it will be copied to lib/modules. Cheers. 2016-05-13 09:42 tarihinde Dmitry [via SIP Router] yazdı:

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

2016-05-13 Thread Dmitry
And one more question on it: If the Kamailio was installed from RPM and rtpengine.so is missing - May I add rtpengine.so the following way:make include_modules="rtpengine" cfg make alland then copy rtpengine.so     to /modules/ directory Is this way (adding missing modules) is correct? On

Re: [SR-Users] Kamailio Crash

2016-05-13 Thread Daniel-Constantin Mierla
Hello, there are no backtraces in the email -- anyhow, open an issue on the bug tracker and put the backtraces there: - https://github.com/kamailio/kamailio/issues Cheers, Daniel On 13/05/16 08:26, Sunil More wrote: > Hello All, > > Kamailio instance just crashed with the following logs >

[SR-Users] Kamailio Crash

2016-05-13 Thread Sunil More
Hello All, Kamailio instance just crashed with the following logs May 13 06:05:34 P172 /usr/local/kamailio/sbin/kamailio[12675]: INFO: [main.c:809]: sig_usr(): signal 15 received May 13 06:05:34 P172 /usr/local/kamailio/sbin/kamailio[12674]: INFO: [main.c:809]: sig_usr(): signal 15 received

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

2016-05-13 Thread Dmitry
hello I tested on Centos 6.7 as well as Ubuntu server - the problem is the same. RTPENGINE was installed both from dpkg and from Source (manual compilation) So I need a clarification on it. RTPENGINE daemon is started. The Kamailio module itself is taken from /usr/src/kamailio, where the source

Re: [SR-Users] Blacklists and DB_Cassandra

2016-05-13 Thread Daniel-Constantin Mierla
Hello, redis is capable for sure of handling that size of records. If you just keep (key, value) pairs, redis is probably the best to choose because is know to be very fast for looking up on a key. Cheers, Daniel On 12/05/16 22:54, SamyGo wrote: > Hi Daniel, > > I highly appreciate your share