Home
· Download
· Support
· Success Stories
· Blog
· Contact
· Imprint

Documentation
· English Manual
· French Manual
· Spanish Manual
· Persian Manual
· Portuguese Manual
· Chinese Manual
· FAQ
· Interoperability
· Intro to H.323
· Usage Examples
· Configuration Notes
· GnuGk and SIP

Tools & Addons
· Java GUI
· ISDN Gateway
· CTI / ACD
· GnuGk Addons
· Endpoints
· Gateways
· MCUs
· IVRs
· Billing
· Commercial Addons

Development
· Compiling
· Development
· NAT Traversal
· Tools
· Authors

Misc
· Events
· Logos
· Recommended Books
· Site Map

Access Control Web Application (Time based)

If you are using GnuGk in an environment where where you don't want to be interrupted by unwanted calls at the wrong time, this appication can help you. It allows you to configure rules who may call whom at what time.

Think about doctors in an operating room who may want a colleague to call, but shouldn't be interrupted for anything else. Think about important meetings etc.

Rules can reference

  • caller IP
  • caller E.164
  • called E.164
  • time of day
  • start day
  • end day
The time-based rules can be
  • one time
  • repeat every n weeks
  • repeat every n months
  • repeat every week on certain weekdays
  • repeat on the n. of a month
  • repeat on the n. weekday of a month

Screenshots: Screenshot 1  Screenshot 2

Version 1.1Unix tar archiveWindows ZIP archive
Access control web application (incl. Perl source code) Download Download

Installing the web application

  • make sure you are using GnuGk 2.2.7 or higher
  • create a MySQL table for the access rules using the schema in accessrules.mysql
  • copy the config file gnugk_access.ini to /usr/local/etc/ and edit it (database access and path names)
  • edit the Apache configuration (see 'perldoc editaccessrules.pl' for a sample configuration) and add user access rules (.htpasswd) if needed
  • copy the scripts and templates into one or more folders according to the path settings in gnugk_access.ini
  • install any missing Perl/CPAN modules:
    • CGI
    • Config::Tiny
    • DBI
    • Date::Calc
    • HTML::Template
    • IO::Socket
    • List::MoreUtils
    • Net::CIDR >= 0.14
    • Net::IP::Match::Regexp
  • test the web interface (the rules aren't activated in GnuGk, yet)
  • enable access control to GnuGk, by prepending 'vqueue' to the routing policies and adding the [CTI::Agents] section (see accesscontrol.ini for an example)
  • make sure sheduler.pl gets started right after GnuGk and keeps running as long as GnuGk does
  • install a cron entry to run monitor_gnugk_access.pl every few minutes to abort calls that run longer as allowed



Last updated: 26. Jun 2011
Page maintained by Jan Willamowius