[OpenSIPS-Devel] [OpenSIPS/opensips] 49f45b: [call_center] Improved wrapup time support

Bogdan Andrei IANCU noreply at github.com
Sat Apr 18 20:36:51 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 49f45b2b930b03b704f66bec01751cf60f029d2c
      https://github.com/OpenSIPS/opensips/commit/49f45b2b930b03b704f66bec01751cf60f029d2c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M modules/call_center/call_center.c
    M modules/call_center/cc_data.c
    M modules/call_center/cc_data.h
    M modules/call_center/cc_db.c
    M modules/call_center/cc_db.h

  Log Message:
  -----------
  [call_center] Improved wrapup time support

The flows and agents may have optional wrapup time. Rules:
* if no per-agent wrapup time, use the global value
* the per-flow wrapup overrides the per-agent value


  Commit: 81b56167a7750cd639c0dd1669aaab46a5592c52
      https://github.com/OpenSIPS/opensips/commit/81b56167a7750cd639c0dd1669aaab46a5592c52
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M db/schema/cc_agents.xml
    M db/schema/cc_flows.xml
    M scripts/db_berkeley/opensips/cc_agents
    M scripts/db_berkeley/opensips/cc_flows
    M scripts/dbtext/opensips/cc_agents
    M scripts/dbtext/opensips/cc_flows
    M scripts/mysql/call_center-create.sql
    M scripts/oracle/call_center-create.sql
    M scripts/pi_http/call_center-mod
    M scripts/pi_http/call_center-table
    M scripts/pi_http/pi_framework.xml
    M scripts/postgres/call_center-create.sql
    M scripts/sqlite/call_center-create.sql

  Log Message:
  -----------
  [call_center] Added wrapup time column to cc_flow and cc_agent


  Commit: a419fef6700a02c68979f1296b8b67dee93bcd51
      https://github.com/OpenSIPS/opensips/commit/a419fef6700a02c68979f1296b8b67dee93bcd51
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M modules/call_center/doc/call_center_admin.xml

  Log Message:
  -----------
  [call_center] updated docs on wrapup time


  Commit: 934c2ba553887aca4e770c9110d0bd18e416b8eb
      https://github.com/OpenSIPS/opensips/commit/934c2ba553887aca4e770c9110d0bd18e416b8eb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M modules/call_center/cc_db.c

  Log Message:
  -----------
  [call_center] Accept empty tables for flows & agents

This allows the module to start even if there is no data provisioned


  Commit: 15f284e37a5b08471cfb305800fb581af426388a
      https://github.com/OpenSIPS/opensips/commit/15f284e37a5b08471cfb305800fb581af426388a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M modules/call_center/call_center.c
    M modules/call_center/cc_data.c
    M modules/call_center/cc_data.h
    M modules/call_center/cc_db.c
    M modules/call_center/cc_db.h
    M modules/call_center/cc_queue.c

  Log Message:
  -----------
  [call_center] Adds call dissuading support

Configurable per flow, the dissuading means to redirect a call to another destination, if the queue/flow is overloaded:
* if the number of calls already in the queue exceeds the diss_qsize_th threshold
* if the estimated time to wait of the queue exceeds the diss_ewt_th threshold
* if the call was waiting in the queue for longer than diss_onhold_th threshold


  Commit: 0306a0b728788f067f04c8eb6b80ff562abcdc2b
      https://github.com/OpenSIPS/opensips/commit/0306a0b728788f067f04c8eb6b80ff562abcdc2b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M db/schema/cc_flows.xml
    M scripts/db_berkeley/opensips/cc_flows
    M scripts/dbtext/opensips/cc_flows
    M scripts/mysql/call_center-create.sql
    M scripts/oracle/call_center-create.sql
    M scripts/pi_http/call_center-mod
    M scripts/pi_http/call_center-table
    M scripts/pi_http/pi_framework.xml
    M scripts/postgres/call_center-create.sql
    M scripts/sqlite/call_center-create.sql

  Log Message:
  -----------
  [call_center] Adding the dissuading columns in cc_flows table


  Commit: c5526ec22f1fe57bfed2d607e6f8c5ca89393378
      https://github.com/OpenSIPS/opensips/commit/c5526ec22f1fe57bfed2d607e6f8c5ca89393378
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M modules/call_center/doc/call_center_admin.xml

  Log Message:
  -----------
  [call_center] docs on the dissuading capabilities


  Commit: 8bba471ba997c80338b01b23f619898b2a91bec6
      https://github.com/OpenSIPS/opensips/commit/8bba471ba997c80338b01b23f619898b2a91bec6
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M db/schema/cc_flows.xml
    M scripts/db_berkeley/opensips/cc_flows
    M scripts/dbtext/opensips/cc_flows
    M scripts/mysql/call_center-create.sql
    M scripts/oracle/call_center-create.sql
    M scripts/pi_http/call_center-mod
    M scripts/pi_http/call_center-table
    M scripts/pi_http/pi_framework.xml
    M scripts/postgres/call_center-create.sql
    M scripts/sqlite/call_center-create.sql

  Log Message:
  -----------
  [call_center] added the message_dissuading column to cc_flows


  Commit: 2cf897536c12ad0ccfbb4ffd0ef7552fa4984d4c
      https://github.com/OpenSIPS/opensips/commit/2cf897536c12ad0ccfbb4ffd0ef7552fa4984d4c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M db/schema/cc_agents.xml
    M db/schema/cc_flows.xml
    M modules/call_center/cc_db.h
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/version
    M scripts/mysql/call_center-create.sql
    M scripts/oracle/call_center-create.sql
    M scripts/postgres/call_center-create.sql
    M scripts/sqlite/call_center-create.sql

  Log Message:
  -----------
  [call_center] boost the version for cc_agents and cc_flows tables


  Commit: 95ba92ded33cbdd6c50331b30ad28cfa4d20d6de
      https://github.com/OpenSIPS/opensips/commit/95ba92ded33cbdd6c50331b30ad28cfa4d20d6de
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M modules/call_center/call_center.c
    M modules/call_center/cc_db.c
    M modules/call_center/cc_db.h
    M modules/call_center/doc/call_center_admin.xml

  Log Message:
  -----------
  [call_center] Make cc_agents table customizable

Name and columns may be changed via modparams
This makes easier to mapp the agents table on other DB tables


  Commit: 0567aa4efaa74fb299bb1716c712a947df2026c8
      https://github.com/OpenSIPS/opensips/commit/0567aa4efaa74fb299bb1716c712a947df2026c8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M modules/call_center/cc_db.c

  Log Message:
  -----------
  [call_center] Fixed bad number of columns in DB query


  Commit: bdb7e532a446abaec281ec363d4b5b6168aa8098
      https://github.com/OpenSIPS/opensips/commit/bdb7e532a446abaec281ec363d4b5b6168aa8098
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M modules/call_center/cc_data.c

  Log Message:
  -----------
  [call_center] Fix condition for persistent wrapup time


Compare: https://github.com/OpenSIPS/opensips/compare/17b44ea1f227...bdb7e532a446



More information about the Devel mailing list