[SR-Users] Strange TLS problem

2015-10-14 Thread Pete Kelly
Hi I am trying to use the [client] directives in tls.cfg for the first time. For my configuration I need to connect to 2 servers, both via TLS and both using different certs. I have defined an entry in tls.cfg like [client:1.2.3.4:5061] [client:5.6.7.8:5071] and I also have an entry in dispatch

Re: [SR-Users] debian jessie and dependencies

2015-10-14 Thread nadie
The client in Mariadb is: mariadb-client in mysql: mysql-client kamailio-mysql-modules: depends of mysql-client but if mariadb-client is installed, mysql-client is a conflict. would a solution be, that kamailio-mysql-modules depends of mysql-client OR mariadb-client? Thanks. El 12/10/15 a las 10

[SR-Users] DB Problems after upgrade

2015-10-14 Thread Nahum Nir
Hi All, I had a working Kamailio with Siremis. I upgraded wanted a new cfg file (big mistake, I know). I defined the DBURL at kamailio.cfg and the server start without errors, users can register but I can not make calls and Siremis missed calls table is not updated. What files and where should I u

Re: [SR-Users] debian jessie and dependencies

2015-10-14 Thread Daniel Tryba
On Wednesday 14 October 2015 13:06:32 nadie wrote: > The client in Mariadb is: mariadb-client > in mysql: mysql-client > kamailio-mysql-modules: depends of mysql-client > but if mariadb-client is installed, mysql-client is a conflict. > > would a solution be, that kamailio-mysql-modules depends of

Re: [SR-Users] debian jessie and dependencies

2015-10-14 Thread nadie
Thanks Daniel El 14/10/15 a las 13:37, Daniel Tryba escribió: > On Wednesday 14 October 2015 13:06:32 nadie wrote: >> The client in Mariadb is: mariadb-client >> in mysql: mysql-client >> kamailio-mysql-modules: depends of mysql-client >> but if mariadb-client is installed, mysql-client is a confl

[SR-Users] setflag and hash table variables

2015-10-14 Thread Asgaroth
I originally sent this to sr-dev in error, I am resending to sr-users instead, thanks Hi All, Quick question, is it possible to use variables in the setflag function, I am trying to set a flag that is stored in a hash table using the setflag function, but I keep getting syntax errors. I am us

Re: [SR-Users] Strange TLS problem

2015-10-14 Thread Daniel-Constantin Mierla
Hello, I don't have the time to look at the code right now, but I remember that I still have to tune some matching there, because the local port allocated is random by the OS. One of the solutions was to set the server name in tls.cfg and then set it via xavp_cfg (see tls parameters) before relayi

Re: [SR-Users] setflag and hash table variables

2015-10-14 Thread Daniel-Constantin Mierla
Hello, the function might not accept pseudo-variables, perhaps we should update it. For now you can use script bitwise operations with $mf: $mf = $mf | (1 << $sht(core_setid=>$var(ds_setid)) ); Cheers, Daniel On 14/10/15 14:35, Asgaroth wrote: > I originally sent this to sr-dev in error, I am r

Re: [SR-Users] setflag and hash table variables

2015-10-14 Thread Daniel-Constantin Mierla
Hello, On 14/10/15 15:32, Asgaroth wrote: > Hi Daniel, > > Thanks for the info, I'm not familiar with $mf. > > Is "$mf = $mf | (1 << $sht(core_setid=>$var(ds_setid)) );" > functionally equivilent to "setflag( $sht(core_setid=>$var(ds_setid)));"? yes -- $mf is the value representing (all) the flag

Re: [SR-Users] setflag and hash table variables

2015-10-14 Thread Asgaroth
Hi Daniel, Thanks for the info, I'm not familiar with $mf. Is "$mf = $mf | (1 << $sht(core_setid=>$var(ds_setid)) );" functionally equivilent to "setflag( $sht(core_setid=>$var(ds_setid)));"? Can I still use the isflagset function to check if certain flags are set when using your alternative

Re: [SR-Users] Strange TLS problem

2015-10-14 Thread Pete Kelly
Thanks Daniel for auto generated messages like dispatcher OPTIONS, would the message need to be picked up in local route and the flags set? On 14 October 2015 at 14:16, Daniel-Constantin Mierla wrote: > Hello, > > I don't have the time to look at the code right now, but I remember that I > stil

[SR-Users] Huge TLS performance regression migrating from 3.3.7 to 4.2.6

2015-10-14 Thread Tristan Mahé
Hi List, I've been reaching a strange thing lately, trying to upgrade to kamailio 4.2.6 ( identical config ): - 35% loss of performance on TLS connections ( Sipp REGISTER scenario, easily reproduced ). - more TCP workers needed to ease the TCP queues ( 32 workers on 3.3.7, at least 64 are needed

Re: [SR-Users] Huge TLS performance regression migrating from 3.3.7 to 4.2.6

2015-10-14 Thread Daniel-Constantin Mierla
Hello, is the same operating system and server, or are you using some other machine for the new version? I can't remember right now any big change in tcp/tls side, besides sni, which should not have any relevant impact as described here. Also, have you installed from git branch 4.2 or the tarball

[SR-Users] kamctl rtpproxy nh_show_rtpp not working

2015-10-14 Thread amar Smart Telecom
Dear all, I have installed Kamailio and Rtpproxy. Following is the process (ps) info: "kamailio 648 1 0 Oct08 ?00:00:05 /usr/bin/rtpproxy -s udp:127.0.0.1 7722 -u kamailio kamailio -p /var/run/rtpproxy/rtpproxy.pid -l 192.168.58.25" But when I give command: " kamctl mi nh

Re: [SR-Users] kamctl rtpproxy nh_show_rtpp not working

2015-10-14 Thread Maxim Sobolev
I don't know if it's related, but we noticed that master and 4.3 failed out meta testsuite today: https://travis-ci.org/sippy/voiptests/builds/85453186 The last build that worked was about 2 months ago, it should be easy to narrow that down in that range. I've been planning to look into it later

Re: [SR-Users] Huge TLS performance regression migrating from 3.3.7 to 4.2.6

2015-10-14 Thread Tristan Mahé
Hi Daniel, It is on the exact same server, same system configuration, same configuration trimmed down for fitting 3.3, packages installed from the kamailio debian wheezy repository. I can reproduce it just using sipp and a simple REGISTER loop. Do you want me to run some specific tests ? provide