[asterisk-bugs] [JIRA] (ASTERISK-27490) chan_console: 'set active' fails to work
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Tue Dec 19 16:16:07 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240888#comment-240888 ]
Friendly Automation commented on ASTERISK-27490:
------------------------------------------------
Change 7665 merged by George Joseph:
chan_console: Use correct parameter for 'set active'
[https://gerrit.asterisk.org/7665|https://gerrit.asterisk.org/7665]
> 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
>
> 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