I hoping that someone else has had the same problem here.
I have written a script to connect via Perl::Expect using telnet to a Data Track device which is connected to a Meridian voice switch.
The escape sequence to leave the voice session and reenter the Data Track menu is ~@ (tilde followed by an at sign).
Works interactively manually - but I cant get it to work via Perl Expect.
Previous problems I have had when sending these type of disconnect signals to other devices is that a trailing carriage return causes the sequence not to be interpreted correctly. This is not the case here.
I have tried:-
$self->{_exp}->send("$RespCmd");
Where $RespCmd = ~@ or '\x7E\x40' or '\176\100'
Anyone have an idea as to how to identify what might be the issue. I'm told the tracker uses tip for terminal emulation.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.