Re: [OpenSIPS-Users] OpenSIPS Dispatcher Module - Performance Testing
Hello, isn't it better to consider something from these modules: - DROUTING [1] - LOAD_BALANCER [2] - CARRIERROUTE [3] 1 https://opensips.org/html/docs/modules/3.0.x/drouting.html 2 https://opensips.org/html/docs/modules/3.0.x/load_balancer.html 3 https://opensips.org/html/docs/modules/3.0.x/carrierroute.html --- BR, Alexey http://alexeyka.zantsev.com/ ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSIPS Dispatcher Module - Performance Testing
Hello, Though you could use dialplan+dispatcher to do that, that would mean querying the dB every time you get call. You’d match the incoming DID with a group id in the dialplan table, and use that gid to load-balance to the gateways via the diaspatcher module. I’d recommend using a db_cache and query the DID/gateway assignment there where you have the DIDs assigned to a gid. Something like DID:GID You get back the GID and use THAT to load-balance to the group is gateways. Hope that helps. David On Thu, 15 Aug 2019 at 16:45, Steve Kumar wrote: > Hi, > > We are thinking to use a dispatcher module for inbound call routing. When > inbound call will come we will match the DID with the DID present in > attribute column of dispatcher table and will route the call to specific > FreePBX instance. > > The only concern is that we have around 12000 DID and there will be around > 12000 rows in that table. So we were thinking that would it be a > performance degradation or no? Dispatcher module can handle all that DID's > and we only have around 150 PBX IP's, which means many DID's can be pointed > to single PBX IP. > > Want advice from experts on this topic. > > Thanks and regards > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] OpenSIPS Dispatcher Module - Performance Testing
Hi, We are thinking to use a dispatcher module for inbound call routing. When inbound call will come we will match the DID with the DID present in attribute column of dispatcher table and will route the call to specific FreePBX instance. The only concern is that we have around 12000 DID and there will be around 12000 rows in that table. So we were thinking that would it be a performance degradation or no? Dispatcher module can handle all that DID's and we only have around 150 PBX IP's, which means many DID's can be pointed to single PBX IP. Want advice from experts on this topic. Thanks and regards ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] add_path_received not behaving (2.4)
Hi Pete/Bogdan, I've just pushed a fix [1] for this on master which seems to hold, according to my tests. Are you able to cherry-pick it into your 2.4 and see if it fixes your use case even when keeping "enable_double_path" enabled? Cheers, [1]: https://github.com/OpenSIPS/opensips/commit/8070dac142fc6506429314371f04372b5ce4a5b6 Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 14.08.2019 10:50, Bogdan-Andrei Iancu wrote: Hi Pete, I already raised a comment on the culprit commit. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 08/14/2019 10:46 AM, Pete Kelly wrote: Aha. Thanks for finding that Bodgan. Setting to 0 does indeed work. Should I raise a bug report about this? Pete ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users