Blocking Telemarketers with an OBi ATA


No one likes telemarketers, but if you have an OBi ATA, you can easily blacklist them based on their Caller ID.  For this we'll use the ATA's excellent User Defined Digit Maps feature.

User Settings >> User Defined Digit Maps:
(Choose any unused Digit Map and add as many numbers as you like.)
Label: Telemarketers
DigitMap: (2064560661|9052811282|8888001250)

The following may be set as the InboundCallRoute of any Service Provider, or the LINE port on the OBi110.
InboundCallRoute: {(MTelemarketers):},{ph}

Should you also wish to block anonymous callers, use:
InboundCallRoute: {(MTelemarketers)|?:},{ph}

If someone calls and their Caller ID matches a number in the Telemarketers DigitMap, the OBi will act as if you were already on a call, and your phone will not ring.

If you have access to an Asterisk server or you're a customer of a VoIP provider that has a recordings feature, you can play a message instead of simply blocking the call.  This example assumes 12345 is an extension on sp1 that will play an appropriate message, such as Never Gonna Give You Up by Rick Astley.
InboundCallRoute: {(MTelemarketers):sp1(12345)},{ph}

This feature of OBi ATAs is one of our favourites.  Even better: if you don't route your calls via an OBi110 ATA or use its VoIP features, it can still be used as a very effective, configurable telemarketer blacklist for a POTS line.  Simply plug it in to any extension and it will answer calls from any blacklisted number after the first ring.
 
  1. Greg
    September 10th, 2015 at 12:52 | #1

    This works great but you only have 10 entry's that are available after that it's no good. I have a OBI 200, I'm still looking for the "InboundCallRoute" setting but can't seem to find it
     

  2. September 10th, 2015 at 15:58 | #2

    Actually the DigitMap is limited to 511 characters, which allows you to block about 46 numbers multiplied by 10 DigitMaps.

    X_InboundCallRoute is located in Physical Interfaces >> LINE Port and each SPx Service.
     

  3. Anonymous
    May 16th, 2016 at 17:02 | #3

    Here's a guide for how to use the digit maps:
    http://www.obihai.com/docs/OBi-DigitMapCallRoute-Tutorial-v1-1.pdf

    One should be able to combine numbers that share the same area code and get even more than 46/entry. I had several calls coming from 361-555-xxxx and I found OBi uses x as a wild card, so one of my rules has xxx555xxxx to block all 555 numbers from any area code.
     

If you would like a reply to your comment, you must leave your email address! We receive dozens of questions every month from people who don't leave us with any way to contact them, so we have no choice but to ignore the question. We try to reply to as many questions as we can, if we know the email address of the person who asked the question. Thanks in advance for writing in :)

Allowed HTML: <b>, <i>, <em>, <strong>. All other < and > will be replaced with &lt; and &gt;.