Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDR capture via TCP/IP on Linux host

Status
Not open for further replies.

FortKnox

Technical User
May 10, 2004
254
US
The Kerchak thread690-684030 is closed because it hasn't gotten much attention in quite a while. I will copy and paste the Kerchak method at the end of this post.

Well, I found this great little app that I would like some help from you guys on.

Its an application called ByteWedge Pro from Fogsoft.

Its a tcp/ip client and/or server and it will listen and capture your CDR info, error check it, parse it, and pipe it out to a log file, an Excel file, or to a database via ODBC.

There is a trial version on the Fogsoft website.

I have only installed the software thus far, but if any of you guys have a chance to mess with it, please do post your results.

The Kerchak Method
____________________

Here is how I got CDR billing sent via TCP/IP to my Linux host:

Definity:

(add an entry for your billing linux host)
CHANGE NODE-NAMES IP
LINUX-HOST 192.168.0.50

(point your box which host and port it should send billing)
CHANGE IP-SERVICES
CDR1 C-LAN LINUX-HOST 50000

(tell your box how to generate CDR there)
CHANGE SYSTEM-PARAMETERS CDR
(page-1)
Primary Output Format: customized
Primary Output Endpoint: CDR1
(page-2)
1: date
2: space
3: time
4: space
5: sec-dur
6: space
7: clg-num/in-tac
8: space
9: in-trk-code
10: space
11: dialed-num
12: space
13: code-used
14: return
15: line-feed

Linux host:

(catch the feed from your box)
$ netcat -l -p 50000 >> my-billing.txt &

(watch your billing grow)
$ tail -f my-billing.txt


FYI - There is a win32 version of netcat on the web - can be difficult to find, but it is out there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top