[SR-Users] Location of Encryption Algorithm in TLS Module

2014-09-09 Thread aawaise
Hello, I have downloaded and unzipped kamailio package available online. I want to know about TLS module, My question is that where is the encryption module located in TLS module ?? Is it in some .c file of TLS module or does TLS module use AES encryption available in LINUX or UNIX systems?? This

[SR-Users] app_java issue

2014-09-09 Thread Tom Johnson
Per my previous message, I determined that the module's makefile was not properly finding the jdk/jre directories needed to compile. So, I temporarily hardcoded the paths in the makefile. However, now when I use the module, Kamailio crashes. Below is the lines from /var/log/messages: Sep 9

Re: [SR-Users] TCP SYN only

2014-09-09 Thread Laurent Schweizer
Hello, I have check again the log file and I see other error tcp error reading and parsing ... Any idea ? Laurent 9 17:27:10 ch38 kamailio[24845]: ERROR: registrar [save.c:506]: invalid cseq for aor <90756153105> Sep 9 17:27:12 ch38 kamailio[24845]: ERROR: registrar [save.c:506]: invali

Re: [SR-Users] TLS Handshake failing with WSS

2014-09-09 Thread Manuel Camarg
According to this article I mentioned in the beginning: http://nil.uniza.sk/sip/kamailio/configuring-kamailio-4x-websocket In http:request they do straight away the set_reply_close(); I don't know exactly if this kamailio.cfg implementation may be useful for working with WSS: event_route[xhttp:

Re: [SR-Users] How to increment dialog calee_cseq value when using t_uac_dlg via xmlrpc for generating INFO requests

2014-09-09 Thread Daniel-Constantin Mierla
Hello, On 09/09/14 16:15, Drazen Rep wrote: Hi, I am using Kamailio 4.1.1 and dlg_manage() function for processing SIP requests with dialog module. After call is established Kamailio is being used for generating in-dialog INFO request toward caller (using t_uac_dlg function via xmlrpc). INF

[SR-Users] How to increment dialog calee_cseq value when using t_uac_dlg via xmlrpc for generating INFO requests

2014-09-09 Thread Drazen Rep
Hi, I am using Kamailio 4.1.1 and dlg_manage() function for processing SIP requests with dialog module. After call is established Kamailio is being used for generating in-dialog INFO request toward caller (using t_uac_dlg function via xmlrpc). INFO messages are correctly generated but dialog calee

Re: [SR-Users] No BYE from Called party

2014-09-09 Thread Yuriy Gorlichenko
Hello, this is me again) I added record_route header, that was no result I did some tests with my problem and have some results than confused me very hard... I registed my trunk from asterisk to provider directly. Do some calls. No errors- allpackets sends and recieved perfectly. Rgen I catc

Re: [SR-Users] TCP SYN only

2014-09-09 Thread Laurent Schweizer
And maybe other TCP params that I have in the kamailio config : # life time of TCP connection when there is no traffic # - a bit higher than registration expires to cope with UA behind NAT tcp_connection_lifetime=3620 tcp_connect_timeout=1 tcp_keepcnt = 10 tcp_keepidle = 10 tcp_send_timeout=3

Re: [SR-Users] TCP SYN only

2014-09-09 Thread Laurent Schweizer
regarding error , yes I have a lot of error regarding SDP and a few regarding TCP. for the SDP , initially I have think that I call rtpproxy_offer / rtpproxy_answer for a request that don't have any SDP but all rtpproxy method have a check with has_body("application/sdp") Sep 9 15:26:31 ch3

Re: [SR-Users] TCP SYN only

2014-09-09 Thread Laurent Schweizer
I don't have installed conntrack and /proc/net/ip_conntrack is not exsiting so I don't think that I'm using it . Laurent -Message d'origine- De : sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] De la part de Camille Oudot Envoyé : mardi 9 septemb

Re: [SR-Users] TCP SYN only

2014-09-09 Thread Camille Oudot
Le Tue, 9 Sep 2014 12:40:15 +, Laurent Schweizer a écrit : > I have found on internet many doc regarding TCP and max connection > issue and I have already done change in sysctl (see below) to > increase the number of tcp connection but seems still not ok. > > Any idea ? Is your machine using

Re: [SR-Users] TCP SYN only

