freeswitch 中的挂机座席是否可以确认来自队列的来电?
if of-hook agents in freeswitch can confirm incoming call from queue?
在 freeswitch 的默认配置中,当呼叫进入队列并路由到座席时,他会立即接听,我想更改...
那么有没有办法(这可能)让摘机座席(始终连接的座席)在桥接之前确认呼叫(例如通过按 DTMF 代码)?
是的,这是可能的。在Freeswitch呼叫中心模块(mod_callcenter.c)中,您可以在桥接到座席之前根据需要更改它。您可以编写将 dtmf 发送到摘机代理的代码。我曾经根据自己的要求进行更改,并且还编写了许多自定义特定模块。
您可以在执行呼叫中心应用程序之前实现导出 group_confirm 变量。
-- first set the variables that you want to export
session:setVariable('group_confirm_file', 'file_string:///var/lib/freeswitch/confirm.wav')
session:setVariable('group_confirm_key', '1')
session:setVariable('confirm', 'true')
-- Exporting varibles, this variables the callcenter app will use and add to agents
session:setVariable('cc_export_vars', 'group_confirm_file,group_confirm_key,confirm')
-- Then now execute the callcenter app
session:execute('callcenter', 'QUEUE-NAME-HERE')
Note: This example I used LUA, but it will be the same on XML
在 freeswitch 的默认配置中,当呼叫进入队列并路由到座席时,他会立即接听,我想更改...
那么有没有办法(这可能)让摘机座席(始终连接的座席)在桥接之前确认呼叫(例如通过按 DTMF 代码)?
是的,这是可能的。在Freeswitch呼叫中心模块(mod_callcenter.c)中,您可以在桥接到座席之前根据需要更改它。您可以编写将 dtmf 发送到摘机代理的代码。我曾经根据自己的要求进行更改,并且还编写了许多自定义特定模块。
您可以在执行呼叫中心应用程序之前实现导出 group_confirm 变量。
-- first set the variables that you want to export
session:setVariable('group_confirm_file', 'file_string:///var/lib/freeswitch/confirm.wav')
session:setVariable('group_confirm_key', '1')
session:setVariable('confirm', 'true')
-- Exporting varibles, this variables the callcenter app will use and add to agents
session:setVariable('cc_export_vars', 'group_confirm_file,group_confirm_key,confirm')
-- Then now execute the callcenter app
session:execute('callcenter', 'QUEUE-NAME-HERE')
Note: This example I used LUA, but it will be the same on XML