Commit Graph

129 Commits

Author SHA1 Message Date
Italo Rossi e95da7a80f FS-8856 - [mod_callcenter] Inserting member as a new one when restoring action fails because our agent_dispatch_thread removed the members just before we tried to update him. 2016-02-22 09:54:53 -03:00
Rodrigo Ramírez Norambuena 1661fc6a51 FS-8822 - [mod_callcenter] Realtime counter for calls in a queue
Added counters for answered and abandoned calls for a queue.

Create two vars for cc_queue struct
    - calls_answered
    - calls_abandoned

These increases when the call is hangup.

This change also :
 - refactor long lines of header and body to  print the queue information.
 - Update year in copyright
2016-02-08 01:22:37 -03:00
Italo Rossi fe5fd7667a FS-8768 - [mod_callcenter] Releasing db handle after reserving agent 2016-01-30 22:35:32 -03:00
Anthony Minessale f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Mike Jerris 5c59a0159d FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:08:52 -04:00
Italo Rossi be3c868655 FS-7467: mod_callcenter - Fixing uuid-standby agents. 2015-06-22 17:51:08 -03:00
Italo Rossi bebd4c4e3e FS-7138 - new mod_callcenter param: reserve-agents
Sets the agent state to Reserved before calling him. In this case,
the Agent is first updated to state Reserved ONLY if his previous
state was Waiting and status was Available/Available (On Demand).
The purpose is to avoid possible race conditions when external
applications are manipulating `agents` table.

Disabled by default.
2015-06-08 14:38:51 -03:00
Ítalo Rossi 6f057b795e Merge pull request #249 in FS/freeswitch from ~SAFAROV/freeswitch-mod-radius-cdr_improvement:origin/FS-7524 to master
* commit '7e1f8bc4c7795451ee6140f65588e590cc4af024':
  FS-7524: mod_callcenter - Fixing tiers, level and position should default to 1 instead of 0
2015-06-05 13:08:58 -05:00
Sergey Safarov 7e1f8bc4c7 FS-7524: mod_callcenter - Fixing tiers, level and position should default to 1 instead of 0 2015-06-05 19:35:04 +03:00
Ítalo Rossi 0c45bee409 Merge pull request #257 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-7569-mod_callcenter_strategy to master
* commit '890991cd28bb2b2860c988476f8641d7b32f02c8':
  FS-7569 mod_callcenter - Tracking queue strategy changes to avoid stuck members
2015-06-02 17:48:46 -05:00
Ítalo Rossi e6bb3ed434 Merge pull request #246 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-7464-callcenter-cannot-play-us-ring-tone_stream to master
* commit '1bc241922e3136dda8067723a4d4c9ebdd51f101':
  FS-7464 mod_callcenter moh-sound needs to be expanded when containing variables.
2015-06-02 17:33:29 -05:00
Italo Rossi 890991cd28 FS-7569 mod_callcenter - Tracking queue strategy changes to avoid stuck members 2015-05-25 15:00:14 -03:00
Italo Rossi 1bc241922e FS-7464 mod_callcenter moh-sound needs to be expanded when containing variables. 2015-05-03 20:25:42 -03:00
Victor Torres 69d5333bfc FS-7445 fixes cc_outbound_cid_name_prefix 2015-04-17 18:50:16 -03:00
Artur Zaprzała 0df4085c3d Fix race condition when callcenter member cancels the call. 2015-02-18 14:26:02 +01:00
Marc Olivier Chouinard e1cb0e8632 Merge pull request #127 in FS/freeswitch from ~ITALOROSSI/freeswitch:mod_callcenter-queue-list-count-by-state to master
* commit 'f63f8686bc8da391b3c46b24e10571215c8b377f':
  FS-7049 - Documentation for state optional paramenter in callcenter_config queue list and count
  fix FS-7049 - Count and list agents based on their state
