set_uk has asked for the wisdom of the Perl Monks concerning the following question:
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:-
Anyone have an idea as to how to identify what might be the issue. I'm told the tracker uses tip for terminal emulation.$self->{_exp}->send("$RespCmd"); Where $RespCmd = ~@ or '\x7E\x40' or '\176\100'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl::Expect - DataTrack Escape Sequence
by sgifford (Prior) on Oct 30, 2003 at 20:10 UTC | |
by set_uk (Pilgrim) on Oct 31, 2003 at 00:14 UTC | |
by sgifford (Prior) on Oct 31, 2003 at 02:20 UTC | |
by set_uk (Pilgrim) on Oct 31, 2003 at 13:09 UTC |