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. Als

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. check

[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 interven

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 getting the error when I

[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" Tutorials/ims/In

[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 free_fixup_function

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")) { if(isflagset(FL

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/ directory. So according to the s

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 M

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 rtpengi

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 -clo

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 (req=0x7f24201ead