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" <[email protected]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[email protected]> 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 -- _____________________________________________________________________ -- 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
