[asterisk-users] Match a Numer - then continue with dialplan

Douglas Garstang dgarstang at oneeighty.com
Wed Dec 20 10:53:46 MST 2006


> -----Original Message-----
> From: Eric "ManxPower" Wieling [mailto:eric at fnords.org]
> 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


More information about the asterisk-users mailing list