News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

Inbound call route on line

Started by gmvolk, August 10, 2011, 05:17:20 PM

Previous topic - Next topic

gmvolk

Trying to block some numbers from ringing on the normal phone line.  I added the following to the inbound call route {!x.1859xx. | !x.1210xx. | !x.1800xx. | !x.1614xx. | !x.1877xx. | !x.1407xx. | !x.1605xx. | ?:},{ph}.  According to the admin guide, this should block all 1-859, 1-210, etc numbers from ringing.  It does not do so.  I even added my area code, !x.1520xx. to the list and a call from my cell still went thru.  Tried doing ***9 reboot even.  Any suggestions.

Thanks

RonR

Try this instead:

{(1?859xx.|1?210xx.|1?800xx.|1?614xx.|1?877xx.|1?407xx.|1?605xx.)|?:},{ph}

You're also blocking anonymous callers.

gmvolk

Thanks I'll give it a try.  Yes, I also want to block anonymous calls.

gmvolk

By the way, I copied the example from the admin manual.  Why is what your showing so different?

Thanks

RonR

Quote from: gmvolk on August 10, 2011, 07:02:38 PM
By the way, I copied the example from the admin manual.  Why is what your showing so different?

The only example I can find in the OBi Device Administration Guide that remotely resembles your rule is:

{1800xx.|1888xx.|?:}

This rule is syntactically incorrect and won't work because 1800xx.|1888xx. are DigitMap pattern matching expressions and must be enclosed in parenthesis: (1800xx.|1888xx.).  The manual is in error.  The correct/working rule should be:

{(1800xx.|1888xx.)|?:}

The rule I proposed: {(1?859xx.|1?210xx.|1?800xx.|1?614xx.|1?877xx.|1?407xx.|1?605xx.)|?:},{ph}

works as follows:

1?859xx.  matches a number with an area code of 859 with or without with a leading 1.

The collection of 7 pattern matches is enclosed in parenthesis.

The standalone ? outside of the parenthesis matches anonymous calls.

The result:

If the incoming CallerID matches any of 7 patterns OR is anonymous, the call is routed to the bit-bucket.

gmvolk

It looks to work.  I added my area code, dialed from my cell and it did not go through.

Thanks