Re: [SR-Users] Is there a way to detect inactive MSRP chat sessions without using SIP session timers

2016-11-18 Thread Pranathi Venkatayogi
That’s a good idea. But unfortunately blink client does not support “OPTIONS” Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER Only way is to do it the hard way - Keep track of messages sent by an endpoint and keep it alive as long as the server receives them.

Re: [SR-Users] tcp_set_connection_lifetime - does not close the connection immediately

2016-11-18 Thread Andy
Hi Daniel, Thanks for the reply, I am trying to kill a tcp connection inside an xhttp:request event, here are some related logs, the call to "tcpops_set_connection_lifetime" seems working, but I do notice the same connection is not killed for upto 60 secs ... Nov 18 14:18:25 kamailio[25789]:

Re: [SR-Users] SDP Codec not removed with RTPengine - but with rtpproxy it worked

2016-11-18 Thread Daniel-Constantin Mierla
Move the record_route() function to be executed somewhere after the msg_apply_changes(). Cheers, Daniel On 18/11/16 10:10, Oliver Roth wrote: > Found the problem with msg_apply_changes: > cannot apply msg changes after adding record-route header > > see log below: > > nxp-c4-gw03-pkzh1

Re: [SR-Users] SDP Codec not removed with RTPengine - but with rtpproxy it worked

2016-11-18 Thread Oliver Roth
Found the problem with msg_apply_changes: cannot apply msg changes after adding record-route header see log below: nxp-c4-gw03-pkzh1 /usr/sbin/kamailio[4456]: ERROR: *** cfgtrace:request_route=[SDP] c=[/etc/kamailio/kamailio-gw.cfg] l=745 a=24 n=msg_apply_changes

Re: [SR-Users] tcp_set_connection_lifetime - does not close the connection immediately

2016-11-18 Thread Daniel-Constantin Mierla
Hello, can you run with debug=3 in kamailio.cfg and watch the logs (or send them here) to see if anything can be spotted there? Cheers, Daniel On 17/11/16 23:27, Andy wrote: > I am calling tcp_set_connection_lifetime(conid, 1), > which I understand is one sec after now, > > but I see it taking

Re: [SR-Users] SDP Codec not removed with RTPengine - but with rtpproxy it worked

2016-11-18 Thread Carsten Bock
Hi Oli, if you remove the codec before sending it to RTPEngine, you should call msg_apply_changes() after removing the codec. Thanks, Carsten 2016-11-18 9:39 GMT+01:00 Oliver Roth : > Hi, > > > > The codec is removed before sending it to rtpengine … > > See the log

Re: [SR-Users] SDP Codec not removed with RTPengine - but with rtpproxy it worked

2016-11-18 Thread Oliver Roth
Hi, The codec is removed before sending it to rtpengine … See the log below Nov 18 09:37:38 nxp-c4-gw03-pkzh1 /usr/sbin/kamailio[4229]: ERROR: *** cfgtrace:request_route=[RTPPROXY] c=[/etc/kamailio/kamailio-gw.cfg] l=1078 a=2 n=return Nov 18 09:37:38 nxp-c4-gw03-pkzh1

Re: [SR-Users] Htable sht_rm_name_re usage

2016-11-18 Thread Daniel-Constantin Mierla
Hello, thanks for sharing this experience, should be useful for others searching for similar issues. I want to add that you can add the special regexp chars directly around the $ci, like: sht_rm_name_re("calls=>^$ci$$"); Cheers, Daniel On 15/11/16 12:14, Grant Bagdasarian wrote: > > Hello

Re: [SR-Users] SDP Codec not removed with RTPengine - but with rtpproxy it worked

2016-11-18 Thread Daniel-Constantin Mierla
Hello, On 16/11/16 14:59, Oliver Roth wrote: > > Hi, > > > > I guess it is after executing rtpengine_maange() – but not really sure. > > How can I check that? > load debugger module and enable cfgtrace option via modparam. Then you should see what functions are executed from config. Cheers,

Re: [SR-Users] Is there a way to detect inactive MSRP chat sessions without using SIP session timers

2016-11-18 Thread Daniel-Constantin Mierla
Hello, see dialog module - maybe it works solving your problem by sending OPTIONS keepalives within dialogs. Cheers, Daniel On 17/11/16 19:02, Pranathi Venkatayogi wrote: > Hi, > I am using MSRP feature of Blink client. I want to track when the > chat starts and ends so I can free up server

Re: [SR-Users] Kamailio for SIP Capture With Registration

2016-11-18 Thread Daniel-Constantin Mierla
Hello, sipcapture has to be used in a node where you want to capture the traffic mirrored by sip routing nodes via hep. Maybe you want to use siptrace module in the same config with a registrar. Cheers, Daniel On 16/11/16 19:05, Ali Dakroub~Vanrise Technical Support wrote: > > Hello, > > >

Re: [SR-Users] Kamctl stats

2016-11-18 Thread Daniel-Constantin Mierla
Hello, most of them should have some description in the readme of the modules - index at: - https://www.kamailio.org/wiki/alphaindexes/devel/modstatistics Cheers, Daniel On 18/11/16 02:04, Alexandru Covalschi wrote: > Hello list, > > Where can I found any information to completely