Re: [SR-Users] SIP over WebSockets error: bad request

2013-03-26 Thread Peter Dunkley
tcp_accept_no_cl=yes should always be used when Kamailio is receiving HTTP traffic (the event_route[xhttp:request] is used) as HTTP/1.1 does not use the Content-Length: header if there is no message body (as in the case of the WebSocket handshake). Even when there is a body Content-Length: is not

Re: [SR-Users] SIP over WebSockets error: bad request

2013-03-26 Thread Brad Johns
Hello Peter, Thank you for the quick reply. Yes, that did the trick. Changing "tcp_accept_no_cl" to value of no was the resolution. It seems that the JsSIP Tryit sample code, which I was trying to hack, doesn't use Content-Length in the header. I wonder if this should be changed to set the Con

Re: [SR-Users] SIP over WebSockets error: bad request

2013-03-26 Thread Peter Dunkley
Hello, Check that you have "tcp_accept_no_cl=yes" in your configuration. This is required for Kamailio to parse messages over TCP which do not have "Content-Length:" headers (including HTTP requests). If that doesn't work try running Kamailio with debug output at its highest level (you'll need t

[SR-Users] kamailio > user agent client...

2013-03-26 Thread Douglas Adami
hello guys, I'm new here, already working with Asterisk for some time and decided to learn more about kamailio, I'm studying your settings and features and want to start a project to integrate with Asterisk, but leaving the asterisk for voicemail and IVR. http://kb.asipto.com/asterisk:realti

[SR-Users] Subscriber password management

2013-03-26 Thread Moacir Ferreira
Hi, What is the best way (or application) to allow for subscribers change manage their own password? Thanks, Moacir ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-route

[SR-Users] SIP over WebSockets error: bad request

2013-03-26 Thread Brad Johns
Hi, Wondering if anyone could please help me debug what is wrong with my kamailio.cfg for Websockets support. I'm using JsSIP sample application, and I've compiled Kamailio 4.0 for WS support. My config is borrowed from link this link [1]. Wondering if anyone can help me debug this. Error is b

Re: [SR-Users] Dialog module - shared state

2013-03-26 Thread Daniel-Constantin Mierla
On 3/26/13 7:36 PM, Charles Chance wrote: Thanks Daniel, that's what I'm thinking (dmq). Welcome! Not sure it would help anyhow, but htable should have support for dmq replication -- quick source code reveals that, although the readme of htable does not have any related note. Cheers, Danie

Re: [SR-Users] Dialog module - shared state

2013-03-26 Thread Charles Chance
Thanks Daniel, that's what I'm thinking (dmq). I'll let you know how I get on! Cheers, Charles On Mar 26, 2013 4:40 PM, "Daniel-Constantin Mierla" wrote: > Hello, > > On 3/26/13 5:30 PM, Charles Chance wrote: > >> Hi Daniel, >> >> Yes, dmq is the clear way forward once it's working. Is it a l

Re: [SR-Users] Dialog module - shared state

2013-03-26 Thread Daniel-Constantin Mierla
Hello, On 3/26/13 5:30 PM, Charles Chance wrote: Hi Daniel, Yes, dmq is the clear way forward once it's working. Is it a lot of work to get going again? For it to be really useful, I would imagine other modules will need to make use of it from within their code, rather than the user trying t

Re: [SR-Users] Yet another IPv6 question related with rtpproxy ipv4/ipv6 bridging

2013-03-26 Thread Daniel-Constantin Mierla
Hello, On 3/25/13 9:23 AM, Miguel Baptista wrote: Hello, I have been doing some tests with kamailio and IPv6. My initial setup was IPv6 only and now am I extending it to a dual-stack environment. Well, and now I am starting to face some (interesting) challenges. So, the first step in the d

Re: [SR-Users] Dialog module - shared state

