VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
juanbackson at gmail.com Guest
|
Posted: Wed Aug 12, 2009 12:26 pm Post 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 |
|
Back to top |
|
|
rupa at rupa.com Guest
|
Posted: Wed Aug 12, 2009 12:50 pm Post subject: [Freeswitch-users] random route selection |
|
|
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
|
Posted: Wed Aug 12, 2009 1:32 pm Post subject: [Freeswitch-users] random route selection |
|
|
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 |
|
|
|
|
|
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
|