[asterisk-users] block all numbers begin by 00 and 1

Marcelo Ellmann Clemente ellmann at freeddom.com
Tue Aug 9 11:39:05 CDT 2011


That would work as well! :)

--- 
Marcelo Ellmann 
Freeddom Tecnologia e Serviços S/A
+55 11 52133200 Ramal 1016




----- Original Message -----
From: "A J Stiles" <asterisk_list at earthshod.co.uk>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Tuesday, 9 August, 2011 12:21:09 PM
Subject: Re: [asterisk-users] block all numbers begin by 00 and 1

On Tuesday 09 Aug 2011, salaheddine elharit wrote:
> hello
>
> i want to know how to do in order to block all numbers bgin by 00 and all
> numebrs begin by 1
>
> i use sip account

All you have to do is, just make sure that there is no extension in the 
default context which matches _00. or _1. -- or, if there is one, it contains 
something other than Dial(${EXTEN}) .....  

-- 
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



More information about the asterisk-users mailing list