OBiTALK Community

General Support => Day-to-Day Use => Topic started by: gmvolk on August 10, 2011, 05:17:20 PM

Title: Inbound call route on line
Post by: gmvolk on August 10, 2011, 05:17:20 PM
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
Title: Re: Inbound call route on line
Post by: RonR on August 10, 2011, 05:42:57 PM
Try this instead:

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

You're also blocking anonymous callers.
Title: Re: Inbound call route on line
Post by: gmvolk on August 10, 2011, 07:01:09 PM
Thanks I'll give it a try.  Yes, I also want to block anonymous calls.
Title: Re: Inbound call route on line
Post by: 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?

Thanks
Title: Re: Inbound call route on line
Post by: RonR on August 10, 2011, 07:25:00 PM
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.
Title: Re: Inbound call route on line
Post by: gmvolk on August 10, 2011, 08:06:50 PM
It looks to work.  I added my area code, dialed from my cell and it did not go through.

Thanks