Re: [SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Sebastian Damm
On Fri, Feb 27, 2015 at 3:11 PM, Daniel-Constantin Mierla wrote: > > I would use an extra branch flag here. > > Keepalives are sent based on nat_bflag and sipping_bflag. You can set both > no matter it is actually a register from a natted phone or not. > That's the solution we tried to implement

Re: [SR-Users] kamctl: command not available

2015-02-27 Thread Thomas Baeumer
* Fred Posner schrieb 27.02.2015 15:38h: > If you're just trying to monitor the state... I'd recommend either > kamctl monitor > or > kamctl uptime ok, but this is also not working: # kamctl monitor [cycle #: 1; if constant make sure server lives] 500 command 'version' not available 500 command

Re: [SR-Users] kamctl: command not available

2015-02-27 Thread Fred Posner
On 02/27/2015 09:33 AM, Thomas Baeumer wrote: > Hi there, > > I want to use kamctl to monitor the state of a sip-proxy. > I just have no idea which commands are available or should i use > "kamctl mi" or "kamctl fifo" commands. > Google dont give helpful links for that. > > Im am using kamailio

[SR-Users] kamctl: command not available

2015-02-27 Thread Thomas Baeumer
Hi there, I want to use kamctl to monitor the state of a sip-proxy. I just have no idea which commands are available or should i use "kamctl mi" or "kamctl fifo" commands. Google dont give helpful links for that. Im am using kamailio 4.2.3+wheezy on a Debian wheezy and kamctrl dont work: # kamc

Re: [SR-Users] TEXTOPS parser problem with binary data in MIME body

2015-02-27 Thread Federico San Martín
Thank you for the quick reply Klaus! I'm currently trying a new patch for the SIPT module created by Torrey Searle that allows me to modify the binary data on the BCI byte, the only caveat is that you have to receive the BCI to modify it, you can't create it on the fly. BR, Federico -

Re: [SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Daniel-Constantin Mierla
Hello, On 27/02/15 09:26, Sebastian Damm wrote: > Hi, > > On Fri, Feb 27, 2015 at 9:07 AM, Juha Heinanen > wrote: > > Sebastian Damm writes: > > > Does anyone have a hint, how to keep the IPv6 registrations > alive? Thanks > > in advance. > > use tcp.

Re: [SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Moritz Graf
s/NAT pinhole open/connection alive/g On 02/27/2015 02:41 PM, Moritz Graf wrote: > Hi Sebastian, > > maybe it could be a solution to lower the registration interval for ipv6 > users to ~30 seconds. This would keep the NAT pinhole open. > Of course this will cause high traffic + registrar load. To

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Javi Gallart
Hello I ignore your setup, a few tips that can help you to narrow down the problem: -Make sure your kamailio is connected to redis: 'redis-cli info | grep connected_clients' should show a number bigger than the number of kamailio children -Print with xlog the value of $si before calling re

Re: [SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Moritz Graf
Hi Sebastian, maybe it could be a solution to lower the registration interval for ipv6 users to ~30 seconds. This would keep the NAT pinhole open. Of course this will cause high traffic + registrar load. To reduce this, you could only require a authentication every ~20 minutes. For the registers i

Re: [SR-Users] kamailio asterisk

2015-02-27 Thread Slava Bendersky
Hello Daniel, Here paste for gdb http://fpaste.org/191338/25043949/ I got REGISTER and SUBSCRIBE start working correctly I see on asterisk correct record routes and sip traffic flow, but when asterisk or client ( soft phone) send OPTIONS or NOTIFY can't get properly relay it. This is SUBSC

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Yuriy Gorlichenko
What type of info can I provide for deeper analys of this situation? 2015-02-27 14:34 GMT+03:00 Javi Gallart : > Hello > On 27/02/15 11:58, Yuriy Gorlichenko wrote: > > at the monitor I see nothing about this request > > It's difficult to say without further information, but for some reason > yo

Re: [SR-Users] WARNING: [local_timer.c:83]: _local_timer_dist_tl(): 0 expire timer added"?

2015-02-27 Thread Anthony Messina
On Friday, February 27, 2015 11:53:22 Camille Oudot wrote: > Le Sat, 21 Feb 2015 12:47:08 -0600, > > Anthony Messina a écrit : > > Good day. Is anyone able to let me in on what this means "WARNING: > > [local_timer.c:83]: _local_timer_dist_tl(): 0 expire timer > > added"? I just started seeing

Re: [SR-Users] kamailio asterisk

2015-02-27 Thread Daniel-Constantin Mierla
Hello, I asked for the wrong command, as the bt full was already sent before -- I wanted the output from gdb for: p *tcpconn Daniel On 27/02/15 04:10, Slava Bendersky wrote: > Hello Daniel, > Here bt full from back trace. > > http://fpaste.org/191207/50064491/ > > Slava. > > --

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Javi Gallart
Hello On 27/02/15 11:58, Yuriy Gorlichenko wrote: at the monitor I see nothing about this request It's difficult to say without further information, but for some reason your command is not hitting redis, probably because the connection is down. Javi 2015-02-27 13:21 GMT+03:00 Yuriy Gorlichen

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Yuriy Gorlichenko
at the monitor I see nothing about this request 2015-02-27 13:21 GMT+03:00 Yuriy Gorlichenko : > Now I see that null values recieved after I see this at kamailio log > > redisc_exec(): Redis error: Server closed the connection > > > 2015-02-27 12:45 GMT+03:00 Javi Gallart : > >> Hello, >> check

Re: [SR-Users] WARNING: [local_timer.c:83]: _local_timer_dist_tl(): 0 expire timer added"?

2015-02-27 Thread Camille Oudot
Le Sat, 21 Feb 2015 12:47:08 -0600, Anthony Messina a écrit : > Good day. Is anyone able to let me in on what this means "WARNING: > [local_timer.c:83]: _local_timer_dist_tl(): 0 expire timer > added"? I just started seeing this after pulling down 5c1a9df from > git and it seems like something

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Yuriy Gorlichenko
Now I see that null values recieved after I see this at kamailio log redisc_exec(): Redis error: Server closed the connection 2015-02-27 12:45 GMT+03:00 Javi Gallart : > Hello, > check out http://redis.io/commands/monitor > It will help you to determine the exact command that kamailio is > del

Re: [SR-Users] Registrations/TCP (new topic)

2015-02-27 Thread Sebastian Damm
On Fri, Feb 27, 2015 at 9:59 AM, Olle E. Johansson wrote: > Actually, it's the latter. Our current high availability setup reilies on > anycast. And with TCP, this would mean a huge change in our setup. > > That is in fact an interesting topic. Can you please elaborate a bit more > on this as I

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Javi Gallart
Hello, check out http://redis.io/commands/monitor It will help you to determine the exact command that kamailio is delivering to the server when you execute the redis_cmd(...) function inside the script. For a non null reply, yo will need a key in redis with the same value as $si. Javi On 27/

Re: [SR-Users] kamailio asterisk

2015-02-27 Thread Slava Bendersky
Hello Daniel, I tried $rz option on top of request route and that where I see wrong request uri like sip:sips: . And as far I can see it happenes only for SUBSCRIBE INVITE and NOTIFY. if($rz=="sips") {    $ru = "sip" + $(ru{s.substr,4,0}); } Slava. Sent from mobile device typos are expected.

Re: [SR-Users] kamailio asterisk

2015-02-27 Thread Slava Bendersky
Hello Daniel, Here bt full from back trace. http://fpaste.org/191207/50064491/ Slava. From: "volga629" To: mico...@gmail.com, "Slava Bendersky" Cc: "sr-users" Sent: Thursday, February 26, 2015 9:56:48 PM Subject: Re: [SR-Users] kamailio asterisk Hello Daniel, I tried $rz option on

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Yuriy Gorlichenko
I will try. I new at redis. Does cli monitor get resul of kamailio request at the cli? 2015-02-27 11:38 GMT+03:00 Javi Gallart : > Hello > > can you check with "redis-cli monitor" what is the command sent to Redis > in that case? > > Javi > On 27/02/15 09:15, Yuriy Gorlichenko wrote: > > Hello I

Re: [SR-Users] Registrations/TCP (new topic)

2015-02-27 Thread Olle E. Johansson
On 27 Feb 2015, at 09:53, Sebastian Damm wrote: > Actually, it's the latter. Our current high availability setup reilies on > anycast. And with TCP, this would mean a huge change in our setup. > That is in fact an interesting topic. Can you please elaborate a bit more on this as I would like

Re: [SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Sebastian Damm
On Fri, Feb 27, 2015 at 9:35 AM, Juha Heinanen wrote: > how is it possible that a new sip phone that implements ipv6 does not > implement tcp and ssl? or is it so that you don't want to use tcp? > Actually, it's the latter. Our current high availability setup reilies on anycast. And with TCP, t

Re: [SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Javi Gallart
Hello can you check with "redis-cli monitor" what is the command sent to Redis in that case? Javi On 27/02/15 09:15, Yuriy Gorlichenko wrote: Hello I try to get some replies from redis. Time after time redis request give me null result. But redis bs not disconnected. This happens only with

Re: [SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Juha Heinanen
Sebastian Damm writes: > Okay, should have added: UDP, please. how is it possible that a new sip phone that implements ipv6 does not implement tcp and ssl? or is it so that you don't want to use tcp? -- juha ___ SIP Express Router (SER) and Kamailio

Re: [SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Olle E. Johansson
On 27 Feb 2015, at 09:04, Sebastian Damm wrote: > Hi, > > while testing IPv6 with customers, we fell over quite a few cases, where > customers aren't reachable on inbound calls most of the time. And digging > into this, we found the home router firewall as the cause for those problems. > > N

Re: [SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Olle E. Johansson
On 27 Feb 2015, at 09:07, Juha Heinanen wrote: > Sebastian Damm writes: > >> Does anyone have a hint, how to keep the IPv6 registrations alive? Thanks >> in advance. > > use tcp. What is the problem? There is no need for any keep-alived in IPv6. /O __

Re: [SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Sebastian Damm
Hi, On Fri, Feb 27, 2015 at 9:07 AM, Juha Heinanen wrote: > Sebastian Damm writes: > > > Does anyone have a hint, how to keep the IPv6 registrations alive? Thanks > > in advance. > > use tcp. > Okay, should have added: UDP, please. Best Regards, Sebastian __

[SR-Users] ndb_redis set reply to EXISTS query

2015-02-27 Thread Yuriy Gorlichenko
Hello I try to get some replies from redis. Time after time redis request give me null result. But redis bs not disconnected. This happens only with websocket endpoints. My queries is: redis_cmd("srv1", "EXISTS $si", "s"); So at xLOG i see that $si correctly sended, but result is null. At db I k

[SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Juha Heinanen
Sebastian Damm writes: > Does anyone have a hint, how to keep the IPv6 registrations alive? Thanks > in advance. use tcp. -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.si

[SR-Users] Keeping Registrations alive in IPv6 scenarios

2015-02-27 Thread Sebastian Damm
Hi, while testing IPv6 with customers, we fell over quite a few cases, where customers aren't reachable on inbound calls most of the time. And digging into this, we found the home router firewall as the cause for those problems. Normally, you would think, all the NAT problems cease when switching