[Asterisk-Users] AEL2 and CID

Julian Lyndon-Smith asterisk at dotr.com
Wed May 31 12:21:04 MST 2006


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





More information about the asterisk-users mailing list