[Home]

Summary:ASTERISK-04456: possible confusion in configs/extensions.ael.sample
Reporter:Alejo Alamillo (aap)Labels:
Date Opened:2005-06-21 22:55:02Date Closed:2008-01-15 15:39:05.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ael_sample.txt
Description:sample file has:
macro std-exten-ael( ext , dev ) {
       Dial(${ext}/${dev},20);

Placing ${dev} second in the dial command

I believe it should read:
macro std-exten-ael( ext , dev ) {
       Dial(${dev}/${ext},20);


Also line 54 reads:
_1234 => &std-exten-ael(${EXTEN});

Where the extensions is defined but the dev is missing
Comments:By: Clod Patry (junky) 2005-06-22 09:22:22

The first part should be in asterisk-dev mailing list, not here.
And for the second part, you probably right, it misses the tech arg.
But im not the macro guy, so im not the right person the ask.

Anyways, here's your ideas in a patch, try to attach it next time.

Thanks.

By: Kevin P. Fleming (kpfleming) 2005-06-22 15:15:02

Committed to CVS HEAD, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:39:05.000-0600

Repository: asterisk
Revision: 5971

U   trunk/configs/extensions.ael.sample

------------------------------------------------------------------------
r5971 | kpfleming | 2008-01-15 15:39:05 -0600 (Tue, 15 Jan 2008) | 2 lines

clean up macro example (bug ASTERISK-4456)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5971