[asterisk-bugs] [JIRA] (ASTERISK-28364) func_strings: HASHKEYS in shared variable space cannot be retrieved
    Joshua C. Colp (JIRA) 
    noreply at issues.asterisk.org
       
    Mon Apr  8 05:27:47 CDT 2019
    
    
  
     [ https://issues.asterisk.org/jira/browse/ASTERISK-28364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua C. Colp updated ASTERISK-28364:
--------------------------------------
    Summary: func_strings: HASHKEYS in shared variable space cannot be retrieved  (was: func_strings: HASHKEYS in shared variable space cannot be retireved)
> func_strings: HASHKEYS in shared variable space cannot be retrieved
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-28364
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28364
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_strings
>    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