Coder Social home page Coder Social logo

callstats's Introduction

CALLSTATS


Collect & display call statistics for HiPath OpenOffice ME

Everything here is before 2010.

Screenshot

#REQUIREMENTS

-sqlite 3.x -Apache (tested with 2.2) -PHP 5.2.x (or later) with sqlite3 PDO support

#INSTALLATION

1)put everything under a directory accessible from your web server 2)compile & install netlog

inside the contrib/netlog folder run the following: make clean;make mkdir -p /usr/local/sbin/ cp netlog /usr/local/sbin/

3)install contrib/calllog.initd as init startup script. ##For Redhat/CentOS:

cp callog.initd /etc/init.d/calllog
chkconfig --add calllog
chkconfig calllog on

  • the last two lines create the appropriate links to start calllog on each boot
  • if your HiPath sends data to a different port than the default,
  • then edit /etc/init.d/calllog and change the default port (24274).

4)Start the call logging. As user root run the following: /etc/init.d/calllog start

You should see log entries appended in the file /var/log/call.log. If not:

  • check that netlog is running (ps -ef|grep netlog)
  • check that your firewall is not preventing connections to port 24274 (/etc/init.d/iptables status)
  • check that your Siemens system is configured to send logs to your host

5)Try to append the log file to your database manualy: Run the following: From the command line, not from the web! dbupdate.php

This will append /var/log/call.log into calls.db sqlite file.

6)Update root's crontab to append the log file to your database daily: Edit the line to reflect your web server path, and add it to root crontab.
(10 4) means this will run every day at 4:10 (am)

10 4 * * * /usr/local/apache2/htdocs/callstats/dbupdate.php

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.