Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] random route selection


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
juanbackson at gmail.com
Guest





PostPosted: Wed Aug 12, 2009 12:26 pm    Post subject: [Freeswitch-users] random route selection Reply with quote

Hi,

I would like to implement a random route selection based on some arbitrary percentage. 

Does anyone know if there is any good way of doing that within freeswitch?

If there isn't any api that I can use, does freeswitch has any random generator that I can be used for this purpose?

br,
JB
Back to top
rupa at rupa.com
Guest





PostPosted: Wed Aug 12, 2009 12:50 pm    Post subject: [Freeswitch-users] random route selection Reply with quote

mod_lcr will do random route selection if the rates are the same. But
that gives an equal distribution. There is no weighting/percentage
supported.

On Wed, Aug 12, 2009 at 12:21 PM, Juan Backson<juanbackson@gmail.com> wrote:
Quote:
Hi,

I would like to implement a random route selection based on some arbitrary
percentage.

Does anyone know if there is any good way of doing that within freeswitch?

If there isn't any api that I can use, does freeswitch has any random
generator that I can be used for this purpose?

br,
JB




--
-Rupa

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
krice at suspicious.org
Guest





PostPosted: Wed Aug 12, 2009 1:32 pm    Post subject: [Freeswitch-users] random route selection Reply with quote

Write you a small C app to randomly return them based on the percentages... Currently we do something similar to this but use a random round robin based thing using a simple sql backend and doing a select order by random sort of thing... Contact me off list if you need some profession help figuring this out K From: Juan Backson <juanbackson@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Thu, 13 Aug 2009 01:21:07 +0800 To: <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] random route selection Hi, I would like to implement a random route selection based on some arbitrary percentage.  Does anyone know if there is any good way of doing that within freeswitch? If there isn't any api that I can use, does freeswitch has any random generator that I can be used for this purpose? br, JB _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services