# Asterisk Project : AEL Includes

Added by mdavenport , edited by mdavenport on Aug 31, 2010

Contexts can be included in other contexts. All included contexts are listed within a single block.

    context default {
        includes {
            local;
            longdistance;
            international;
        }
    }

Time-limited inclusions can be specified, as in extensions.conf format, with the fields described in the wiki page Asterisk cmd GotoIfTime.

    context default {
        includes {
            local;
            longdistance|16:00-23:59|mon-fri||;
            international;
        }
    }