[asterisk-users] Macro and Arguments
James FitzGibbon
james.fitzgibbon at gmail.com
Fri Aug 3 13:41:25 CDT 2007
On 8/3/07, bilal ghayyad <bilmar_gh at yahoo.com> wrote:
>
> At the extensions.conf file, at [demo] context, there
> is a line:
>
> exten => 1234,n,Macro(stdexten, 1234,
> ${GLOBAL(CONSOLE)})
>
> In this line, I understand that it calls the macro
> name stdexten [macro-stdexten] but about the other
> variables, do we consider 1234 is ARG1 and the
> ${GLOBAL(CONSOLE)} is the ARG2? This is important to
> distinguish the arguments inside the macro.
Correct.
More information about the asterisk-users
mailing list