![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
matuskv
Newbie
Joined: November 12 2012 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Topic: Capture data from secondary telnetPosted: 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
|
|
![]() |
|
Shrek59
Senior Member
Joined: December 04 2006 Location: New Zealand Status: Offline Points: 208 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |