function 'LOCAL_PEEK'

Retrieve variables hidden by the local gosub stack frame.
Read a variable <varname> hidden by <n> levels of gosub stack frames.  Note
that ${LOCAL_PEEK(0,foo)} is the same as ${foo}, since the value of <n> peeks
under 0 levels of stack frames; in other words, 0 is the current level.  If
<n> exceeds the available number of stack frames, then an empty string is
Not available

[See Also] Команда Asterisk Gosub(), Asterisk app:GosubIf(), Asterisk app: Return()

Asterisk: функции диалплана

  • asterisk/func/local_peek.txt
  • Последние изменения: 2014/05/07