Re: [SR-Users] dialog: use keepalive & timeout features together

2015-07-09 Thread Andrey Utkin
2015-07-08 15:22 GMT+03:00 Andrey Utkin : > 2015-07-07 10:07 GMT+03:00 Daniel-Constantin Mierla : >> if there is no response to keepalive, the call should be terminated in >> like 10 seconds. > > Thank you for quick reply Daniel. > Can this be different for the case of TLS connections? I guess this

Re: [SR-Users] Kamailio deployment

2015-07-09 Thread Daniel Tryba
On Thursday 09 July 2015 17:46:22 Srujan Kumar K wrote: > I am connecting my kamailio server to MSC for my solution which has both > inbound and outbound. ... > Kamailio server IP: 172.22.14.12 > MSC IP : 172.28.0.68 Why does you kamailio config bind

Re: [SR-Users] HA+DRBD setup

2015-07-09 Thread SamyGo
I believe thats the configuration you've done via 'crm' to monitor for 3 crashes (by default probably) - that means if you kill it it will try start the monitored application on the same node first and if fails in 3 attempts only then goes to the secondary site. (try inducing an error in kamailio.c

[SR-Users] Removing headers in a failure route on 3xx redirect

2015-07-09 Thread Daniel Tryba
I'm adding and removing headers in the standard route[RELAY], but if there is a redirection involved headers aren't removed. route[RELAY] { #stdstuff route(ADDCHECKSUM); # enable additional event routes for forwarded requests # - serial forking, RTP relaying handling, a.s

[SR-Users] nat_uac_test question

2015-07-09 Thread Kristian Kielhofner
Hello, I'm testing some basic flags with nat_uac_test. I have the following (rudimentary) script: route[NATDETECT] { #!ifdef WITH_NAT if (has_body("application/sdp")) { if (nat_uac_test("18")) { xlog("SCRIPT: SDP NAT Detected\n");

[SR-Users] Kamailio deployment

2015-07-09 Thread Srujan Kumar K
Hai, I am connecting my kamailio server to MSC for my solution which has both inbound and outbound. The SIP trunk is not UP and we don't see any packets transmitted between the 2 nodes. We are also trying to load SIPI/SIPT module Kamailio server IP: 172.22.14.12 MSC IP

[SR-Users] code coverage in kamailio using gcov

2015-07-09 Thread Surendra Pullaiah
Hello I am trying to implement code coverage tool in kamailio using gcov. I have added CFLAGS and LIBS in Makefile.defs and it got compiled successfully. My problem is when I am running kamailio it is saying lib64/kamailio/libkcore.so.1: undefined symbol: __gcov

Re: [SR-Users] HA+DRBD setup

2015-07-09 Thread solution
i am not using anycast. On Thu, Jul 9, 2015 at 1:06 PM, Loic Chabert [via SIP Router] < ml-node+s1086192n13943...@n5.nabble.com> wrote: > OK, and could you use anycast routing ? > Your HA could be done with BGP using communities and bgp localpref. > > One restriction to bgp anycast routing: your

Re: [SR-Users] Moving from haproxy to db_cluster

2015-07-09 Thread Jan Hazenberg
Jan Hazenberg schreef op 2015-07-08 12:35: Daniel Tryba schreef op 2015-07-08 12:19: On Wednesday 08 July 2015 11:02:44 Jan Hazenberg wrote: The question is if a database node fails and the TCP connection breaks the sql query will probably fail when using haproxy since it is not aware of the q

[SR-Users] Configuring Kamailio as SIP Proxy

2015-07-09 Thread Djamel Bahamid
Hi, I have terminals of video conference which are in public IP ( *DMZ*). I installed kamailio (4.2) which works correctly, it is also in IP pulique (*DMZ*). I wish configured the /kamailio.cfg/ file, so that kamailio works in *proxy SIP*. And declared my CODEC of visoconférence in URI, examp

Re: [SR-Users] Function sdp_remove_codecs_by_id seems to be not working

2015-07-09 Thread José Seabra
Hello Daniel, Returning to this issue(I didn't have enough time before, to continue with debug), I have configured the module debugger, in order to try see more information when kamailio executes the function "sdp remove codecs_by_id", and what i see is that the function is executed and the log

Re: [SR-Users] Textops and Multipart Body - adding ISUP segfaults Kamailio

2015-07-09 Thread Victor Seva
Hi, I was wrong. Your configuration is correct. after set_body_multipart() msg_appy_changes() is needed > if(has_body("application/sdp")) > { >set_body_multipart(); >if(msg_apply_changes()) >{ > $var(acm) = "7e Od 04 55 75 69 20 4d 61 6b 65 43 61 6c 6c"; >

Re: [SR-Users] HA+DRBD setup

2015-07-09 Thread Loic Chabert
OK, and could you use anycast routing ? Your HA could be done with BGP using communities and bgp localpref. One restriction to bgp anycast routing: your network should be stable (to preserve transaction and sip dialog). Regards. 2015-07-08 14:02 GMT+02:00 solution : > we dont want to use VIP >

[SR-Users] sctp on Centos 7

2015-07-09 Thread micunek
Hi, I would like to enable and use sctp in kamailio but I do not know exactly how to do it. It seems that documentation is a little bit inconsistent. 1. I have Centos 7 and kamailio installed from repositories. 2. I set loadmodule "sctp" in kamailio.cfg 3. I got this error: Jul 9 08:08:54 kamai