Re: [OpenSIPS-Users] DRouting Feature Request

2014-07-23 Thread Brett Nemeroff
Unfortunately it doesn't seem like drouting will do this kind of routing. If you select flags 0x3 and set equal weights, it won't randomize the gateway chosen and only pick one. This would be a good feature request because right now, even with 0x03, only the first gw is ever picked. -Brett On We

Re: [OpenSIPS-Users] DRouting Feature Request

2014-07-23 Thread Nick Cameo
​For a stateless transport mode you would use the dispatcher module. No even distribution is guaranteed using this module. For statefull routing mechanism you could opt for the load-balancer. It will keep track of the number of dialogs that are active on each server, and route the request towards t

Re: [OpenSIPS-Users] DRouting Feature Request

2014-07-23 Thread Ricky Keele
Just to be clear. We do routing to customer GW's that require us to do round-robin which means we rotate the calls between gateways. I am assuming that the drouting module would do the same if the weights are equal say gw1=0 gw2=0. The other big request is where customer will have 3 or 4 gatewa

Re: [OpenSIPS-Users] DRouting Feature Request

2014-07-23 Thread Kneeoh
I thought that would work too. But if I put (dr_carriers table) gwlist:gw1=50,gw2=50 flags:3 it Always picks gw1. I want it to alternate between gw1 and gw2 Ultimately I'm trying to do something like: dr_rules: gwlist: #cr1=50,#cr2=50 lets say it picks cr1, then go to the dr_carriers table wher

Re: [OpenSIPS-Users] Shaping c= and o= SDP payload using MediaProxy

2014-07-23 Thread Nick Cameo
Perfect. Thanks Saul! We have about 12 installations for different customers that we will be migrating. This also means we will be able to take advantage/build on of CDRTool and RTP level timing for billing. A good feature to have. Kind Regards, N. ​

Re: [OpenSIPS-Users] Created and setup time of failed calls

2014-07-23 Thread Brett Nemeroff
I just wanted to add my $0.02 here.. I've had this as a request as well. But to add on to what's already been said, generally customers want to see when the request was made (the INVITE) and when the transaction (dialog) dies. Specifically for failed calls. On Wed, Jul 23, 2014 at 9:12 AM, Răzv

Re: [OpenSIPS-Users] Proposed change to cachedb

2014-07-23 Thread Brett Nemeroff
Hey Vlad, That's great to hear. I'm using an older version right now.. I think it's 1.9 based. I can't upgrade quite yet. Is there a way to back port the changes to 1.9? Thanks, Brett On Wed, Jul 23, 2014 at 9:32 AM, Vlad Paiu wrote: > Hello Brett, > > What OpenSIPS version are you using ? >

Re: [OpenSIPS-Users] Proposed change to cachedb

2014-07-23 Thread Vlad Paiu
Hello Brett, What OpenSIPS version are you using ? In the latest GIT for all maintained branches, the code was fixed to propagate the exact return from the module implementing the module connectivity, except for the 0 return code, which is converted to 1 ( success ) - done in order not to bre

Re: [OpenSIPS-Users] Created and setup time of failed calls

2014-07-23 Thread Răzvan Crainea
Hi, Chen-che! This cannot be configured right now using OpenSIPS, but it looks like an interesting feature. Please add it as a feature request on the issues tracker[1] and I will take a look to see how this can be implemented. [1] https://github.com/OpenSIPS/opensips/issues Best regards, Raz

Re: [OpenSIPS-Users] Shaping c= and o= SDP payload using MediaProxy

2014-07-23 Thread Saúl Ibarra Corretgé
On 23 Jul 2014, at 15:51, Nick Cameo wrote: > Hello Saul, > > Thank you for your response. I did read up on this however, is there no > way to explicitly pass which IP we would like the rtp media to be passed > to using `use_media_proxy` via a parameter list? > > http://www.opensips.org/html/d

[OpenSIPS-Users] Proposed change to cachedb

2014-07-23 Thread Brett Nemeroff
Hey All, Using memcached.. So I've noticed that while performing a cache_fetch I can't tell the difference between a cache failure and a NOT_FOUND. It seems the problem is actually in cachedb.c because we do this at the end of cachedb_fetch: return cde->cdb_func.get(con,attr,val)<0?-1:1; S

Re: [OpenSIPS-Users] DRouting Feature Request

2014-07-23 Thread Bogdan-Andrei Iancu
Hi, Actually you can combine the flags and use 0x03 - ordering by weights and use only first. Just give it a try. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 23.07.2014 03:29, Kneeoh wrote: It would be great if you could combine the binar

Re: [OpenSIPS-Users] Routing

2014-07-23 Thread Bogdan-Andrei Iancu
Hi Ricky, Weights give you a non-even dispersion of calls over the GWs - you can call it a percentage routing. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 23.07.2014 01:42, Ricky Keele wrote: Hello, Will the opensips Drouting module do p

Re: [OpenSIPS-Users] nat helper timer error

2014-07-23 Thread Bogdan-Andrei Iancu
Hi Pasan, Do you have TCP clients ? or do you have clients registering DNS contacts ? How many records are in usrloc ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 21.07.2014 05:18, Pasan Meemaduma wrote: Hey Guys, I'm using opensips 1.10

Re: [OpenSIPS-Users] Shaping c= and o= SDP payload using MediaProxy

