Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Connectivity
  New Posts New Posts RSS Feed - Capture data from secondary telnet
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedCapture data from secondary telnet

 Post Reply Post Reply
Author
Message
matuskv View Drop Down
Newbie
Newbie


Joined: November 12 2012
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote matuskv Quote  Post ReplyReply Direct Link To This Post Topic: Capture data from secondary telnet
    Posted: November 12 2012 at 6:11am
Hello,
 
I have a client that needs to capture and process the data that comes across a telnet session to our phone system. this will allow the client to retire a couple legacy digiboards. The Pick System is mvEnterprise on SCO. the current process has the system log on to a particular serial port on a DigiBoard. We're currently getting the occassional dropped characters when really causes a mess with the data. The goal is to get rid of the DigiBoards.
 
Here's the situation:
 The pick system is at 10.0.x.y
 The phone system is at 192.168.a.b
 If I manually telnet from the pick system (SH to SCO Unix, then run telnet) to the phone system on a non-standard port (1752) I get the SMDR information that I want to process one line at a time as it is displayed. When I get a CR/LF then process that line of data. There is no authentication required.
for example:
 
+:sh
COMPUTER% telnet 192.168.1.2 1752
Trying 192.168.1.2...
Connected to 192.168.1.2.
Escape character is '^]'.
 11/12 02:04P 0000:02:01 8062         12125551212               A T1223
 11/12 02:07P 0000:00:14 T1101    *** P010 001                    P010   I 7467
                      2125551212 17467

 
 
My question is how can I run a telnet session from the Pick system to the phone system so that I can process the data in "real time" from the program that we already have?
 
Any assistance would be greatly appreciated; I know they would like to get rid of the final serial devices.
 
thanks.
 
 
- Ken Matus
Back to Top
Shrek59 View Drop Down
Senior Member
Senior Member


Joined: December 04 2006
Location: New Zealand
Status: Offline
Points: 208
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shrek59 Quote  Post ReplyReply Direct Link To This Post Posted: November 12 2012 at 11:05am
Hi Ken,

This isn't really an AccuTerm issue, but simply a connectivity issue between your phone system and mvEnterprise. You really want a direct connection between the two, rather than having AccuTerm in the middle.

Ideally, you would want mvEnterprise to make a socket connection to the phone system - but my glance at the mvEnterprise documentation suggests that it doesn't have any socket connection features.

However, you may be able to get the ODA interface to point to the phone system ... but that may not be easy either.

I suspect that your best option may be to find some product that talks to your phone system, and writes the data sent by the phone system to a Unix directory. Ideally, it should create a unix item for every line of data.

Then, get mvEnterprise to scan this folder once a minute to process any items that are there.

Alternatively, use inotify on the Unix box to fire off an mvEnterprise process whenever something is written to the directory.

Either way, the mvEnterprise process is a phantom with no user interaction. It will simply read the data, do something with it, and delete the source data item.

I hope this gives you some ideas.

Cheers,

Brian Speirs
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.