Solved

C# App & 3rd Party App Integration

Posted on 2011-03-24
4
266 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now