Problem with entensions.ael

Hi,

my extensions.ael looks like:

globals {
        CONSOLE="Console/dsp";
        TRUNK="Zap/g1";
        TRUNK2="Zap/g2";
        TRUNKMSD=1;
};

context test {
        _8X =>Dial(${TRUNK2}.${EXTEN:${TRUNKMSD}});
        _9X =>Dial(${TRUNK}.${EXTEN:${TRUNKMSD}});
};

part of sip.conf

[test]
type=friend
host=dynamic
secret=test
dtmfmode=rfc2833
canreinvite=yes
nat=yes
qualify=yes
context=test

when i try make call its not work… i think that it is some problem with context cause dont have any message about error… X-Lite gives Call Failed: Not Found.

When i use not ael just .conf file its works well with this settings…

Any idea?

Greetings

ANSWER:

context test {
_8X. =>Dial(${TRUNK2}/ ${EXTEN:${TRUNKMSD}});
_9X. =>Dial(${TRUNK}/ ${EXTEN:${TRUNKMSD}});
};