]> 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:53:54 +0000 (10:53 -0400)
commitb881188c1c4125bdd7176f81053d70e6cbaa843d
tree866b35f0544ddad826d99aff7095b731d8c15436
parentb1caa619a29d89197966f8931d0b8cc0cba76cfb
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