2014-09-09 Thread Daniel-Constantin Mierla
Ahh, overlooked in your previous email -- the numbers reported by sockstats were close to the default value for max connections, so it was my first thought. Do you get any error messages in syslog from kamailio? Cheers, Daniel On 09/09/14 15:16, Laurent Schweizer wrote: Yes I set tcp_max_co

Re: [SR-Users] TCP SYN only

2014-09-09 Thread Laurent Schweizer
Yes I set tcp_max_connections=104096 Laurent De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] Envoyé : mardi 9 septembre 2014 15:09 À : Laurent Schweizer; Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] TCP SYN only Hello, have you increased the max connections limit? - htt

Re: [SR-Users] TCP SYN only

2014-09-09 Thread Daniel-Constantin Mierla
Hello, have you increased the max connections limit? - http://www.kamailio.org/wiki/cookbooks/devel/core#tcp_max_connections The PKG_MEM_POOL_SIZE is more or less same as -m parameter, so you don't need to change the sources if you need higher value. Cheers, Daniel On 09/09/14 14:57, Lauren

Re: [SR-Users] TCP SYN only

2014-09-09 Thread Laurent Schweizer
Hi, Yes I check them, the only 2 point that I have actually not tested is to change : - You might have to decrease TCP_BUF_SIZE to a smaller value (e.g 8K) - You might want to increase PKG_MEM_POOL_SIZE (for large queues) I'm using Kamailio 3.2.1 I have set: tcp children to 50 tcp_max_connect

Re: [SR-Users] TCP SYN only

2014-09-09 Thread Daniel-Constantin Mierla
Hello, have you checked the file in the sources located at doc/tcp_tunning.txt? Cheers, Daniel On 09/09/14 14:40, Laurent Schweizer wrote: Dear all, Since few weeks I have more and more TCP issue, I can see that sometimes the client send a TCP SYN but never get any response. 106.12331

Re: [SR-Users] [sr-dev] new module db_kazoo

2014-09-09 Thread Daniel-Constantin Mierla
Hello, I see there are some new functions prefixed with kazoo_, using a terminology familiar with presence extensions. Also, looking at the source code a bit, the module doesn't seem to be an implementation of a database connector. Am I right? I mean, just for example, it cannot be used as a

[SR-Users] TCP SYN only

2014-09-09 Thread Laurent Schweizer
Dear all, Since few weeks I have more and more TCP issue, I can see that sometimes the client send a TCP SYN but never get any response. 106.123315 62.12.179.104 -> X.X.X.X TCP 39174 > sip [SYN] Seq=0 Win=4380 Len=0 MSS=1380 TSV=4294942209 TSER=0 WS=1 109.124384 62.12.179.104 -> X.X.X.X

Re: [SR-Users] [sr-dev] new module db_kazoo

2014-09-09 Thread Luis Azedo
Hi Daniel, you can check our current code at https://github.com/2600hz/kazoo-kamailio/tree/4.0https://github.com/2600hz/kazoo-kamailio/tree/4.0 this is already compatible with master from kamailio (tests running ok). we will start to update the docs when we commit to master and will get it read

Re: [SR-Users] [sr-dev] new module db_kazoo

2014-09-09 Thread Daniel-Constantin Mierla
Hello, thanks for this contribution! Do you have a link to the module source code or can you send it attached? We need to review a bit and check if everything is in place (e.g., license, documentation). For a better clarification, do the json payloads flowing via AMQP have a structure speci

[SR-Users] new module db_kazoo

2014-09-09 Thread Luis Azedo
Hello Awesome Kamailio Community, We are writing on behalf of 2600hz, where we have been using Kamailio for some time now and are very pleased with our results! So, seems time to commit something back, dontchya think? We would like to present to you a new module, to hopefully be included in mas

Re: [SR-Users] Using app_java

2014-09-09 Thread Daniel Tryba
On Monday 08 September 2014 23:26:58 Tom Johnson wrote: > Any tips on compiling the app_java module? I am on CentOS 6. And I have > libgcj-4.4.7 installed, but the build process complains about missing > jni.h and other files. Did you install the development packages for gcj? _

Re: [SR-Users] Creating array out of hashtable

2014-09-09 Thread aft
Thanks for the reply. It was very helpful. On Mon, Sep 8, 2014 at 3:38 PM, Daniel-Constantin Mierla wrote: > Hello, > > On 08/09/14 10:50, aft wrote: >> >> [1]Is it possible to iterate a htable without using "keys" like an array? > > > there is no possibility to iterate the hash table from config