What are you trying to do?
Call logging - call details (time length, called number, calling number etc)
Call Recording - wav file record of conversation
Call Monitoring - ability to monitor conversation in real time
I would guess you are trying to call logging... If so, you need to get hold of SMDR (Station Message Detail Records) These are usually produced by the PBX as a stream at the end of the call. They can be presented by either serial or TCPIP connection.
You need to build a template for each type of call, that is flexible enough to allow for different number of digits in the station range (i.e xtn 20, xtn 200, xtn 2000 etc) Yo then need to capture teh data for each call (by appropriate use of serial port or TCPIP (either using a control or API))
Store resulting data in a table, apply costing for each call, and match each call to a department. Finally you need a whole load of reports....
Are you trying to produce a cheap logger for your own company or a production version for sale?
If you are trying to save money, then write a utility to log the SMDR stream to a CSV file. Open the CSV file in Excel and format from there. You will save a lot of heartache!
For a production version, you need to make your templates mach each and every PBX that you intend to sell for!
Take Care
Matt
If at first you don't succeed, skydiving is not for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.