This page last changed on Oct 14, 2011 by wikibot.

LOCAL_PEEK()

Synopsis

Retrieve variables hidden by the local gosub stack frame.

Description

Read a variable varname hidden by n levels of gosub stack frames. Note that ${LOCAL_PEEK(0,foo)} is the same as Read a variable None - 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 returned.

Syntax

LOCAL_PEEK(n,varname)
Arguments
  • n
  • varname

See Also

Asterisk 10 Application_Gosub
Asterisk 10 Application_GosubIf
Asterisk 10 Application_Return

Import Version

This documentation was imported from Asterisk version SVN-branch-10-r340810.

Document generated by Confluence on Oct 14, 2011 13:25