[Asterisk-Users] AEL2 and CID

Douglas Garstang dgarstang at oneeighty.com
Wed May 31 14:46:11 MST 2006


Yikes! I'm glad I didn't take the plunge into AEL2. Get #include functionality, but lose cid in the dialplan. Hmmm.

> -----Original Message-----
> From: Julian Lyndon-Smith [mailto:asterisk at dotr.com]
> Sent: Wednesday, May 31, 2006 1:21 PM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] AEL2 and CID
> 
> 
> 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
> 



More information about the asterisk-users mailing list