Get SMDR information from a Mitel 5000 CP
I posted this on spiceworks....
Setup Mitel - DB Programming
Change SMDR Output to YES
make sure "SMDR Output Active" is YES
SMDR Password - DB Programming
right click on SMDR and set password.
Find Mitel 5000 IP
Check the IP!
===> System/IP Settings/Current Processor Module IP Address
Check Port (Unsecured)
In System/IP Settings
Check "Listening Port (Unsecured)" is 4000
Check "Listening Port (Unsecured) Enabled" is YES
Monitor your SMDR messages...
Perl (untested) example
Parse the message and save/log it somewhere?
Contact Mitel for the the "Features and Programming Guide" which provides details on the message format.
Or Google is your friend.