71 Commits

Author SHA1 Message Date
Marc Olivier Chouinard
81a038690a mod_callcenter: Make callcenter_config agent get return the value of the item requested. Also added queue param max-wait-time-with-no-agent-time-reached: If the max-wai-time-with-no-agent is already reached for the queue, then new caller can wait for x ammount of second before it kicked out of the queue rather than get rejected automaticly. 2010-10-29 22:41:14 -04:00
Marc Olivier Chouinard
3a47598695 mod_callcenter: Fix bad return type so it compile on archlinux, thx bougyman 2010-10-22 18:34:45 -04:00
Marc Olivier Chouinard
70d592aeba mod_callcenter: Allow to get queue info via api 2010-10-13 01:40:18 -04:00
Marc Olivier Chouinard
f288e3c38d mod_callcenter: Fix a potential segv following previous commit 2010-10-01 23:35:51 -04:00
Marc Olivier Chouinard
8bd3513461 mod_callcenter: Add param to change the location or name of the sqlite database like to put it into a ramdisk 2010-10-01 23:01:03 -04:00
Marc Olivier Chouinard
426a448f50 mod_callcenter: Fix invalid update of agent field FS-2738 2010-09-27 10:12:10 -04:00
Marc Olivier Chouinard
e1fb79a179 mod_callcenter: Make sure we fail to load if config is not present 2010-09-21 12:43:48 -04:00
Marc Olivier Chouinard
d47d32e035 mod_callcenter: Fix Initial ODBC support 2010-09-12 20:01:43 -04:00
Marc Olivier Chouinard
3482f95e72 mod_callcenter: Alot of cleanup. Added max-wait-time and max-wait-time-with-no-agent param to a queue.
max-wait-time : allow to make the caller quit the queue after X number of waited second.  The second one allow
max-wait-time-with-no-agent : This will wait for a range of second with no agent before kicking the member out of the queue.  This allow safe shift change with all agents login out and back in

I've changed the Event value from CC-Name to either CC-Agent or CC-Queue.  So watchout for your current event socket apps.  Sorry about this change.

Lot to be tested in this commit.  Please use Jira to post problems, and new feature request can be added at the bottom of the wiki page.
2010-09-08 00:07:19 -04:00
Marc Olivier Chouinard
0be95658af mod_callcenter: Make more sence to bridge the caller to the agent. Before, in the xml_cdr you saw it it like the agent initiated the call to the member 2010-09-03 22:53:14 -04:00
Marc Olivier Chouinard
2d3d8c8ddd mod_callcenter: Add more channel variable and event and fix a mem leak 2010-09-03 20:12:45 -04:00
Marc Olivier Chouinard
9b33bd1c1c mod_callcenter: correct multiple little things following the recent tiers and join back features 2010-08-26 22:49:02 -04:00
Marc Olivier Chouinard
ab2529d4e1 mod_callcenter: You can now allow caller that have hangup before agent answer to call back and resume their previous position. 2010-08-26 06:19:58 -04:00
Marc Olivier Chouinard
6558276a83 mod_callcenter: Default the level to 0 since the new tier system will wait x second at level 1... just level 0 that will ring agent right away (if set to do so) 2010-08-25 22:00:15 -04:00
Marc Olivier Chouinard
86c9bed758 mod_callcenter: Add tiers rules before jumping to a different level. Also added support for dial-in agent. 2010-08-25 21:40:33 -04:00
Marc Olivier Chouinard
8082aa987e mod_callcenter: Added value busy_delay_time and reject_delay_time so we can wait if those 2 occur (Un registred phone are considered as busy). Add a ready_time epoch time when we can contact an again again, fix ring-all (good this time I hope). 2010-08-19 21:43:07 -04:00
Marc Olivier Chouinard
6980305f3a mod_callcenter: More ODBC changes. It is not a global settings value. Cannot be changed in runtime. 2010-08-14 12:22:11 -04:00
Marc Olivier Chouinard
42436e270c mod_callcenter: Add missing odbc db support (Not tested, please someone test this) 2010-08-14 11:46:34 -04:00
Marc Olivier Chouinard
1666783cf8 mod_callcenter: Try to fix the ring-all, also add cli auto complete done in previous commit 2010-08-14 04:07:38 -04:00
Marc Olivier Chouinard
3eafca6029 mod_callcenter: Add ability to unload/reload/load a queue setting (You still need to reloadxml before).
Note that joining a queue will check for it in the config and load it on the fly... I've used the same system as in mod_voicemail.  Not sure if we should allow this, but just comment it out of the config before unload and it wont be available anymore
2010-08-13 19:15:24 -04:00
Marc Olivier Chouinard
ba09b96d1e mod_callcenter: Initial commit of the mod_callcenter application.
This module is in it early state of developpement.  You can see documentation on the wiki at : http://wiki.freeswitch.org/wiki/Mod_callcenter
For support/comments, please use http://jira.freeswitch.org/ and select the MOD CALLCENTER module.
2010-08-13 09:48:37 -04:00