Solved

C# App & 3rd Party App Integration

Posted on 2011-03-24
4
267 Views
Last Modified: 2012-05-11
Hi All,

Currently I'm working with an NEC IP3000 IPBX telephone system.  To set up an extension you have to do the following:

1) Open the OM Termminal application and connect to the IPBX system.
2) Using a command line interfeace, execute a number of commands.
3) Disconnect and close the application.

I have written a windows form (C#) that takes a number of details about the new extension from the user and I would like to be able to progromatically build and run the commands in OM Terminal.

The only options I can think of are:

1) Build script files and use the OM Terminal executable to run with a script file.  The problem with this is that I do not know what switches may or may not be available.  using om.exe /? does not return anything.

2) Link to the application DLLs (if they exist) and use them to link into the system (linked libraries?), however, I do not know how to go about identifying the correct DLLs and using them.

Thanks.
0
Comment
Question by:ImaCircularSaw
  • 3
4 Comments
 
LVL 4

Accepted Solution

by:
parnasso earned 500 total points
ID: 35205576
Here there are my suggestions:

3) Create a process om.exe, redirect the input, output and error streams and control the application writing and reading from those streams.

4) OM terminal uses telnet to send command. So, sniff those telnet packets of the commands your are interested in, and in your application send the packets using sockets directly.

Hope this helps
0
 
LVL 10

Author Comment

by:ImaCircularSaw
ID: 35206529
Great suggestions, I shall investigate and get back to you.

Thanks!
0
 
LVL 10

Author Comment

by:ImaCircularSaw
ID: 35322101
Could you expand on suggestion 3 a little please?  Also, I sniffed the telnet packets but was not able to replicate, have you any tips for impersonating OM terminal?

Thanks.
0
 
LVL 10

Author Closing Comment

by:ImaCircularSaw
ID: 35393452
suggestion were very summary, no detail.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error in script 11 56
SQL Exceptions 3 43
send messages to whatsapp programatically 2 47
Coding C# in Linux 8 66
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question