Mitel Forums - The Unofficial Source

Mitel Forums => Mitel MiVoice Business/MCD/3300 => Topic started by: jdsixtos on December 29, 2014, 05:26:11 PM

Title: Mitel api for 3300 MXE?
Post by: jdsixtos on December 29, 2014, 05:26:11 PM
I have an in-house node.js script that I wrote for my company to pipe SMDR data (date, time, duration, phone number, and phone login) from the phone system from port '1752' and log call information to a mysql database. This call log information is only piped in when a call is complete. Is there some type of Mitel api that I can access that I can get this information in real-time and not after the call is complete?
Title: Re: Mitel api for 3300 MXE?
Post by: x-man on December 30, 2014, 04:30:33 AM
Try using ACD ....I understand this works in real time....see Real Time Event Records in help on 3300.
Title: Re: Mitel api for 3300 MXE?
Post by: jdsixtos on December 30, 2014, 11:18:13 AM
This looks like the information that I might need, I appreciate your input. Now how would I go about accessing these event reports?
Title: Re: Mitel api for 3300 MXE?
Post by: jdsixtos on December 30, 2014, 02:25:07 PM
I just did some more research, it seems the information I'm looking for is ACD real-time data reporting, I've found to access this, I need to use the port 15373. Well after I telnet on port 15373, I see information that I have no idea how to read. It looks like this:

☻47T134635P902 *1224 00♥

Where as a SMDR record looks like this:

12/30 01:48P 0000:00:07 T6 0017 3145 1800 1805
X P905 001 8888888888 3145 C0015950 A


Any ideas on how to interpret this, can I somehow use SMDR records to pin the current active call to the operator who answered the call (in real-time)?
Title: Re: Mitel api for 3300 MXE?
Post by: x-man on January 02, 2015, 01:16:10 PM
IIRC the help file gives some details on how to decode the output.