> -----Original Message----- > From: Benny Amorsen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 20, 2006 6:16 AM > To: asterisk-users@lists.digium.com > Subject: [asterisk-users] Re: Match a Numer - then continue with > dialplan > > > >>>>> "DG" == Douglas Garstang <[EMAIL PROTECTED]> writes: > > DG> So, in the event that the logic flows beyond > DG> coo1_OnNet, we want to reset the caller id of say, 3254001 <Doug>, > DG> to 3254000 <Widgets Inc>. > > DG> exten => 3254101,1,Dial(SIP/3254101,20,tr) > DG> exten => 3254102,1,Dial(SIP/3254102,20,tr) > DG> exten => 3254103,1,Dial(SIP/3254103,20,tr) > > > > [coo1_CallStart] > include => coo1_OnNet > > You want something which executes here, if coo1_OnNet didn't match? > > exten => _.,1,Set(CALLERID(all)=Widgets Inc <3254001>) > > will do that. > > > If you then want to continue in priority 1 instead of 2, you just do > > exten => _.,n,Goto(coo1_CallStart2,${EXTEN},1) > > [coo1_CallStart2] > include => syst_OnNet > include => syst_OffNet
That won't do it. Processing will continue in the current extension priority. I need it to continue looking for an extension to match against. Once Asterisk has matched the dialled number against an extension in the dialplan, your stuck in an extension.... you can never get out and get Asterisk to go back to looking for extensions to match against. _______________________________________________ --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