> I have an Asterisk 1.4.2 system online and have built up quite a large 
> blacklist of tele-spammers that have been calling us.  Recently we 
> swapped one of our DID numbers to a SIP provider that now prefixes all 
> calls with +1xxxxxxxxxxxx in front of US numbers (we're in the USA) and 
> I need to edit my blacklist database so that all numbers in there that 
> don't have the +1 prefix in front of them, now have a version of it that 
> can match to these new prefixes.

Just remove the +1:

exten => xxx/_+1.,1,Set(CALLERID(num)=${CALLERID(num):2})

Where xxx is the relevant extension.

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

Reply via email to