2014-12-11 21:01:03 -06:00
Italo Rossi f63f8686bc FS-7049 - Documentation for state optional paramenter in callcenter_config queue list and count 2014-12-11 23:43:03 -03:00
Humberto Diógenes 1bcdb49bce Fix JIRA (FS-7018): mod_callcenter's longest-idle-agent strategy is unfair 2014-12-04 16:12:20 -03:00
Italo Rossi 80649df65c fix FS-7049 - Count and list agents based on their state 2014-12-02 22:57:43 -03:00
Italo Rossi f87c335e8a Only waiting for agent channel to hangup.
If the member do an attended transfer this loop stops and
the agent is set to Available state again, when in fact he still
busy with other channel.

This was happening, for example, when a member calls support queue, then
the support operator do an attended transfer to sales queue, while the sales
operator is talking the member that was transferred, the sales queue will
send calls to the operator, which is not expected.
2014-11-03 12:02:03 -03:00
Brian West 07f4c6204e FS-6646 --resolve 2014-07-11 11:03:22 -05:00
Marc Olivier Chouinard 29e2263442 CID:1210789 Make return value of a function available from the another calling function. Also add a small status check. 2014-05-16 17:18:17 -04:00
Marc Olivier Chouinard 8fa7398760 CID:1025868 Simplified a function arguments never called. 2014-05-16 17:03:59 -04:00
Anthony Minessale 7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale 5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Marc Olivier Chouinard 365f81b412 FS-4898 --resolve 2014-02-24 08:52:36 -05:00
Marc Olivier Chouinard 295796d831 FS-3743 --resolve 2014-02-24 08:38:31 -05:00
Marc Olivier Chouinard 8dab4f358a FS-6236 --resolve 2014-02-20 16:20:17 -05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Peter Olsson 084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Marc Olivier Chouinard cc8a8c5198 FS-6095 --resolve modified to protect against memory leak and make it more consistant with other modules 2014-01-14 09:34:20 -05:00
Marc Olivier Chouinard 8f73c4ef44 FS-6062 --resolve 2013-12-23 07:34:34 -05:00
Marc Olivier Chouinard 9ecbb54061 FS-5850 --resolve Thanks 2013-11-28 01:28:00 -05:00
Marc Olivier Chouinard a19d013d3e FS-5993 --resolve 2013-11-27 19:19:31 -05:00
Marc Olivier Chouinard a34095a4b7 FS-5843 Give this a try 2013-10-04 15:47:19 -04:00
Marc Olivier Chouinard 9104aab9de FS-5843 --resolve Thanks 2013-10-04 15:21:27 -04:00
Marc Olivier Chouinard c613c65446 --resolve FS-5478 2013-07-08 00:55:48 -04:00
Jeff Lenk 82292cced7 FS-3127 --resolve please reopen if not fixed 2013-07-06 12:52:21 -05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
William King f04842d4c8 Cleaning up logically dead code. 2013-05-25 07:02:49 -07:00
Marc Olivier Chouinard 74401ed00b FS-3924 --resolve 2013-01-27 15:06:43 -05:00
Marc Olivier Chouinard da1f3c380e FS-3924 --resolve 2013-01-13 01:00:38 -05:00
Marc Olivier Chouinard 026da2b33d FS-4890 --resolve
I've also added the CC-Agent-Called-Time and CC-Agent-Aborted-Time in case you find this useful also.
2012-11-29 15:42:46 -05:00
Marc Olivier Chouinard 7448b075b7 FS-4760 --resolve 2012-11-16 14:30:00 -05:00
Anthony Minessale e1fe289672 refactor db stuff to use single string dsn to avoid code duplication and introduce switch_sql_queue_manager api to create transactional sql queues to aggregate a bunch of sql stmts into transactions 2012-10-09 20:20:32 -05:00
Anthony Minessale 464155c5cd more priority tweaks 2012-10-01 10:20:48 -05:00
Anthony Minessale 8bb55ed4bf abstract out originate_signal_bond to a function to avoid confustion and regressions 2012-05-29 13:10:15 -05:00
Marc Olivier Chouinard 09bef08b83 FS-4254 --resolve
I've changed the variable name from cc_export to cc_export_vars to be more consistant from the original patch
2012-05-25 13:45:02 -04:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00