Ah, makes sense! Thanks!
On Fri, Mar 25, 2011 at 2:09 PM, Danny Nicholas <[email protected]> wrote: > One extra line to change “blacklist” to “whitelist” > > Exten => _X,1,noop(everybody but 103 dials) > > Exten => _X./100,n,Dial(DAHDI/1,w,5551212) > > Exten => _X./101,n,Dial(DAHDI/1,w,5551212) > > Exten => _X.,n,hangup > > > > > ------------------------------ > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Peter den Hartog > *Sent:* Friday, March 25, 2011 3:15 AM > > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* Re: [asterisk-users] Filtering on from caller id > > > > That sounds good but, i would like it the other way arround. I have over 90 > extensions that are NOT allowed to use the trunk, and 2 that are.. So > blacklisting everything will take for ever ;D. > > On Thu, Mar 24, 2011 at 10:01 PM, Danny Nicholas <[email protected]> > wrote: > > Just use “Ex-girlfriend” logic on your dial command to zap 103 when he > tries to use the trunk. For each dial command in your dialplan that > addresses the trunk (let’s call it DAHDI/1 for brevity), duplicate the line > like this: > > Existing: > > Exten => _X.,1,Dial(DAHDI/1,w,5551212) > > New: > > Exten => _X,1,noop(everybody but 103 dials) > > Exten => _X./103,n,hangup > > Exten => _X.,n,Dial(DAHDI/1,w,5551212) > > > ------------------------------ > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Peter den Hartog > *Sent:* Thursday, March 24, 2011 3:45 PM > > > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > > *Subject:* Re: [asterisk-users] Filtering on from caller id > > > > Hmm are those extensions then still able to call each other? > > > > I'll put it more clear, > > > > I have: > > 100, 101, & 103. > > A Trunk. > > > > 100 & 101 are allowed to call over the trunk. but 103, is only allowed to > call with 100 & 101, of course 100 & 101 should still be able to call 103. > > > > On Thu, Mar 24, 2011 at 5:14 PM, A J Stiles <[email protected]> > wrote: > > On Thursday 24 Mar 2011, Peter den Hartog wrote: > > > I would like to use the from caller id, to allow calls yes or no. > > 101, and 111 should be allowed to use the Trunk, the rest of the phones > are > > not. > > > > Is this even possible? > > So if the from caller id is 101 or 111, then allow the call, otherwise > > hangup. > > Would it not be simpler just to put those extensions into a separate > context, > which allows trunk calls? > > -- > AJS > > Answers come *after* questions. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
