[asterisk-bugs] [Asterisk 0013752]: Dial with M(macro) doesn't work with AEL macros

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 21 09:05:39 CDT 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=13752 
====================================================================== 
Reported By:                vmikhnevych
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13752
Category:                   Applications/app_macro
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-10-21 04:59 CDT
Last Modified:              2008-10-21 09:05 CDT
====================================================================== 
Summary:                    Dial with M(macro) doesn't work with AEL macros
Description: 
Whenever we use smth like this (with or without '&'):
Dial(SIP/number at context||M(&setMOH|MUSICONHOLD_1))

With an AEL macro like this:
macro setMOH(mohClass) {
	Set(CHANNEL(musicclass)=${mohClass});
	return;
};

We get:
WARNING[30765]: app_macro.c:201 _macro_exec: No such context
macro-&setMOH' for macro '&setMOH'
And the macro is not executed.

Dialplan macro, defined in extensions.conf, works ok.
====================================================================== 

---------------------------------------------------------------------- 
 (0094031) murf (administrator) - 2008-10-21 09:05
 http://bugs.digium.com/view.php?id=13752#c94031 
---------------------------------------------------------------------- 
I'm going to close this bug report; if changing the M option to U
doesn't work, then re-open this issue. Asterisk-users mailing list
is an excellent resource for dialplan and upgrade questions, btw. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-21 09:05 murf           Note Added: 0094031                          
2008-10-21 09:05 murf           Status                   assigned => closed  
======================================================================




More information about the asterisk-bugs mailing list