Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Adam Romanek
Hi Daniel, Does this assume that both Kamailios are connected to the same MySQL database? I must admit I don't understand how it should work. What's the background behind this technique with "path"? Best regards, Adam Romanek On 20.07.2015 18:15, Daniel Tryba wrote: On Monday 20 July 2015

Re: [SR-Users] Changing acc_cdrs time and duration columns from varchar to int/float

2015-07-20 Thread mayamatakeshi
On Tue, Jul 21, 2015 at 6:35 AM, mayamatakeshi wrote: > Hello, > I am planning to enable acc cdr in my kamailio 4.1 server. > I am testing in my lab and it is working fine. > However, when I check the table definition I see this: > > mysql> describe acc_cdrs; > ++--+--

[SR-Users] Changing acc_cdrs time and duration columns from varchar to int/float

2015-07-20 Thread mayamatakeshi
Hello, I am planning to enable acc cdr in my kamailio 4.1 server. I am testing in my lab and it is working fine. However, when I check the table definition I see this: mysql> describe acc_cdrs; ++--+--+-+-++ | Field | Type

Re: [SR-Users] [sr-dev] RFC: about the self signed tls certificates

2015-07-20 Thread Victor Seva
On 07/20/2015 08:58 PM, Daniel-Constantin Mierla wrote: > My proposal is to move generation of self signed certificates to kamctl. > There can be a kamctl.tls file to be deployed by the tls package (same > is done by kamctl.mysql, being part of mysql package), which should add > a new group of comm

[SR-Users] [sr-dev] RFC: about the self signed tls certificates

2015-07-20 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > My proposal is to move generation of self signed certificates to kamctl. > There can be a kamctl.tls file to be deployed by the tls package (same > is done by kamctl.mysql, being part of mysql package), which should add > a new group of commands, among them somet

[SR-Users] RFC: about the self signed tls certificates

2015-07-20 Thread Daniel-Constantin Mierla
Hello, (cross-posting as it impacts users as well) Currently we generate and install the TLS self-signed certificates when tls module is installed, including them in the debian packages (and I guess in rpms). Debian has a policy of reproducible builds, meaning that from same source tree snapshot

Re: [SR-Users] kamailio 4.3v partition column name is reserved word in mysq ndbcluster engine

2015-07-20 Thread José Seabra
I found the root cause of this issue, as i copied the mysql commands from this link http://www.kamailio.org/wiki/install/upgrade/4.2.x-to-4.3.0 and pasted it in mysql client, apparently that was my issue, what i did to fix this issue was drop the column and add it again but with this mysql command:

[SR-Users] dialog keepalive timeout - which parameter rules it?

2015-07-20 Thread Andrey Utkin
What happens if dialog parties don't respond to keepalive requests sent by dialog module? It looks it is not coded in modules/dialog, I guess it can be set in t_uac_prepare() from modules/tm/uac.c. Please explain what timeout or lifetime parameters rule - at which delay the unanswered keepalive req

Re: [SR-Users] kamailio 4.3v partition column name is reserved word in mysq ndbcluster engine

2015-07-20 Thread José Seabra
I changed the column name in the database table from partition to partitionusrloc, and i added a new modparam (partition_col) in modules/usrloc/ul_mod.c file: {"partition_col", PARAM_STR, &partition_col}, in order to be able to configure the name of this column from partition to partition

Re: [SR-Users] RR module - Fail detecting strict routing

2015-07-20 Thread Antonio Reale
Hi Daniel, no problem. Thank you very much for the support. Regards. Antonio Il 20/07/2015 18:02, Daniel-Constantin Mierla ha scritto: Hello, I didn't have time to look at it so far -- quite some traveling lately. At a quick look, seems that the next hop is not detected as strict router, I

Re: [SR-Users] kamailio 4.3v partition column name is reserved word in mysq ndbcluster engine

2015-07-20 Thread Daniel-Constantin Mierla
Hello, the backticks should be added for columns in where condition. Can you enable logging the query in mysql server logs and send it over to see how it looks? Or maybe I didn't understand your problem properly and you changed the name in the database table for column partition, but there was no

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Daniel Tryba
On Monday 20 July 2015 17:11:38 Jurijs Ivolga wrote: > Could you please let me know where exactly I need to add path header? I'm > using default config, with almost no changes. Just before the save() like in http://lists.sip-router.org/pipermail/sr-users/2015-April/087872.html > Additionally it

Re: [SR-Users] usage of t_flush_flags() in event_route

2015-07-20 Thread Daniel-Constantin Mierla
Hello, grepping quickly the sources, it appears that the flags are propagated back in transaction, see: modules/tm/t_reply.c:1060 I think the issue resides in the acc design, that prepares the request for accounting when the transaction is created, only if one of the accounting flags is set. It

Re: [SR-Users] kamailio 4.3v partition column name is reserved word in mysq ndbcluster engine

2015-07-20 Thread José Seabra
Hello Daniel, Result of command kamailio -v version: kamailio 4.3.1 (x86_64/linux) f38e67-dirty flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT

Re: [SR-Users] RR module - Fail detecting strict routing

2015-07-20 Thread Daniel-Constantin Mierla
Hello, I didn't have time to look at it so far -- quite some traveling lately. At a quick look, seems that the next hop is not detected as strict router, I have to look at the code. Cheers, Daniel On 20/07/15 11:20, Antonio Reale wrote: > Hi Daniel, > did you see something strange in the ACK mes

