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 <[email protected]>
Reply-To: <[email protected]>
Date: Thu, 13 Aug 2009 01:21:07 +0800
To: <[email protected]>
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
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to