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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capturing SMDR from mulitple locations to one PC

Status
Not open for further replies.

intrigrant

Systems Engineer
Jun 21, 2004
11,626
CA
If you need to capture the SMDR from several locations to one PC in the network then you either need to have a DeltaServer running on each system or you need Billing Software.
There is a free alternative for that when you do not need Billing software and if you dont have a available PC on each location.

You can use NC.EXE for this purpose.
This can be found here :
In IP Office 4.1+ > System > CDR/SMDR you enable SMDR fill in the IP Address of the receiving PC and enter a port number, each location must have a different (free) port number.

Copy nc.exe to the harddisk of the PC and make a dos batch file for each location like this:
( save the bold contents as "SMDR_sitex.bat" )

FOR /F "TOKENS=1,2 eol=/ DELIMS=/ " %%A IN ('DATE/T') DO SET mm=%%B
md C:\Avaya\SMDR\SiteName
c:\nc.exe -l -p 8881 >> C:\Avaya\SMDR\SiteName\%mm%_smdr.txt &

8881 is the port number!


create a batch file for each location.
Open the Windows TASK manager and schedule the batch files to run daily at 00:01 hour and let the task run for 24 hours.
There will be a SMDR file for each day named "01-12-2009_smdr.txt" were 01-12-2009 will be the date the file was created.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top