[asterisk-bugs] [JIRA] (ASTERISK-27490) chan_console: 'set active' fails to work
Tzafrir Cohen (JIRA)
noreply at issues.asterisk.org
Tue Dec 19 06:07:07 CST 2017
Tzafrir Cohen created ASTERISK-27490:
----------------------------------------
Summary: chan_console: 'set active' fails to work
Key: ASTERISK-27490
URL: https://issues.asterisk.org/jira/browse/ASTERISK-27490
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Channels/General
Affects Versions: 15.1.4, 13.18.4
Reporter: Tzafrir Cohen
Severity: Minor
Chan_console supports multiple "phone" (Console) devices. However the console phone control commands don't allow specifying a device. Hence its CLI has a concept of the "active" device.
However, the command 'console set active' currently fails to work due to a simple bug.
To reproduce (no actual device needed):
in chan_console:
{code}
[con1]
input_device = fake device 1
output_device = fake device 1
[con2]
input_device = fake device 2
output_device = fake device 2
{code}
Now load the module. From the CLI you should be able to see both con1 and con2 in 'console show devices'. Now:
{code}
*CLI> console set active con1
Could not find a device called 'con1'.
Command 'console set active con1' failed.
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list