Does anyone know how to get CID working in AEL2 ?

In extensions.conf you can do:

exten => 111/666,1,PlayBack(demo-congrats)
exten => 111/666,2,Hangup()

exten => 111,1,PlayBack(demo-moreinfo)
exten => 111,2,Hangup()

and if callerid 666 dialed 111, they would get demo-congrats, everyone else gets demo-moreinfo.

In AEL:

 111 => {
                Playback(demo-moreinfo);
                Hangup();
        };

 111/666 => {
                Playback(demo-congrats);
                Hangup();
        };

does not work. It always plays demo-moreinfo.

I cannot find and docs on how to do this.

Anyone got any idea ?

Many thanks.

Julian


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to