]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-7564 #resolve #comment [mod_rayo] Added new algorithms for offering calls to clients.
authorChris Rienzo <chris@rienzo.com>
Tue, 2 Jun 2015 14:48:57 +0000 (10:48 -0400)
committerChris Rienzo <chris@rienzo.com>
Tue, 2 Jun 2015 14:54:38 +0000 (10:54 -0400)
commitd04e1f03ff4fb2a80ea0aa98d78366936561f4c5
treed71ea7e87631f531d13c8b98a3f6cada8fba625d
parent6bfa2992166f17e9c649edd6d037ad23334bbdd4
FS-7564 #resolve #comment [mod_rayo] Added new algorithms for offering calls to clients.
   Two new params added to autoload_configs/rayo.conf.xml
     offer-algorithm
       all: offer to all clients (default and old behavior)
       first: offer to first client, fails over to next client in list
       random: offer to random client, fails over to next random client

     offer-timeout-ms
       0: disable
       > 0 and < 120000: time to wait for reply from offer.  On timeout, next client is offered call.
                         If no other clients available, call is rejected.  5000 is default.
conf/rayo/autoload_configs/rayo.conf.xml
src/mod/event_handlers/mod_rayo/conf/autoload_configs/rayo.conf.xml
src/mod/event_handlers/mod_rayo/mod_rayo.c