Module: sip-router
Branch: master
Commit: fc83d3b1f1dd0934e5638b91d11e27f47880b411
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=fc83d3b…
Author: Carlos Ruiz Diaz <carlos.ruizdiaz(a)gmail.com>
Committer: Carlos Ruiz Diaz <carlos.ruizdiaz(a)gmail.com>
Date: Thu Jun 20 17:34:49 2013 -0400
Added support to limit number of calls per customer/profile
- added function cnxcc_set_max_channels() per customer/profile
- added function cnxcc_get_channel_count() per customer/profile
- added function cnxcc_terminate_all() to terminate calls per customer/profile
- added select @cnxcc.channels["customer/profile"].count
- added modified version of kamailio-cnxcc.cfg to reflect changes and examples
---
modules/cnxcc/cnxcc_check.c | 23 ++-
modules/cnxcc/cnxcc_check.h | 23 ++-
modules/cnxcc/cnxcc_mod.c | 369 ++++++++++++++++++++++++++++--
modules/cnxcc/cnxcc_mod.h | 6 +-
modules/cnxcc/cnxcc_rpc.c | 23 ++-
modules/cnxcc/cnxcc_rpc.h | 23 ++-
modules/cnxcc/cnxcc_select.c | 67 ++++++
modules/cnxcc/cnxcc_select.h | 32 +++
modules/cnxcc/example/kamailio-cnxcc.cfg | 105 ++++++++-
9 files changed, 629 insertions(+), 42 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=fc8…