[SR-Users] Kamailio no recieved 480/486 messages

2015-06-30 Thread Yuriy Gorlichenko
At my confiig I have route like this onreply_route[REPLY_FROM_WS] { if(status=~"[12][0-9][0-9]") { xlog("L_INFO", "Manage_Reply from webrtc client {$si:$sp} for method {$rm}: $rs"); rtpengine_manage("force trust-address replace-origin replace-session-connection DTLS=passive ICE=remove RTP/AVP");

[SR-Users] REST API

2015-06-30 Thread Marek Červenka
hello, is there REST API for kamailio for basic functions like subscribers, dispatcher, blacklist/whitelist, ACL, dial plan table, ... ? thank you -- --- Marek Cervenka === ___

[SR-Users] WWW-Authenticate header Query

2015-06-30 Thread Anil Kumar
Hi, I am using Kamailio(4.2.5) as my SIP proxy also enabled authentication. Added two users xyz_0 and xyz_1 to the kamailio database. While Registration I am getting 401 Unauthorized as shown below SIP/2.0 401 Unauthorized Via: SIP/2.0/TCP 192.168.1.107:48601;branch=z9hG4bK858339335 From: ;tag=

Re: [SR-Users] Potential ip_addr_match_net bug

2015-06-30 Thread Fred Posner
On 06/29/2015 07:21 PM, Kyle Kurz wrote: > I'm using allow_address function of the permissions module and I'm > seeing strange behavior with network masks not divisible by 8. I have > 172.16.0.0/12 in my address table and Kamailio is > marking packets from 172.56.16.232 as b

Re: [SR-Users] websocket devices keepalive not working

2015-06-30 Thread Camille Oudot
Le Tue, 30 Jun 2015 15:49:26 +0300, Yuriy Gorlichenko a écrit : > 4) I tried to do it with tcpops > > Only for ws and tcp (WS is use TCP as i know) > tcp_keepalive_enable("15", "5", "15"); > > same result... Hi Yuriy, the tcp_keepalive_enable() function will send keepalive packets at TCP leve

Re: [SR-Users] websocket devices keepalive not working

2015-06-30 Thread Yuriy Gorlichenko
Now did this. Still no Options if (!save("location")){ sl_reply_error(); } else { setbflag(7); ... 2015-06-30 17:05 GMT+03:00 Daniel Tryba : > On Tuesday 30 June 2015 15:49:26 Yuriy Gorlichenko wrote: > > 1) nathelper > > > > modparam("nathelper", "sipping_method", "OPTIONS") > > modparam("nathe

Re: [SR-Users] websocket devices keepalive not working

2015-06-30 Thread Daniel Tryba
On Tuesday 30 June 2015 15:49:26 Yuriy Gorlichenko wrote: > 1) nathelper > > modparam("nathelper", "sipping_method", "OPTIONS") > modparam("nathelper", "natping_interval", 15) > modparam("nathelper", "ping_nated_only", 0) > modparam("nathelper", "sipping_bflag", 7) > modparam("nathelper", "sipping

[SR-Users] REST API

2015-06-30 Thread Marek Cervenka
hello, is there REST API for kamailio for basic functions like subscribers, dispatcher, blacklist/whitelist, ACL, dial plan table, ... ? thank you -- --- Marek Cervenka === ___

[SR-Users] websocket devices keepalive not working

2015-06-30 Thread Yuriy Gorlichenko
I try to send keepalive requests (options) to clients at usrloc I tried 4 mechanisms 1) nathelper modparam("nathelper", "sipping_method", "OPTIONS") modparam("nathelper", "natping_interval", 15) modparam("nathelper", "ping_nated_only", 0) modparam("nathelper", "sipping_bflag", 7) modparam("nathel

Re: [SR-Users] interconnect 2 Kamailio server

2015-06-30 Thread Daniel Tryba
On Tuesday 30 June 2015 09:15:01 kai.ohnac...@cbc.de wrote: > thank you for the answer. I'm a beginner with Kamailio and it is not easy to > understand the syntax from routing algorithm. I try to write a routing > algorithm, but I'm not very fine with this. And also my search via google > gives no

[SR-Users] Potential ip_addr_match_net bug

2015-06-30 Thread Kyle Kurz
I'm using allow_address function of the permissions module and I'm seeing strange behavior with network masks not divisible by 8. I have 172.16.0.0/12 in my address table and Kamailio is marking packets from 172.56.16.232 as being part of that local subnet. If I change the subnet to 172.16.0.0/16,

Re: [SR-Users] interconnect 2 Kamailio server

2015-06-30 Thread kai.ohnacker
Hello Daniel Tryba, thank you for the answer. I'm a beginner with Kamailio and it is not easy to understand the syntax from routing algorithm. I try to write a routing algorithm, but I'm not very fine with this. And also my search via google gives no good example. Perhaps you have a link for me

Re: [SR-Users] BYE from CANCLEd path gets forwarded to caller

2015-06-30 Thread Daniel Tryba
On Monday 29 June 2015 17:29:17 Daniel-Constantin Mierla wrote: > the BYE must have a different To-tag than the other answered branch and > the caller device should not close the connected call/branch. > > Look at the To-tags in the two branches and see if they are different. Thanks for the point

[SR-Users] How can I figure out the problem why call is not establish?

2015-06-30 Thread zhangkai.gis
Hello. When I installed kamailio I add users then I can make a call.But When I install asterisk I found the asterisk take over the kamailio and I can register users.But When I make a call.It shows me can not establish the call.How can find the problem?Any logs?Or tools? Thanks, zhangkai_