[asterisk-bugs] [JIRA] (ASTERISK-27240) SHELL function it's returning wrong value
Javier Valencia (JIRA)
noreply at issues.asterisk.org
Fri Sep 1 08:01:08 CDT 2017
Javier Valencia created ASTERISK-27240:
------------------------------------------
Summary: SHELL function it's returning wrong value
Key: ASTERISK-27240
URL: https://issues.asterisk.org/jira/browse/ASTERISK-27240
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Functions/func_shell
Affects Versions: 11.6.0
Environment: Distro: Debian GNU/Linux 8.5 (jessie)
Kernel: Linux XXX 4.2.8-1-pve
Asterisk: Asterisk certified/11.6-cert13 built by root @ XXX on a x86_64 running Linux
Reporter: Javier Valencia
Severity: Minor
Using a SHELL function:
exten => 1,1,NoOp(${SHELL([[ "102,101" == *102* ]] && echo -n 1 || echo -n 0)})
SHELL function always return 0, and must be 1.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list