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

Marcelo Ellmann Clemente ellmann at freeddom.com
Tue Aug 9 07:37:41 CDT 2011


You could be a little more specific about your question but...

http://www.voip-info.org/wiki/view/Asterisk+func+regex

Just use the regex function. Any number which matches 00* || 1* goes to invalid/block/whatever extension.


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




----- Original Message -----
From: "salaheddine elharit" <salah.elharit200 at gmail.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Tuesday, 9 August, 2011 9:16:19 AM
Subject: [asterisk-users] block all numbers begin by 00 and 1




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 

thanks and regards 


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