Funções do Dialplan do Asterisk 18
Comando:
FIELDQTY()
Sinopse:
Count the fields with an arbitrary delimiter
Descrição:
The delimiter may be specified as a special or extended ASCII character, by encoding it. The characters '\n', '\r', and '\t' are all recognized as the newline, carriage return, and tab characters, respectively. Also, octal and hexadecimal specifications are recognized by the patterns '\0nnn' and '\xHH', respectively. For example, if you wanted to encode a comma as the delimiter, you could use either '\054' or '\x2C'.
Example: Prints 3exten => s,1,Set(example=ex-amp-le)
same => n,NoOp(${FIELDQTY(example,-)})
FIELDQTY(varname,delim)
varname delim
This documentation was generated from Asterisk branch 18 using version GIT
Sintaxe:
exten => s,1,Set(example=ex-amp-le)
same => n,NoOp(${FIELDQTY(example,-)})
FIELDQTY(varname,delim)
Fonte: Asterisk Wiki