> -----Original Message----- > From: Douglas Garstang > Sent: Wednesday, December 20, 2006 10:54 AM > To: 'Asterisk Users Mailing List - Non-Commercial Discussion' > Subject: RE: [asterisk-users] Match a Numer - then continue with > dialplan > > > > -----Original Message----- > > From: Eric "ManxPower" Wieling [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, December 20, 2006 10:17 AM > > To: Asterisk Users Mailing List - Non-Commercial Discussion > > Subject: Re: [asterisk-users] Match a Numer - then continue with > > dialplan > > > > > > Douglas Garstang wrote: > > > Anyone know if there's a way to match a dialplan extension, > > execute some code, say set a variable, and then continue with > > the dialplan? > > > > > > I want to set a variable when the dialplan flows beyond a > > certain context. This would be a great feature. > > > > Match dialed digits of "668" > > > > exten => 669,1,Set(FNORD=bob) > > exten => 669,2,AGI(eris.pm) > > exten => 669,3,More Stuff Here/ > > Ugh. 'More Stuff Here' isn't what I need Eric. I need to > continue the dialplan. I need do be able to continue to > search for extensions. All I want to do is set the callerid, > so that later on, when we find a match, the extension can be > dialled with the new caller id already set. > > This ain't gonna work... > > exten => 669,1,Set(FNORD=bob) > exten => 669,2,AGI(eris.pm) > exten => 669,3,include => blacklist > exten => 669,3,include => blacklist > exten => 669,3,include => blacklist > exten => 669,3,include => blacklist
Dang it. My fat fingers posted too soon by mistake. As I was trying to say, This obviously won't work... exten => 669,1,Set(FNORD=bob) exten => 669,2,AGI(eris.pm) exten => 669,3,include => blacklist exten => 669,4,include => whitelist exten => 669,5,include => PIC_Code_Insertion exten => 669,6,include => Rate_Center_Insertion exten => 669,7,include => Findme/Followme _______________________________________________ --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