[asterisk-bugs] [JIRA] (ASTERISK-28364) HASHKEYS in shared variable space cannot be retireved
Niksa Baldun (JIRA)
noreply at issues.asterisk.org
Sat Mar 30 06:19:47 CDT 2019
Niksa Baldun created ASTERISK-28364:
---------------------------------------
Summary: HASHKEYS in shared variable space cannot be retireved
Key: ASTERISK-28364
URL: https://issues.asterisk.org/jira/browse/ASTERISK-28364
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Core/Channels
Affects Versions: 16.2.1
Environment: Debian 9 stable
Reporter: Niksa Baldun
Severity: Minor
It is possible to create a hash in channels shared variable space like so:
{code}
Set(SHARED(HASH(test_hash,var1))=test)
{code}
And it can be read:
{code}
${SHARED(HASH(test_hash,var1))}
{code}
However, it is unclear how to call the HASHKEYS function in this case. The logical syntax would be:
{code}
${SHARED(HASHKEYS(test_hash))}
{code}
or possibly:
{code}
${HASHKEYS(SHARED(test_hash))}
{code}
But nothing is returned in either case.
I've checked, it doesn't work with hashes in global variable space, either.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list