?
Solved

C# App & 3rd Party App Integration

Posted on 2011-03-24
4
Medium Priority
?
272 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 4

Accepted Solution

by:
parnasso earned 1000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

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