[asterisk-bugs] [JIRA] (ASTERISK-27490) chan_console: 'set active' fails to work
Kevin Harwell (JIRA)
noreply at issues.asterisk.org
Mon Apr 1 13:24:01 CDT 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-27490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Harwell updated ASTERISK-27490:
-------------------------------------
Target Release Version/s: 16.3.0
> 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: 13.18.4, 15.1.4
> Reporter: Tzafrir Cohen
> Assignee: Tzafrir Cohen
> Severity: Minor
> Target Release: 13.19.0, 15.2.0, 16.0.0, 16.3.0
>
>
> 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:
> Expected result:
> {code}
> *CLI> console set active con1
> The active console device has been set to 'con1'
> {code}
> Actual result:
> {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