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
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@dotr.com] > Sent: Wednesday, May 31, 2006 1:21 PM > To: asterisk-users@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 >
> From: Douglas Garstang <dgarstang@oneeighty.com> > 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@dotr.com] > > Sent: Wednesday, May 31, 2006 1:21 PM > > To: asterisk-users@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 > >Douglas!! Now, now!! That is not the proper attitude!! ;^) AEL is still in the formation, we'll look to see if this little problem can be remedied. murf