68 Commits

Author SHA1 Message Date
Marc Olivier Chouinard
b53fd77108 mod_callcenter: More changes to be more friendly/compliant/respectful with loopback channels. Brought to you by François Delawarde 2011-07-08 19:28:30 -04:00
Travis Cross
8a8b70b7a4 comment cleanup 2011-06-26 13:30:05 +00:00
Jeff Lenk
86d757d61b FS-3297 --resolve 2011-05-17 22:51:47 -05:00
Jeff Lenk
d495124f64 windows permanent fix for %I64d problems - all versions after vs2003 support %lld 2011-05-08 13:10:01 -05:00
Marc Olivier Chouinard
9ff8f53f05 mod_callcenter: Fix member been switch as abandoned when he was pickup by an agent FS-3281 2011-05-03 12:13:52 -04:00
Jeff Lenk
3829e2fda5 FS-3272 --resolve moc we need to discuss this with anthm catch me on irc thanks 2011-04-28 00:29:28 -05:00
Marc Olivier Chouinard
3484874f58 mod_callcenter: Apparently, it by design that only 1 of the 2 leg can continue the dialplan. So member are always A leg and agent are B leg. If you want to continue after hangup a call for the agent like in uuid standby mode, use the transfer_after_bridge feature. Sample example usage is on the mod_callcenter wiki page. 2011-04-26 00:15:15 -04:00
Marc Olivier Chouinard
debab81ce9 it the other way arround ! 2011-04-25 15:06:32 -04:00
Marc Olivier Chouinard
a2a09fb1d9 mod_callcenter: Try to make uuid-standby continue the dialplan. Let me know if this helped 2011-04-25 14:22:57 -04:00
Jeff Lenk
7470bf32a1 VS2010 add mod_callcenter to solution - not built by default 2011-04-25 07:12:30 -05:00
Marc Olivier Chouinard
37b14c9a31 mod_callcenter: Display an warning when MOH is invalid and resume wait with silence. FS-2740 2011-04-23 22:37:47 -04:00
Marc Olivier Chouinard
d3e3b39739 mod_callcenter: More temporary attempt to make it 32bit friendly 2011-04-23 17:01:35 -04:00
Marc Olivier Chouinard
568fa83642 mod_callcenter: Decided to take the easy way for portability for the moment. We expect time_t to be an integral anyway in the core, so I'll expect the same here. Should fix the problem with the partial change I did on i386 system 2011-04-23 11:55:56 -04:00
Marc Olivier Chouinard
cf1494f773 mod_callcenter: Fix for -Wunused-but-set-variable required compiler 2011-04-22 21:55:56 -04:00
Marc Olivier Chouinard
c63dd3ec39 mod_callcenter: Adding the VC project file for 2008 and 2010. Not tested 2011-04-22 19:42:46 -04:00
Marc Olivier Chouinard
f7e268a1c7 mod_callcenter: Quick changes to try to make it more multi platform friendly. Still need to find the best way to convert a string to time_t that is multi platform. 2011-04-22 19:40:14 -04:00
Marc Olivier Chouinard
6fbfff0f91 mod_callcenter: Should resolve problem when agent transfered a call to another queue. FS-2888 2011-04-22 03:01:08 -04:00
Marc Olivier Chouinard
366f7ca677 mod_callcenter: Changes lot of log file to include the uuid of the member. Also added a bunch of debug log entry to help debug an issue 2011-04-22 02:22:30 -04:00
Marc Olivier Chouinard
ac619fd0e8 mod_callcenter: Possible fix on unload module freeze when an member uuid changed or is gone 2011-04-22 01:42:47 -04:00
Marc Olivier Chouinard
f17e962636 mod_callcenter: Small fix for strategy top-down 2011-04-19 03:05:32 -04:00
Marc Olivier Chouinard
bee247ca7b mod_callcenter: Another strategy 'top-down' (Name might change). This will call the agent one after the other by order... And every member start at position 1. 2011-04-19 01:25:09 -04:00
Marc Olivier Chouinard
2b4b23aac1 mod_callcenter: Ok we have round-robin and random strategy... Keep them comming ;) 2011-04-19 00:21:31 -04:00
Marc Olivier Chouinard
6432d63f00 mod_callcenter: Fix an SQL param errors ! Wish the compiler catched stuff like this 2011-04-18 23:17:58 -04:00
Marc Olivier Chouinard
0315d32076 mod_callcenter: More SQL changes to make the new strategy work on postgresql 2011-04-18 17:16:51 -04:00
Marc Olivier Chouinard
e5739b3932 mod_callcenter: SQL error in the new proto (and might not still be working) strategy 2011-04-18 15:10:40 -04:00
Marc Olivier Chouinard
bef6f0f40d mod_callcenter: Add a very prototype (and maybe not functional) strategy called : sequentially-by-next-agent-order.
It will try to find the last agent we tried to reach, and start calling more agent after that one based on position.
It will use the level for the next agent, but once that level is done, it start back at the lowest level
2011-04-17 12:46:32 -04:00
Marc Olivier Chouinard
c5ae5de0a0 FS-3250 --resolve mod_callcenter: Reload a queue wont delete all the currently waiting members. Only a reload of the module will. 2011-04-15 13:53:04 -04:00
Marc Olivier Chouinard
4e3f1b1e8e mod_callcenter: Fix an issues recently introduice that a max_wait time reach didn't continue the dialplan 2011-04-14 20:23:12 -04:00
Marc Olivier Chouinard
40a134bdf5 mod_callcenter: Remove the concept of Caller for Members. Event Socket event have been changed (CC-Caller.* to CC-Member.*) Also CC-Caller-UUID is renamed to CC-Member-Session-UUID.
The reason for this is you could actually put people to be call in the queue.  So they are not caller per say.  But they are a member of a queue.
2011-03-31 05:22:50 -04:00
Marc Olivier Chouinard
b63a72f8b3 mod_callcenter: Generate per member uuid different from the member session uuid. Might fix transfer between queue. More changes are commings 2011-03-31 05:17:04 -04:00
Marc Olivier Chouinard
d04b9a85a5 mod_callcenter: Fix error from previous commit 2011-03-28 15:10:59 -04:00
Marc Olivier Chouinard
6cf8c8f6b0 mod_callcenter: Fix potential segfault on loopback agent. Thanks to François Delawarde 2011-03-28 12:33:07 -04:00
Marc Olivier Chouinard
608b9abd5a mod_callcenter: Temporary fix for some race condition with loopback agent. Need to find the root cause of this problem 2011-03-26 10:20:06 -04:00
Marc Olivier Chouinard
dcafff201e mod_callcenter: FS-3158 Change the default and sequentially-by-agent-order strategy to include the longest-idle-agent. This should offer a default consistant way to go through all the agent within the same tier/position. (Before, it was left to the DB to return the order of the result) 2011-03-17 10:58:39 -04:00
Marc Olivier Chouinard
d4f845ed08 mod_callcenter: Should resolve lot of loopback issues mentioned. Thanks to François Delawarde 2011-03-14 12:42:02 -04:00
Marc Olivier Chouinard
25cee25547 mod_callcenter: Add better handle of failed agent, member channel getting a break, and debuging info upon leaving. Thanks to François Delawarde (with some changes) 2011-03-14 12:31:56 -04:00
Marc Olivier Chouinard
26303c5c7a mod_callcenter: Add better support when agent doesn't answer, including creating a new variable for the delay that is different than reject or busy. Thanks to François Delawarde 2011-03-12 11:58:35 -05:00
Marc Olivier Chouinard
943e289043 mod_callcenter: Small event value correction from previous commit 2011-03-12 11:44:35 -05:00
Marc Olivier Chouinard
5f2337859b mod_callcenter: >WARNING, some event value got removed< Adding new event time value that can then be used to calculate the Wait;Talk;Total duration of a member were on call. CC-Wait-Time CC-Talk-Time and CC-Total-Time are no longer returned. Visit the code or check the wiki for the updated variable. 2011-03-12 11:29:20 -05:00
Marc Olivier Chouinard
30dd1774ad mod_callcenter: Add new CLI cmd and change some to be more standard. Patch from François Delawarde, thanks. 2011-03-12 11:03:03 -05:00
Marc Olivier Chouinard
51a531aaef mod_callcenter: Fix a bug when an caller leave the queue from a BREAK Call (Transfer...), it doesn't think an agent answered. 2011-03-11 12:40:56 -05:00
Jeff Lenk
c6f044d5a1 FS-3067 segfault using busy-delay-time parameter 2011-02-28 10:02:11 -06:00
Marc Olivier Chouinard
2e399b0baf mod_callcenter: force loopback_bowout=false on originate. This will need to be reworked, but should fix basic issues call to an agent using loopback 2011-02-14 22:46:35 -05:00
Marc Olivier Chouinard
cd1982ceb7 mod_callcenter: IMPORTANT UPDATE, DTMF during moh created an loop to reactivate MOH but got canceled right away because of pending DTMF in the queue never been cleaned. Could cause masive disk write of debug, and can cause problem to the rest of FS stability. This patch also include basic fundation for DTMF capture support for member waiting. 2011-02-14 22:43:45 -05:00
Marc Olivier Chouinard
49a5effcdf mod_callcenter: Add error response for queue load and queue reload (FS-2988) 2011-01-29 03:09:06 -05:00
Brian West
3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Marc Olivier Chouinard
80174cf39f mod_callcenter: Add new eventsocket agent-offering. Plus some documentation and better handeling of bad agent type -- FS-2869 2010-11-26 20:38:46 -05:00
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