Re: [SR-Users] kamailio 4.3v partition column name is reserved word in mysq ndbcluster engine

2015-07-20 Thread Daniel-Constantin Mierla
Hello, the names of columns should be quoted in order to be safe against reserved keywords. What is the exact version you are using (kamailio -v)? Cheers, Daniel On 20/07/15 17:37, José Seabra wrote: > Hello Daniel, > > After update my kamailio to version 4.3 and change the table location > as

[SR-Users] File Transfer

2015-07-20 Thread Abdul Hakeem
Hello, Is there a support for file transfer between registered SIP clients, If not, how can this be achieved ? Regards, Abdul Hakeem ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://list

[SR-Users] kamailio 4.3v partition column name is reserved word in mysq ndbcluster engine

2015-07-20 Thread José Seabra
Hello Daniel, After update my kamailio to version 4.3 and change the table location as required in migration process, kamailio start giving some errors: [root@ccp1 kamailio]# 35(7637) ERROR: db_mysql [km_dbase.c:121]: db_mysql_submit_query(): driver error on query: Unknown column 'partition' in '

[SR-Users] Multiple crashes of Kamailio 4.2.1

2015-07-20 Thread Igor Potjevlesch
Hello, 3 crashes occurred today (we never seen crashes on this server before) during a period of 20 minutes. I had a look to the coredumps. Here is a quick overview of the first entries of "bt full": core.27671 : #0 0x7f5577048d65 in run_trans_callbacks_internal (cb_lst=0x7f5560abb

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Jurijs Ivolga
Hi, Thank you for your help! In my case i have 2 servers: 192.168.100.1 & 192.168.100.2 Both of this servers have one domain name voip.bla.com No load-balancer is used. I can register to any of this server with user 1...@voip.bla.com and 2...@voip.bla.com Call is failing when I'm trying to cal

[SR-Users] Kamailio v4.3.1 Released

2015-07-20 Thread Daniel-Constantin Mierla
Hello, Kamailio SIP Server v4.3.1 stable release is out. This is a maintenance release of the latest stable branch, 4.3, that includes fixes since release of v4.3.0. There is no change to database schema or configuration language structure that you have to do on installations of v4.3.0. Deploymen

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Daniel Tryba
On Monday 20 July 2015 16:02:00 Jurijs Ivolga wrote: > But could you please provide more info? > > Should I add add_path() before if (!save("location"))? Path is a module you can use for user lookups/registration http://kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.matching_mode h

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Jurijs Ivolga
Hi, I'm very sorry. :) But could you please provide more info? Should I add add_path() before if (!save("location"))? With kind regards, Jurijs 2015-07-20 14:04 GMT+03:00 Daniel Tryba : > On Monday 20 July 2015 13:48:30 Jurijs Ivolga wrote: > > But all my calls are failing, when clients are

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Daniel Tryba
On Monday 20 July 2015 13:48:30 Jurijs Ivolga wrote: > But all my calls are failing, when clients are registered to different > servers with error "404 Not Found". Maybe somebody can give me a hint how > to make this work. Use Path: http://lists.sip-router.org/pipermail/sr-users/2015-April/087872

Re: [SR-Users] usage of t_flush_flags() in event_route

2015-07-20 Thread Andrew Pogrebennyk
Hi, ideas anyone? BR, Andrew On 06/17/2015 12:12 PM, Andrew Pogrebennyk wrote: > Daniel, > I'm reviving this old thread.. > > On 05/27/2015 01:40 PM, Andrew Pogrebennyk wrote: >> thanks for the answer, that's what I was thinking - maybe the flags do >> not persist or are destroyed after the per-

[SR-Users] Kazoo like load balancing

2015-07-20 Thread Jurijs Ivolga
Hi, First of all I would like to mention, that I'm very new to Kamailio. :) My target is to create simple load-balancing similar what have Kazoo, basically 2 servers will share same domain name. I installed 2 Kamailio 4.3 servers and configured this 2 servers with one domain address. I used almost

Re: [SR-Users] RR module - Fail detecting strict routing

2015-07-20 Thread Antonio Reale
Hi Daniel, did you see something strange in the ACK message or you confirm that the RR module is not behaving correctly? Thanks. Regards. Antonio Il 14/07/2015 13:02, Antonio Reale ha scritto: Hi Daniel, this is the ACK received on Kamailio: # U 172.26.130.235:44435 -> 192.168.0.245:5060

Re: [SR-Users] Missing BYE at the far end

2015-07-20 Thread Vasiliy Ganchev
Hi Kliment! Where the trace is captured? Can you show the log of kamailio (as I understand in trace the BYE is send to kamailio server from Asterisk-N and Kamailio do not transmit it to client, or something different)? cheers Kliment Toshkov, Netfinity JSC wrote > Dear colleagues, > > > We

Re: [SR-Users] Planing to release v4.3.1

2015-07-20 Thread Daniel-Constantin Mierla
Hello, quick note to refresh that I will be packaging v4.3.1 later today. Starting with 12:00GMT till the release announcement, any commit to branch 4.3 should be anounced on sr-dev mailing list, to avoid inconsistent building of packages. Cheers, Daniel On 14/07/15 10:52, Daniel-Constantin Mier