Page 522 - Asterisk™: The Future of Telephony
P. 522

ARRAY                                      Allows one to define several variables at one time
               ARRAY(var1[|var2[...][|varN]])

               The comma-separated list, which the function equals, will be interpreted as a set of
               values to which the comma-separated list of variable names in the argument should be
               set. This function may only be set, not read.
                   ; Set var1 to 1 and var2 to 2.
                   exten => 123,1,Set(ARRAY(var1,var2)=1\,2)


                           Remember to either backslash your commas in extensions.conf or quote
                           the entire argument, since Set() can take multiple arguments itself.



               See Also
               Set()


               BASE64_DECODE                                        Decodes a BASE64 encoded string
               BASE64_DECODE(base64_string)

               Decodes a BASE64 string. This function may only be read, not set.

               See Also
               BASE64_ENCODE()


               BASE64_ENCODE                                            Encodes a string in BASE64
               BASE64_ENCODE(string)

               Encodes a string in BASE64. This function may only be read, not set.

               See Also
               BASE64_DECODE()


               BLACKLIST                                        Checks if the Caller ID is on the blacklist


               When  read,  BLACKLIST()  uses  the  AstDB  to  check  if  the  Caller  ID  is  in  family
               blacklist. Returns 1 or 0.
               This function may only be read, not set.




               494 | Appendix E: Asterisk Dialplan Functions
   517   518   519   520   521   522   523   524   525   526   527