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

Mitel api for 3300 MXE?

Status
Not open for further replies.

jdsixtos

Programmer
Dec 29, 2014
6
US
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?
 
SMDR Real Time Reporting is enabled. If I telnet into the system on port 1752, and watch calls as they come in, the call will show as soon it is received, but when someone answers the call, it doesn't show the phone login information until after the duration of the call (call complete). Unless there is something else I must do, I'm not sure as to how else to receive this information.
 
SMDR is after the call event data not sent during the call.
SMDR Real time reporting
Select "Yes" to enable SMDR real time reporting. Enabling this option allows you to reroute SMDR records directly to a previously defined printer port instead of waiting for these records to be stored on disk and then printed. The priority of the SMDR log system is raised to keep the output as near as possible to real time.
After you enable this option, reload the system to ensure that the SMDR records are routed directly to the printer. The SMDR output port must be set to 9600 baud and the call logger or printer must be capable of operating at 9600 baud.
Note that a real time SMDR report is deleted from the system once it is delivered to the printer port. The report is not saved on the hard disk. Therefore, you can't perform LOGS READ SMDR, LOGS CHANGE SMDR, or ROUTE commands on the report.

Do not enable SMDR real time reporting unless the customer specifically requests it, since the SMDR records will be lost if the call logger or printer fails.


 
I'm not needing to print this information (which was why I tried the approach of using telnet to see the data), I'm simply wanting to record the information to a designated mysql database table. With what I have right now my node.js script records the information to the database once the call is complete. The reason I'm needing to record this information to the database is for customer service reasons. I have a php script which pulls my customer information (based on the phone number that is calling), and displays this information to whichever operator is taking the call only.
 
Yes, but if you have a call accounting system connected and enable SMDR real time reporting and that server goes down/needs maintenance you loose those call records.
If you require an application to provide customer service with a customer information screen based on ANI or caller enter information my suggestion would be MiContact which can be licensed with a CTI developer toolkit for an IVR solution.
 
To answer the Question you asked .... the answer is NO

If you want any information 'live' then its not SMDR that you should be looking at

SMDR is a record created at the END of a call , it is only available at the end of a call.

You probably would have to join the Mitel MSA and get access to the mitai api's to do what you want.

I think that requires a dealer to sponser you and then you have to pay for a

Mitai is the language used between the controller and the handsets and would contain live information during calls.




If I never did anything I'd never done before , I'd never do anything.....
 
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)?
 
again you cannot use SMDR in real time

"can I somehow use SMDR records to pin the current active call to the operator who answered the call (in real-time)? "

it can be used with teh acd stream after the call is complete , thats what the contact centre product uses to generate its reports

for the realtime activity it uses mitai

If I never did anything I'd never done before , I'd never do anything.....
 
Thank you for your reply, I kind of figured that I would need access to some sort of api, I'm new to programming and implementation with phone systems, so I'm learning as I go. Any idea on how I could get my hands on the Mitai api, I've contacted Mitel, but they told me to contact my provider and I'm not sure as to whom our provider is or was?
 
All Mitel products are licensed by an ARID ( Application record ID - MCD,MiCollab,MBG,OIG,Nupointetc) or a Site Key (prariefyre CCM)

if you can locate one of these and give that to Mitel they can tell you what dealer has ownership of it .


If I never did anything I'd never done before , I'd never do anything.....
 
Thank you very much, I just found out who our provider is. I'm going to contact them on Monday.
 
Prairie Fyre is probably your best bet. If you have their server you can get an API from them without having to go through Professional services. The document is very comprehensive from PF.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top