2013-03-26 Thread Charles Chance
Hi Daniel, Yes, dmq is the clear way forward once it's working. Is it a lot of work to get going again? For it to be really useful, I would imagine other modules will need to make use of it from within their code, rather than the user trying to do stuff in the config. I may take a look and see how

[SR-Users] Kamailio World Updates - March 26

2013-03-26 Thread Daniel-Constantin Mierla
Hello, the agenda is pretty much set for Kamailio World Conference, see it at: - http://conference.kamailio.com/k01/schedule/ The event starts in three weeks from now, we are glad to be able to host a great group of speakers. There are well known names in the industry able to share insights

Re: [SR-Users] Dialog module - shared state

2013-03-26 Thread Daniel-Constantin Mierla
Hello, On 3/26/13 1:51 PM, Charles Chance wrote: Hi all, I was wondering, how are others sharing dialog module (particularly profile) state between multiple servers? if it is just about counting the active dialog calls per user/ip/etc ... so far I am mainly using htable, with notifications

Re: [SR-Users] Kamailio on AWS

2013-03-26 Thread Daniel-Constantin Mierla
Hello, it is still one IP from point of view of signaling (SIP). Do you want to provide single IP also for media (RTP)? If you have lot of calls, then it can result in a bottleneck for bandwidth as all voice/video streams end up on the same server. Cheers, Daniel On 3/26/13 2:16 PM, Felipe

Re: [SR-Users] Debugging and syslog

