从源辞典

查阅生活点点滴滴

NEC PBX Call SMDR Logger

January 17th, 2011 by congyuan

This is a Windows program written in C# to retrieve phone call log via TCP/IP from the PBX system.

Requirement:
1. Windows with .NET framework 1.1 or above
2. PBX system which can output SMDR via TCP/IP

How to use: (eg. NEC Univerge SV8100)
1. Enable NEC SMDR Output
http://univergesv8000series.blogspot.com/2009/04/setup-smdr-output-via-ip-for-nec.html
At SV8100
PROG 10-12-01/02: confirm your IP address given for the CPU
PROG 35-01-01: Output Port Type (select: LAN)
PROG 10-20-05: SMDR Output (input: 60010)
PROG 14-01-06: SMDR Print-Out (checked)
Repeat for all the trunks necessary
Reboot SV8100

2. Download the windows program here
http://www.xucongyuan.com/nec-smdr-logger.zip
It contains 3 files:
InstallUtil.exe The utility program to install a service
NecSmdrLogger.exe The main program for SMDR logging
NecSmdrLogger.exe.config The configuration file

3. Unzip it to a folder and edit the NecSmdrLogger.exe.config

NecHost: The Ip address of the NEC PBX
NecPort: The port of SMDR output
workingDir: The directory where the program will be running, auto create if not exist
CallLogDir: The directory where all the call logs be stored, auto create if not exist
logFile: The log file of the program, auto create if not exist

4. Open a Command prompt, and type the following command to install it a service
cd to_where_the_files_are
InstallUtil NecSmdrLogger.exe

5. Right click on “My computer” and go to “Manage”.
Under “Services”, look for “NEC SMDR Logging”. Click “Start” to run it.

6. Set it to run Automatically every time the windows starts.
By default, it is installed as start automatically. Check it to make sure it is set.

Note:
This program can only be run as a service.
It automatically reconnects to PBX every 24 hours if no data received for that period.
Call logs will be stored into files by month.

DISCLAIMER:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Posted in All Others | 2 Comments »