Re: [SR-Users] Kamailio behind NAT

2014-01-30 Thread John Smith
Hello Fred, calls are being bridged across two interfaces: one natted from the outside with one public IP and one directly connected to the Asterisk. - Original Message - From: Fred Posner Sent: 01/24/14 06:55 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users]

Re: [SR-Users] Kamailio behind NAT

2014-01-30 Thread John Smith
Hello Andrew, I did not know this function. I am using it to determine the direction of the flow. Thank you - Original Message - From: Andrew Pogrebennyk Sent: 01/24/14 06:51 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Kamailio behind NAT On 01/23/2014

Re: [SR-Users] Kamailio behind NAT

2014-01-30 Thread John Smith
Hello Klaus, I have been making some tests just to be sure the network is not the problem. While using a simpler config file for Kamailio with just the TLS and NAT which does not involve Asterisk in the scenario, calls work properly between softphones. OTOH, using the template provided in the

[SR-Users] htable failed auth banning

2014-01-30 Thread Salvatore Nuzzo
hey guys. I was trying to add the htable routing rules here: http://preview.tinyurl.com/nomqsls but I need some help figuring our where they should go. See, I really like how this guy bans users for 15 minutes for failing to auth 3 times in a row. Where and how should I add this to my kam

Re: [SR-Users] htable failed auth banning

2014-01-30 Thread davy
I typically put that block of code in a specific routing block, and based on the default config, I put it right in the AUTH block: route[AUTH] { #!ifdef WITH_AUTH #!ifdef WITH_IPAUTH if((!is_method(REGISTER)) allow_source_address()) { # source IP allowed

Re: [SR-Users] htable failed auth banning

2014-01-30 Thread Daniel Tryba
On Thursday 30 January 2014 04:10:14 Salvatore Nuzzo wrote: but I need some help figuring our where they should go. See, I really like how this guy bans users for 15 minutes for failing to auth 3 times in a row. Where and how should I add this to my kam config? As soon as possible, so at the

Re: [SR-Users] tcp_keepalive, tcp_keepidle and tcp_connection_lifetime

2014-01-30 Thread Daniel Tryba
On Thursday 30 January 2014 06:41:06 Owais ul Haq wrote: I am trying to understand kamailio.cfg parameters. Can some one please help me in understanding what these parameters do exactly when set. tcp_keepalive, tcp_keepidle and tcp_connection_lifetime. I have a general understanding of tcp.

Re: [SR-Users] Media-proxy Query

2014-01-30 Thread Samir Kundu
Hello Nandini First of all allow me to introduce my-self to you, my name is Samir and I based in the England. I run a small company and the main activities is building bespoke server also importing in to Europe VoIP related phones + Wi-Fi mobile handsets and ATA(s). The reason for me to

[SR-Users] t_relay_to_tls cannot be found

2014-01-30 Thread jaflong jaflong
Can anyone suggest why t_relay_to_tls cannot be found 0(15284) ERROR: core [cfg.y:3272]: yyparse(): cfg. parser: failed to find command t_relay_to_tls i am using kamailio 4.1.1 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing

[SR-Users] Kamailio with mohqueue module

2014-01-30 Thread mark
Hi, I am developing a system using Kamailio 4.1.1 as a front-end to a group of Asterisk servers. All of the usual functionality (registations, inbound, outbound, internal calls) are fine. We need to add call queueing to the system. I looked at the mohqueue module and read that we can use

Re: [SR-Users] Kamailio with mohqueue module

2014-01-30 Thread Robert Boisvert
Mark, That part depends on you. There are so many ways to implement that function I decided not to make it a part of mohqueue. mohq_retrieve () provides a way to move calls out, mohq_count () allows you to check for queued calls within Kamailio scripts, and the database tables allow you to

[SR-Users] 401 responses ending up in onreply_route instead of failure_route

2014-01-30 Thread Daniel Tryba
Situation: endpoint - kamailio (4.1.0) - upstream sip server (kamailio 4.0.x) For an outbound call endpoint authenticates with kamailio. Kamailio relays the invite to upstream and upstream responds with a 401. This 401 should trigger authentication. So I thought I could use uac_auth() to fix

[SR-Users] Kamailio is not starting when it connects against remote mysql server

2014-01-30 Thread José Seabra
Hi there, I'm having a strange behavior when i start kamailio, it start processes but after few seconds all processes die, core [main.c:1630]: main_loop(): main_loop: Cannot fork Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7354]: DEBUG: db_mysql [km_my_con.c:94]:

Re: [SR-Users] Kamailio behind NAT

2014-01-30 Thread Klaus Darilion
I would disable TLS for debugging, and use TCP. If TCP works, TLS should work too (in the context of NAT traversal) and it is much more easier to debug. good luck klaus On 30.01.2014 10:24, John Smith wrote: Hello Klaus, I have been making some tests just to be sure the network is not the

[SR-Users] Fwd: Kamailio is not starting when it connects against remote mysql server

2014-01-30 Thread José Seabra
I there, I already found the root cause of this issue, the issue is on dns, as my dns server was down kamailio took time to does reverse dns. Thank you. 2014-01-30 José Seabra joseseab...@gmail.com Hi there, I'm having a strange behavior when i start kamailio, it start processes but after

Re: [SR-Users] Asterisk re-INVITE race condition, error 500.

2014-01-30 Thread dotnetdub
Hi David, Sorry to drag up a very old thread - we are seeing this also with asterisk kamailio and FS and I have tried lots of different combinations on both asterisk and FS to make it go away without success.. Did you ever come up with something better than the usleep ? Many Thanks On 3 June

Re: [SR-Users] Asterisk re-INVITE race condition, error 500.

2014-01-30 Thread Ovidiu Sas
Maybe adding a Retry-After header to the 500 might help. Regards, Ovidiu Sas On Mon, Jun 3, 2013 at 8:20 PM, Klaus Darilion klaus.mailingli...@pernau.at wrote: This is a known problem without simple solution. It can also happen if the ACK gets lost somewhere. The proper solution is to fix

[SR-Users] ngcp-mediaproxy-ng media address

2014-01-30 Thread Kelvin Chua
somehow, mediaproxy is ignoring the media address set via rtpproxy_manage(co,10.17.0.102); anybody tried this before? Jan 31 09:03:29 kam2 mediaproxy-ng[20455]: Got valid command from 127.0.0.1:46077: answer - { sdp: v=0#015#012o=root 345956998 345956998 IN IP4 10.17.0.105#015#012s=Asterisk

Re: [SR-Users] Kamailio is not starting when it connects against remote mysql server

2014-01-30 Thread José seabra
I there, I already found the root cause of this issue, the issue is on dns, as my dns server was down kamailio took time to does reverse dns. Thank you. 2014-01-30 José Seabra joseseab...@gmail.com Hi there, I'm having a strange behavior when i start kamailio, it start processes but

Re: [SR-Users] t_relay_to_tls cannot be found

2014-01-30 Thread Daniel-Constantin Mierla
Hello, the function is part of the tm module. Can you show what parameters you give to it? Cheers, Daniel On 30/01/14 15:50, jaflong jaflong wrote: Can anyone suggest why t_relay_to_tls cannot be found 0(15284) ERROR: core [cfg.y:3272]: yyparse(): cfg. parser: failed to find command

Re: [SR-Users] Notify with Websocket problem

2014-01-30 Thread Daniel-Constantin Mierla
Hello, can you try to use fix_nated_contact() for subscribe requests? Cheers, Daniel On 28/01/14 23:17, David Claybourne wrote: Hi Kamailio-Community, i have the following problem. Publish and subscribe works as suspected. But after saving the presence state from a publish request and