> -----Original Message-----
> From: asterisk-users-boun...@lists.digium.com 
> [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of 
> Klaus Darilion
> Sent: Thursday, January 08, 2009 8:28 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [asterisk-users] AEL and };
> 
> Hi!
> 
> All the AEL examples have a semicolon after the closing curly 
> bracket, e.g:
> 
> context test {
>    1 => Hangup();
> };
> 
> but without ; it works fine too, e.g:
> 
> 
> context test {
>    1 => Hangup();
> }
> 
> 
> So - what is the reason for the ; after the closing curly bracket?
> 

In the original implementation of AEL, it was required to have the
semicolon after closing a block.  In the new implementation ("AEL2"), it
is not required but is allowed for backward compatibility with dialplans
written for the earlier parser.

- Brad

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to