Solved

C# App & 3rd Party App Integration

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ado.net AddWithValue when using IN condition 7 45
Connect Gridview column to Textbox in C# 2 55
Pdf not loading 2 39
Need a quick overview of Selenium testing 2 35
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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