2013-03-26 Thread Daniel-Constantin Mierla
On 3/26/13 2:12 PM, Daniel W. Graham wrote: That was it, I was hoping it was something simple, frustrating I over looked it. Thanks for pointing it out, it is very much appreciated! Welcome! Glad it was useful, Daniel -Dan *From:*sr-users-boun...@lists.sip-router.org [mailto:sr-users-bo

Re: [SR-Users] Implementing encryption

2013-03-26 Thread Daniel-Constantin Mierla
On 3/26/13 11:57 AM, Vitaliy Aleksandrov wrote: It works pretty good. But when I was testing such an implementation with imitation of high latency (200ms) and packet loss(about 15%) voice over UDP worked much better since TCP was trying to retransmit lost segments. I think TCP_NODELAY must be

Re: [SR-Users] Implementing encryption

2013-03-26 Thread Daniel-Constantin Mierla
Hello, On 3/26/13 11:15 AM, Techie Sup wrote: Hello, This was a concept raised in my mind and was looking for a lead or hint to get started to work on routing rtp via tcp. ( On SIP phone as well as Kamailio ). I knew through googling there has been such implementation and thus to make sure it i

Re: [SR-Users] Kamailio on AWS

2013-03-26 Thread Felipe Ramos
Daniel Thanks a lot for your response, in my case i don't want to provide so many ips to carriers acl because aws elastic ip are not consistent, that is the reason i wanted to proxy everything trough kamailio, here it is my setup i wont be doing any registration because of my setup does not require

Re: [SR-Users] Debugging and syslog

2013-03-26 Thread Daniel W. Graham
That was it, I was hoping it was something simple, frustrating I over looked it. Thanks for pointing it out, it is very much appreciated! -Dan From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Tuesday, March 2

[SR-Users] Dialog module - shared state

2013-03-26 Thread Charles Chance
Hi all, I was wondering, how are others sharing dialog module (particularly profile) state between multiple servers? Thanks in advance, Charles -- www.sipcentric.com Follow us on twitter @sipcentric Sipcentric Ltd. Company registered in England & Wales no. 736

Re: [SR-Users] Implementing encryption

2013-03-26 Thread Vitaliy Aleksandrov
It works pretty good. But when I was testing such an implementation with imitation of high latency (200ms) and packet loss(about 15%) voice over UDP worked much better since TCP was trying to retransmit lost segments. I think TCP_NODELAY must be always enabled to avoid packets concatenation at

Re: [SR-Users] Implementing encryption

2013-03-26 Thread Techie Sup
Hello, This was a concept raised in my mind and was looking for a lead or hint to get started to work on routing rtp via tcp. ( On SIP phone as well as Kamailio ). I knew through googling there has been such implementation and thus to make sure it is an absolute possibility. So here, I am just try

Re: [SR-Users] KAMAILIO Config Hot/Live reload

2013-03-26 Thread Vitaliy Aleksandrov
On 03/25/2013 02:36 PM, Daniel-Constantin Mierla wrote: Hello, On 3/24/13 4:20 PM, Vitaliy Aleksandrov wrote: On 03/21/2013 12:59 AM, Daniel-Constantin Mierla wrote: Hello, On 3/18/13 7:09 PM, Omar wrote: Kamailio Team. Was this feature added already or we still need to restart kamailio af

Re: [SR-Users] Debugging and syslog

2013-03-26 Thread Daniel-Constantin Mierla
Hello, you seem to have in your config: #!define WITH_DEBUG which enables: log_stderror=yes meaning that log messages are printed to the terminal, not to syslog. Set: log_stderror=no Cheers, Daniel On 3/25/13 4:30 PM, Daniel W. Graham wrote: I don't have a syslog user, but I have tri

Re: [SR-Users] Kamailio on AWS

2013-03-26 Thread Daniel-Constantin Mierla
Hello, On 3/26/13 2:38 AM, Felipe Ramos wrote: Can anyone please point me on a configuration example for kamailio when it is behind NAT, i need to change the contact ip from internal to external on sdp you should not need that. Kamailio should do record routing, advertising the public IP, s

Re: [SR-Users] Implementing encryption

2013-03-26 Thread Daniel-Constantin Mierla
Hello, On 3/26/13 9:46 AM, Techie Sup wrote: Hi Daniel, Its more of a customized encryption technique I am looking for. that is a bit vague, maybe you can give some examples. Nobody here did an invention on encryption techniques, if that is the question. Otherwise, if you look for particular

Re: [SR-Users] str2ip6 bug is also in 3.3.3

2013-03-26 Thread Daniel-Constantin Mierla
Hello, On 3/26/13 9:31 AM, Juha Heinanen wrote: i tried to compile latest 3.3 and found that it failed to compile due to same str2ip6 bug that was fixed in 4.0: dns_cache.c: In function ���dns_cache_do_request���: dns_cache.c:1894: warning: implicit declaration of function ���str2ip6��� I thou

Re: [SR-Users] Implementing encryption

2013-03-26 Thread Techie Sup
Hi Daniel, Its more of a customized encryption technique I am looking for. Encryption of SIP and RTP is already addressed as I can see from many threads, but important part is whether is there any possibility of routing rtp over tcp. Is it a possible concept or impossible task to implement it on

Re: [SR-Users] Implementing encryption

2013-03-26 Thread Olle E. Johansson
26 mar 2013 kl. 09:23 skrev Daniel-Constantin Mierla : > Hello, > > On 3/25/13 9:31 PM, Techie Sup wrote: >> Hello, >> >> Any successful implementation of adding some customized security >> (encryption) over sip and rtp in kamailio? (non TLS) Also looking for >> assistance on the concept of rt

[SR-Users] str2ip6 bug is also in 3.3.3

2013-03-26 Thread Juha Heinanen
i tried to compile latest 3.3 and found that it failed to compile due to same str2ip6 bug that was fixed in 4.0: dns_cache.c: In function ���dns_cache_do_request���: dns_cache.c:1894: warning: implicit declaration of function ���str2ip6��� -- juha ___

Re: [SR-Users] Implementing encryption

2013-03-26 Thread Daniel-Constantin Mierla
Hello, On 3/25/13 9:31 PM, Techie Sup wrote: Hello, Any successful implementation of adding some customized security (encryption) over sip and rtp in kamailio? (non TLS) Also looking for assistance on the concept of rtp over tcp using kamailio and rtpproxy. using VPN/ipsec tunnel is a way to g