This configuration was tested on Software Load: R011i.03.0.526.5 and Software Load: R012i.01.1.414.1, so, keep in mind it may not work under previous or later versions (or even any other version!).
Definity:
(add an entry for your billing linux host)
CHANGE NODE-NAMES IP
LINUX-HOST [color blue]192.168.0.50[/color]
(point your box which host and port it should send billing)
CHANGE IP-SERVICES
CDR1 C-LAN LINUX-HOST [color red]50000[/color]
(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
On Linux/Unix hosts:
(catch the feed from your Definity box) $ netcat -l -p [color red]50000[/color] >> my-billing.txt &
(watch while your billing grows) $ tail -f my-billing.txt
(If your Linux or Unix dont already have the Netcat utility, you can download it from (*) http://www.securityfocus.com/data/tools/nc110.tgz)
On Windows hosts:
(catch the feed from your box) $ nc -l -p [color red]50000[/color] -d >> my-billing.txt
(Netcat for Windows systems can be downloaded from (*) http://www.securityfocus.com/data/tools/nc11nt.zip)
NOTE: I noticed the ocasional generation of some nasty [color green]^@^@^@[/color] characters. Until now I have not found a way to stop generating them, so, I'm just filtering them out in Linux itself, with cat my-billing.txt | tr -d '\0' > my-billing-beauty.txt.
(*) Thanks to [color blue]manfmmd[/color] for the updated netcat links.
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.