Re: [SR-Users] Reuse TLS connections

2012-02-13 Thread Klaus Darilion
On 13.02.2012 18:07, Bruno Bresciani wrote: Hi all, There is the possibility to kamailio reuse the TLS connection created by other SIP server? When kamailio use t_relay function to send a SIP request message to other server, kamailio verify if already exist some connection established with th

Re: [SR-Users] get server parameters from DB when kamailio starts

2012-02-13 Thread Uri Shacked
thanks. i find the htable module a little confusing, or a little harder to understand. (although i said so on the mtree and today i find myself using it a lot). but, i notice at the end of the doc at section 7 to the "event_route[htable:mod-init]". i wonder, if i just load the htable module, and on

Re: [SR-Users] Is there something like "silence detect hangup"

2012-02-13 Thread Stoyan Mihaylov
Thanks, I found solution - in Asterisk - rtptimeout I am using rtpproxy with Kamailio, there is timeout socket, but for this moment, it looks complicated for me. On Mon, Feb 13, 2012 at 5:53 PM, David wrote: > Doubt it. > > You would need your "media" gateway to detect such a case. > > > > > O

Re: [SR-Users] Is exec module ignoring time_to_kill parameter?

2012-02-13 Thread Miguel Baptista
On 13.02.2012 16:31, Daniel-Constantin Mierla wrote: > Hello, > > On 2/13/12 2:55 PM, Miguel Baptista wrote: >> Hello, >> >> I am running kamailio 3.1.3 and I am making some tests with the exec >> module. I am running a "dummy" script and it worked like a charm. >> Now, I am testing what happens wh

[SR-Users] Reuse TLS connections

2012-02-13 Thread Bruno Bresciani
Hi all, There is the possibility to kamailio reuse the TLS connection created by other SIP server? When kamailio use t_relay function to send a SIP request message to other server, kamailio verify if already exist some connection established with the destiny and use it even if this connection was

Re: [SR-Users] TCP keepalive on server and client

2012-02-13 Thread Jijo
Hello, I have a requirement where the TLS connection initiated by kamailio shall stay to reuse by the sip server. The sip server is expecting PING on the TLS connection as as per the RFC 5626. Is there any plan to implement ping "CRLF CRLF" send by kamailio as per the RFC 5626. Thanks Jijo On Mo

Re: [SR-Users] Is there something like "silence detect hangup"

2012-02-13 Thread David
Doubt it. You would need your "media" gateway to detect such a case. On 2/13/12 10:44 AM, Stoyan Mihaylov wrote: Problem - if connection drop, call can persist. In Asterisk there is silencedetecthangup - which should cause hangup, if there is full silence for desired period of time. Unfortu

[SR-Users] Is there something like "silence detect hangup"

2012-02-13 Thread Stoyan Mihaylov
Problem - if connection drop, call can persist. In Asterisk there is silencedetecthangup - which should cause hangup, if there is full silence for desired period of time. Unfortunately it does not hangup. I mean: SIP client 1 ->Kamailio -> Asterisk ->Kamailio -> SIP client 2 If I drop connection fo

Re: [SR-Users] TCP keepalive on server and client

2012-02-13 Thread Daniel-Constantin Mierla
Hello, tcp_keepalive is setting SO_KEEPALIVE which means sending keeplive by kamailio. You can watch network traffic with ngrep/tcpdump/wireshark... The tcp parameters are documented on wiki: http://www.kamailio.org/wiki/cookbooks/devel/core#tcp_keepalive Cheers, Daniel On 2/3/12 11:33 AM,

Re: [SR-Users] Kamailio to Skype/Gtalk/Yahoo

2012-02-13 Thread Daniel-Constantin Mierla
Hello, On 2/9/12 11:18 AM, Abid Naseem wrote: Hi, Just wanted to know if it is possible for kamailio to route calls to user's skype/gtalk/yahoo messenger? no, only instant messaging and presence (to some extent) to gtalk via xmpp module. For yahoo, might work also for instant messaging and p

Re: [SR-Users] Howto configure to use SQLITE

2012-02-13 Thread Daniel-Constantin Mierla
Hello, On 2/9/12 2:06 PM, Perazim wrote: I got a little further but still not working. Here are changes I have made to default: kamailio.cfg: ... # *** To enable mysql: #!define WITH_MYSQL # # *** To enable authentication execute: # - enable mysql #!define WITH_AUTH # - add users using

Re: [SR-Users] get server parameters from DB when kamailio starts

2012-02-13 Thread Daniel-Constantin Mierla
Hello, On 2/10/12 2:32 PM, Uri Shacked wrote: thanks, it is good see there is a wayto start with -A... and it might make it easier a little (cause i use the define as the group the server belongs to). but, it doesn't help me fully in my case. i would like to have a generic start, and generic

Re: [SR-Users] Is exec module ignoring time_to_kill parameter?

2012-02-13 Thread Daniel-Constantin Mierla
Hello, On 2/13/12 2:55 PM, Miguel Baptista wrote: Hello, I am running kamailio 3.1.3 and I am making some tests with the exec module. I am running a "dummy" script and it worked like a charm. Now, I am testing what happens when the script takes "too much time" to return a result. According to

Re: [SR-Users] Problems with TCP

2012-02-13 Thread Daniel-Constantin Mierla
Hello, for 1) Is the device behind nat? Do you have tcp connection lifetime parameter value long enough? for 2) is the physical IP a public space IP? Do you have mhomed parameter set? It is a warning saying that the interface returned by OS for connecting to the destination is not in the lis

[SR-Users] Is exec module ignoring time_to_kill parameter?

2012-02-13 Thread Miguel Baptista
Hello, I am running kamailio 3.1.3 and I am making some tests with the exec module. I am running a "dummy" script and it worked like a charm. Now, I am testing what happens when the script takes "too much time" to return a result. According to exec module documentation the/ time_to_kill /parameter

[SR-Users] Problems with TCP

2012-02-13 Thread Mino Haluz
Hi, our customers are using mostly UDP but some of them want to use TCP. The problem is, I get various TCP errors in kamailio log and I do not understand what they mean 1) ERROR: [tcp_main.c:4130]: connect failed This means kamailio is trying to connect with TCP to the customer ?? 2) WARNING: t