[asterisk-dev] h extension not considered within a macro for Asterisk 1.6.0.6 and later

Emrah KAVUN eka at ekanet.net
Tue Apr 7 12:42:19 CDT 2009


Tilghman Lesher wrote:
> That's because it was actually a BUG.  The "h" extension never should have
> executed within the macro context.  It was always documented that the "h"
> extension only executes within the main context, where the Macro was called.
>   


naughty*CLI> core show version
Asterisk 1.6.1.0-rc4 built by root @ naughty.kavun on a i686 running
Linux on 2009-04-06 19:59:29 UTC
naughty*CLI> core show application macro
[...]
While a macro is being executed, it becomes the current context.
This means that if a hangup occurs, for instance, that the macro
will be searched for an 'h' extension, NOT the context from which
the macro was called. So, make sure to define all appropriate
extensions in your macro! (Note: AEL does not use macros)

Am I missing something?



More information about the asterisk-dev mailing list