[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

C# App & 3rd Party App Integration

Posted on 2011-03-24
4
Medium Priority
?
277 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 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Screencast - Getting to Know the Pipeline
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

834 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