2014-07-23 Thread Nick Cameo
Hello Saul, Thank you for your response. I did read up on this however, is there no way to explicitly pass which IP we would like the rtp media to be passed to using `use_media_proxy` via a parameter list? http://www.opensips.org/html/docs/modules/devel/mediaproxy.html#id293730 Finally, is there

Re: [OpenSIPS-Users] Mediaproxy relay oddness

2014-07-23 Thread Dan Pascu
On 23 Jul 2014, at 15:38, Jeff Pyle wrote: > The ports in use are 16384-32768. That provides for ~8000 session, yes? Only ~4000. There are 4 ports allocated per session. > We were nowhere near that many calls. So, it's much more likely that ports > were not being released for some reason.

Re: [OpenSIPS-Users] Shaping c= and o= SDP payload using MediaProxy

2014-07-23 Thread Saúl Ibarra Corretgé
On 23 Jul 2014, at 13:02, Nick Cameo wrote: > Hello Saul, > > Thank you for your response. Will MediaProxy fix the c= automatically. > Or do we have a RTPProxy like method (ie, rtpproxy_offer/answer("rc",1.2.3.4) > ) > that we can use to specify the address of our MediaProxy server. > > Looki

Re: [OpenSIPS-Users] Mediaproxy relay oddness

2014-07-23 Thread Saúl Ibarra Corretgé
On 23 Jul 2014, at 14:38, Jeff Pyle wrote: > HI Saul, > > The ports in use are 16384-32768. That provides for ~8000 session, yes? We > were nowhere near that many calls. So, it's much more likely that ports were > not being released for some reason. > > There is a limited amount of T.38 t

Re: [OpenSIPS-Users] Mediaproxy relay oddness

2014-07-23 Thread Jeff Pyle
HI Saul, The ports in use are 16384-32768. That provides for ~8000 session, yes? We were nowhere near that many calls. So, it's much more likely that ports were not being released for some reason. There is a limited amount of T.38 traffic through these relays. The majority of the T.38-speakin

Re: [OpenSIPS-Users] nat helper timer error

2014-07-23 Thread Nick Cameo
We run many OpenSIPS instances on VM for clients. Is the timming between VM and Host in-sync? N ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] nat helper timer error

2014-07-23 Thread Nick Cameo
Is the datetime on the VM correct period N ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Shaping c= and o= SDP payload using MediaProxy

2014-07-23 Thread Nick Cameo
Hello Saul, Thank you for your response. Will MediaProxy fix the c= automatically. Or do we have a RTPProxy like method (ie, rtpproxy_offer/answer("rc",1.2.3.4) ) that we can use to specify the address of our MediaProxy server. Looking at the OpenSIPS documentation for MediaProxy module I saw not

Re: [OpenSIPS-Users] nat helper timer error

2014-07-23 Thread Pasan Meemaduma
Any Idea ? On Monday, 21 July 2014, 7:49, Pasan Meemaduma wrote: Hey Guys, I'm using opensips 1.10.1-1 on a debian server with wheezy, its running on a kvm guest. I started to observe the below error in opensips. Any idea what causing it ? Jul 20 09:01:28 /usr/sbin/opensips[29968]: CRI

Re: [OpenSIPS-Users] send params in mi_json

2014-07-23 Thread Jayesh Nambiar
Thanks Razvan. So the correct format is: GET /json/dlg_end_dlg?params=1368%2C1091608310 if your h_entry is 1368 and h_id is 1091608310. This works fine. Thanks again. --- Jayesh On Wed, Jul 23, 2014 at 1:08 PM, Răzvan Crainea wrote: > Hi, Jayesh! > > According to the examples in the documentat

Re: [OpenSIPS-Users] OpenSIPS + MediaProxy: "dispatcher.socket" not being created

2014-07-23 Thread Saúl Ibarra Corretgé
Hi Gary, On 21 Jul 2014, at 11:36, Gary Patton wrote: > Craig > > Thanks for getting back to me. When I do a "ps ax | grep media-" on my > OpenSIPS / MediaProxy dispatcher server, it shows that media-dispatcher is > NOT running. I thought that was because media-dispatcher process tried to

Re: [OpenSIPS-Users] Shaping c= and o= SDP payload using MediaProxy

2014-07-23 Thread Saúl Ibarra Corretgé
On 21 Jul 2014, at 00:20, Nick Cameo wrote: > Hello Everyone, > > With the advent of Mediaproxy 2.6 and the ability to run on EC2 > environments, we are looking on replacing our rtpproxy instances > with mediaproxy. Before doing so however, some clarity is needed > in terms of the Mediaproxy mo

Re: [OpenSIPS-Users] Mediaproxy relay oddness

2014-07-23 Thread Saúl Ibarra Corretgé
Hi Jeff, On 21 Jul 2014, at 21:55, Jeff Pyle wrote: > Hello, > > This is on Opensips 1.6 with Mediaproxy 2.4.4. Yeah, they're old. I know. > > We see this from time to time: > > media-relay[10719]: Traceback (most recent call last): > media-relay[10719]: File > "/usr/lib/python2.5/site-p

Re: [OpenSIPS-Users] send params in mi_json

2014-07-23 Thread Răzvan Crainea
Hi, Jayesh! According to the examples in the documentation[1], parameters should be separated using comma. [1] http://www.opensips.org/html/docs/modules/1.11.x/mi_json.html#id249590 Best regards, Razvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 07/22/2014 06:20 PM