]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-10666: [mod_callcenter] Adding callcenter_break agent api
authorItalo Rossi <italorossib@gmail.com>
Wed, 13 Sep 2017 20:39:43 +0000 (17:39 -0300)
committerItalo Rossi <italorossib@gmail.com>
Wed, 13 Sep 2017 20:39:43 +0000 (17:39 -0300)
commit7f31967a315f63cd8ca642094a11d8e399aa326b
tree043c216c22e5a57dc8b05312f0ab7b36be0e839e
parentaf69e2fb5b01b9bfd5e71927d940c7836da05e3c
FS-10666: [mod_callcenter] Adding callcenter_break agent api

callcenter_break agent <uuid> can be called with an uuid that represents
an outbound session created to call an agent.

The current behavior of mod_callcenter is to keep watching this channel
until it is hangup, once the hangup happens the bridge-agent-end and
member-queue-end events are fired, agent is released on the database
so it can receive more calls and member is also updated on database.

If you do not want to the agent channel hangup to release the agent you can
call this app with the agent session uuid and the agent will be released and
available to receive more calls. This is useful when the agent is located on a
remote freeswitch box and transfer the call internally, the original leg between
the first FreeSWITCH and the remote box remains live and the agent will only be
Available when the original call hangup.
src/mod/applications/mod_callcenter/mod_callcenter.c