[asterisk-users] AEL2 and the variables

Dominique Dartois dom at dartois.org
Sun Oct 29 14:41:36 MST 2006


Hi,
I am using Asterisk 1.2.12.1 + the AEL2 patch.
If I use a variable instead of the extension itself, an incoming call cannot
be connected.
${ID-FST1} => Dial(SIP/gs|15|r);   <====== NON ok
sip debug shows :
     Looking for 6674262730 in interne (domain 192.168.1.14)
     SIP/2.0 404 Not Found
Is it a bug or am I doing something wrong?

Thank you.

//===============================
// extensions.ael2
globals {
    ID-FST1=6674262730;
    GS=SIP/gs;
}

context entrant {
//    6674262730 => Dial(SIP/gs,15,r);  <====== OK
    ${ID-FST1} => Dial(SIP/gs|15|r);   <====== NON ok
}

context interne {
    includes {
        entrant;
    }
}

-----
Dominique Dartois



More information about the asterisk-users mailing list