[asterisk-users] Troubles with AEL

Benoit maverick at maverick.eu.org
Wed Dec 31 05:41:42 CST 2008


Hi,

I'm migrating some macro from extension.conf format to AEL and they are
some things
i don't understand, and some i don't evan know how to get them working.

Example:
    Doing this "queueMemberList=${QUEUE_MEMBER_LIST(queue)};"  won't
make any warning
        message, however the resulting variable value won't be the
expected one (a string) but some kind of number

    However this work: Set(queueMemberList=${QUEUE_MEMBER_LIST(${queue})});
       Is there a reason ? i have the same comportement with CUT()

Also, there is this construct which isn't working:
            if( ${DB_EXISTS(family/key)} ) {
            } else {
            }

However i can't find a workaround in this case ... any idea ?




More information about the asterisk-users mailing list