[asterisk-bugs] [Asterisk 0012401]: [patch] Added functionality to astcli
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Apr 10 13:52:41 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12401
======================================================================
Reported By: davevg
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 12401
Category: Utilities/General
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 113923
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 04-09-2008 20:20 CDT
Last Modified: 04-10-2008 13:52 CDT
======================================================================
Summary: [patch] Added functionality to astcli
Description:
Replaced Net::Telnet dependency with IO::Socket, added additional -i
parameter for interactive mode.
======================================================================
----------------------------------------------------------------------
davevg - 04-10-08 13:52
----------------------------------------------------------------------
To clarify, interactive is being defaulted to 0 in this line:
my ($user, $pw, $host, $port, $interactive) = (undef, undef, 'localhost',
5038, 0);
It is only enabled if you pass the -r, and even if you pass the -r it can
only go into that mode if it passes the eval for the perl dependancy.
eval { require Term::ReadLine;};
$interactive = ($@?0:1);
Which sets it to disabled and prints a message to STDERR if the require
fails.
Issue History
Date Modified Username Field Change
======================================================================
04-10-08 13:52 davevg Note Added: 0085318
======================================================================
More information about the asterisk-bugs
mailing list