对于非工作时间外拨值班电话,应该如下配置
1) 配置fifo.conf.xml,增加一个队列配置如下:outbound_strateg默认为ringall,配置为enterprise是轮循
outbound_strategy="enterprise">
{member_wait=nowait}sofia/gateway/mycomm/18518298605
{member_wait=nowait}sofia/gateway/mycomm/62231011
其中,配置了两个值班电话,分别是18518298605和62231011,
timeout=30 是指每个电话振铃30秒,如果未接,则转到下一个电话。
lag=10 是指此电话上次拨打没有接听,下次再拨需要间隔10秒。
member_wait=nowait 是指接通后,主叫挂机,被叫也会挂机。如果设置为wait,则在主叫挂机后,myswitch不会主动将被叫挂机。
修改完返回后需要执行:
ms_cli -x reloadxml
ms_cli -x "reload mod_fifo"
2)在dialplan中进行如下配置:
其中180是指用户呼叫进入fifo后,180秒退出。
3)通过IVR注册
3.1) 在fifo.conf.xml中配置fifo时,不要加member
3.2) 配置一个ivr流程,让座席签入,签出到fifo
签入命令
fifo_member add agent_on_duty@$${domain} sofia/gateway/mycomm/18519298610 1 60 10
签出命令
fifo_member del agent_on_duty@$${domain} sofia/gateway/mycomm/18518298610