[SR-Users] help with NOTIFY

2016-10-19 Thread Slava Bendersky
Hello Everyone, I am trying forward NOTIFY to client. My setup is PBX Server local lan ---kamailio internet client The problem with whole setup that kamailio is not forwarding NOTIFY to client. Here are log. U 2016/10/19 14:23:29.581609 10.18.130.50:5160 -> 10.18.130.46:

Re: [SR-Users] RTPProxy

2016-10-19 Thread Alex Balashov
My personal opinion on this is that it should be very low-priority. It's one of those problems that takes 99% effort for 1% marginal results, and even then, rather imperfect ones. For almost any service provider, having a media relay while calls are on it is not the worst possible problem—cert

Re: [SR-Users] memory is not freed in system, while kamailio's statistic shows OK

2016-10-19 Thread Vasiliy Ganchev
Hi Daniel! Thanks for the pointing out! Currently re-checking system memory usage and monit behavior. Will report results later (seems that there is nothing to be done on the kamailio's point of view) Cheers! -- View this message in context: http://sip-router.1086192.n5.nabble.com/memory-i

Re: [SR-Users] RTPProxy

2016-10-19 Thread Maxim Sobolev
Just a little comment on the numbers that I've thrown out earlier today. Those are probably somewhat pessimistic, with some creative tuneup you can probably go much higher. But we also constrained by some other considerations (i.e. running fully redundant network connection with FEC, full firewall

Re: [SR-Users] RTPProxy

2016-10-19 Thread Maxim Sobolev
Arsen, there is no readily-made solution with rtpproxy unfortunately for that. Some time around 1.0 times circa 2007-2009, somebody submitted a very rough patch to implement master/hot-standby scenario, but the patch was not production-ready back then and the contributor was not available to refine

Re: [SR-Users] RTPProxy

2016-10-19 Thread Maxim Sobolev
Daniel, thank you for your interest. Yes, there were many architectural changes between 1.x and 2.0. The most noticeable is that we've decoupled I/O from the control channel handling and also split I/O into two threads, one for poll/receive and the second one for the sending. We've also refactored

Re: [SR-Users] RTPProxy

2016-10-19 Thread Arsen
Hi guys, In addition to this interesting and useful thread, what is the best way to implement media session recovery, for example in Active/Passive HA scenario? I know that it is possible with rtpengine (redis db), is it possible with rtpproxy? Thanks, Arsen. On Wed, Oct 19, 2016 at 11:19 AM, Da

Re: [SR-Users] Active calls limit

2016-10-19 Thread Daniel-Constantin Mierla
Hello, the avps are available only for the duration of a transaction. They don't persist between register and invite. But you should authenticate invites as well, not only registrations, and then the avp will be loaded and set for invites. Cheers, Daniel On 19/10/16 10:36, Ivan Dudko wrote: > H

Re: [SR-Users] Active calls limit

2016-10-19 Thread Ivan Dudko
Hello? Is avp value live only for one request dialog? Or i am doing this wrong? Or it lives until user is unregistered? вт, 18 окт. 2016 г. в 16:10, Ivan Dudko : > And I check. While kamailio process REGISTER request $avp(i:123) value > equals table column call_limit. > But after that while it

Re: [SR-Users] RTPProxy

2016-10-19 Thread Daniel-Constantin Mierla
Hello Maxim, given the discussion here, I would like to get some updates for myself regarding 2.0 in terms of capacity and other stuff. I was using rtpproxy 1.x with kamailio doing load balancing across many instances of rtpproxy. I was using 1000 streams as estimation for one instance and I see

Re: [SR-Users] RTPProxy

2016-10-19 Thread Alex Balashov
And yes, I was remiss in failing to mention that an effective solution to scaling out rtpproxy is to bind multiple instances with different core affinities. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) Web: http://www.evaristes

Re: [SR-Users] RTPProxy

2016-10-19 Thread Maxim Sobolev
Alex, no problem. Nobody knows everything. :) -Max On Wed, Oct 19, 2016 at 12:35 AM, Alex Balashov wrote: > Hi Maxim, > > Duly noted! I certainly did not intend to mislead anyone or to be > disingenuous; I gave information that was, to the best of my knowledge, > true. I appreciate your followu

Re: [SR-Users] Kamailio Bench

2016-10-19 Thread Daniel-Constantin Mierla
Hello, for me it is not clear what is the problem you are facing. You have to provide more details with what happens from sip traffic point of view, eventually attaching some ngrep output or pcap file with the traffic. Cheers, Daniel On 18/10/16 21:31, Rodrigo Moreira wrote: > Hello, i need you

Re: [SR-Users] RTPProxy

2016-10-19 Thread Alex Balashov
Hi Maxim, Duly noted! I certainly did not intend to mislead anyone or to be disingenuous; I gave information that was, to the best of my knowledge, true. I appreciate your followup and clarification, which certainly is useful for my own knowledge as well! My sincere apologies... -- Alex O

Re: [SR-Users] RTPProxy

2016-10-19 Thread Maxim Sobolev
Alex, with all due respect, things you said about rtpproxy capacity is somewhat outdated and misleading. We have some nodes in the field, that handle 5,000-6,000 rtp sessions in peak. Those are running 6 rtpproxy instances, 1,000 sessions each. 2-3 year old CPUs, 12 cores in total. We also have a

Re: [SR-Users] Problems with CDRs

2016-10-19 Thread Daniel-Constantin Mierla
Hello, are you also using dialog module, tracking the calls you want to have cdrs for? Cheers, Daniel On 18/10/16 23:19, Diogenes Marcano wrote: > I am using kamailio with ubuntu, but I can't obtain CDRs. > In my conf. file related to CDR I have: > > modparam("acc", "cdr_enable", 1) > modparam(

Re: [SR-Users] memory is not freed in system, while kamailio's statistic shows OK

2016-10-19 Thread Daniel-Constantin Mierla
Hello, double checking to see if you looked at: - https://www.kamailio.org/wiki/tutorials/troubleshooting/memory#os_memory_reports Are you using http queries (curl library)? Cheers, Daniel On 18/10/16 16:39, Vasiliy Ganchev wrote: > Hi folk! > Have a production server > - used as webrtc to