[SR-Users] routing design

2015-12-07 Thread Slava Bendersky
Hello Everyone, Looking for some design suggestion. I am trying achieve routing based on domain.tld. I thought use drouting, but not sure if it suitable for this task. Example: Kamailio Server 1 | |__ PBX Group 1 domain1.tld | | PBX Server 1 | |PBX Server 2 |_

Re: [SR-Users] lookup(location) offen dont work with websocket connected endpoints

2015-12-07 Thread Daniel-Constantin Mierla
No such issue seen in the websocket deployments, have you enabled unregistering if the tcp connection is closed? Cheers, Daniel On 07/12/15 08:46, Yuriy Gorlichenko wrote: > long time ago looked this problem but resolve it by sql queries > directly from confing file to location table. > > So whil

Re: [SR-Users] secure websocket error in kamailio

2015-12-07 Thread Daniel-Constantin Mierla
Hello, what version of kamailio are you using? Have you increased the value for core parameter tcp_max_connections? http://www.kamailio.org/wiki/cookbooks/4.3.x/core#tcp_max_connections Cheers, Daniel On 07/12/15 09:32, Priyaranjan Nayak wrote: > > Hi All, > > I am running the kamailio for s

Re: [SR-Users] Installing 4.3 version from git

2015-12-07 Thread Daniel-Constantin Mierla
On 07/12/15 10:03, Alex Balashov wrote: > Hi, > > On 12/07/2015 04:01 AM, Jurijs Ivolga wrote: > >> As far as I understood latest stable version is 4.3.3, but after >> installing from git I'm getting 4.3.4 version which is I believe is >> development version. > > That's not accurate: > > http://l

Re: [SR-Users] crash on using http_query when response is 200

2015-12-07 Thread Daniel-Constantin Mierla
Hello Olle, I made a note on your but tracker issue, because the new curl module doesn't seem to have some fixed done to utils module in august/september -- those patches look like fixing what you are facing. Have you seen it? Cheers, Daniel On 07/12/15 16:06, Olle E. Johansson wrote: > Please p

[SR-Users] PDB module long prefixes

2015-12-07 Thread Igor Potjevlesch
Hi, I had configured my pdb module to accept 5 number prefixes by doing: In pdbt.c: bufsize = slen + 1 + 1 + *4* + 1 + 1; // line buff er (telephone number + colon + white space + carrier ID + newline + \0) ... ret = snprintf(p,* 7*, "%d\n", node->carrier); if (ret < 1 || ret >

Re: [SR-Users] crash on using http_query when response is 200

2015-12-07 Thread Olle E. Johansson
Please post this on the issue tracker. I also get crashes, but they’re not like this. /Olle > On 07 Dec 2015, at 15:54, Jayesh Nambiar wrote: > > Hi, > I'm using http_query to send a post request on a https URL. The weird part is > it crashes with segmentation fault when the response from th

[SR-Users] crash on using http_query when response is 200

2015-12-07 Thread Jayesh Nambiar
Hi, I'm using http_query to send a post request on a https URL. The weird part is it crashes with segmentation fault when the response from the server is 200. If the response was a 500, it works and continues processing. Here's the function: http_query("https://notify.abcd.com/onnet/call";, "$avp(d

Re: [SR-Users] Installing 4.3 version from git

2015-12-07 Thread Alex Balashov
Hi, On 12/07/2015 04:01 AM, Jurijs Ivolga wrote: As far as I understood latest stable version is 4.3.3, but after installing from git I'm getting 4.3.4 version which is I believe is development version. That's not accurate: http://lists.sip-router.org/pipermail/sr-dev/2015-November/032048.ht

[SR-Users] Installing 4.3 version from git

2015-12-07 Thread Jurijs Ivolga
Hi all, I'm trying to install 4.3 version from git as described here: http://www.kamailio.org/wiki/install/4.3.x/git As far as I understood latest stable version is 4.3.3, but after installing from git I'm getting 4.3.4 version which is I believe is development version. kamailio -version versio

[SR-Users] secure websocket error in kamailio

2015-12-07 Thread Priyaranjan Nayak
Hi All, I am running the kamailio for secure websocket (WSS). While running traffic testing the kamailio is not able to take beyond 2300 connection. I am getting below error. 45(12831) ERROR: tls [tls_server.c:243]: tls_fix_connection_unsafe(): tls: ssl bug #1491 workaround: not enough memory for

Re: [SR-Users] Executing a C function from the Kamailio Script

2015-12-07 Thread Alex Balashov
On 12/04/2015 12:25 PM, Mack Hendricks wrote: Thanks…that what I was thinking, but the customer has the logic in a C function already and he would like to reuse it. Fair enough. So, why can't you take this C function and wrap it in a Kamailio module? -- Alex Balashov | Principal | Evariste

Re: [SR-Users] SIP Trunking Kamailio directly to external SIP Trunk Provider

2015-12-07 Thread Daniel-Constantin Mierla
Hello, do you need some LCR or just forwarding INVITEs to provider? If the second, the default kamailio.cfg has some basic PSTN forwarding logic -- look for PSTN in the file. Cheers, Daniel On 26/11/15 02:10, amjadali...@hotmail.com wrote: > Hi, > > I have got two Asterisk servers and both are c

[SR-Users] Announcement: Next Kamailio World - May 18-20, 2016, in Berlin

2015-12-07 Thread Daniel-Constantin Mierla
Hello, a short message to announces that the date and location for next Kamailio World Conference were decided - May 18-20, 2016, in Berlin, Germany. Kamailio project is celebrating 15 years of development in 2016, therefore we plan to have a special edition. Website of the event and call for pr

Re: [SR-Users] Kamailio radius authentication prolem

2015-12-07 Thread Daniel-Constantin Mierla
Hello, no, those attributes must be sent in the radius server for the user profile. The radius server replies only on/not-ok for authentication. Kamailio is sending only the attributes from the sip message headers, not password in clear text or digest-ha1. Cheers, Daniel On 02/12/15 13:24, Volka

Re: [SR-Users] No NOTIFY while PUBLISHing new presence status

2015-12-07 Thread Daniel-Constantin Mierla
Hello, can you set debug=3 in kamailio.cfg and then send the syslog messages for handling the PUBLISH request? Also, can you watch the sip network traffic on port 5060, including the loopback interface? Maybe some packets are sent over a different network. Cheers, Daniel On 03/12/15 16:03, Thie