OBiTALK Community

General Support => Day-to-Day Use => Topic started by: DirtAddsHP on July 28, 2012, 10:44:21 AM

Title: Blocking certain outgoing calls
Post by: DirtAddsHP on July 28, 2012, 10:44:21 AM
Hello,

I have found guides on how to block incoming calls by phone number, but how would i block certain numbers from being called out?

Would i use the Digit Map and OutboundCallRoute?

thanks

EDIT: forgot to list that i have a Obi110
Title: Re: Blocking certain outgoing calls
Post by: jimates on July 28, 2012, 02:49:09 PM
See if you find anything in this short discussion that will help.
http://www.obitalk.com/forum/index.php?topic=3682.0

If you want to block specific numbers, just replace my example for area codes with those specific numbers.
Title: Re: Blocking certain outgoing calls
Post by: DirtAddsHP on July 31, 2012, 05:47:02 AM
Ah great well i tried what you post and also the correction. If i make a call it sets my OutboundCallRoute back to defaults.. like the settings will not stay the way i set them.

any ideas? I log in as admin when going to my Obi box by its IP address, but if i try to log in "User Login" in the upper right corner i cannot authenticate.
Title: Re: Blocking certain outgoing calls
Post by: jimates on July 31, 2012, 05:57:41 AM
If you are managing your device directly (using the ip address of your obi) you must disable auto provisioning or your changes will not stay. They will be over written by the Obitalk portal every time.

System Management -> Auto Provisioning -> ITSP Provisioning = disabled
Title: Re: Blocking certain outgoing calls
Post by: DirtAddsHP on July 31, 2012, 06:12:42 AM
Hmm seems i had to disable in two places

ITSP Provisioning

and

OBiTalk Provisioning

Though it seems the digitmap is not taking effect. i can still call out to the 3 phone numbers i listed in OutboundCallRoute

but now the settings are holding.... did i miss something?
Title: Re: Blocking certain outgoing calls
Post by: jimates on July 31, 2012, 06:53:26 AM
Adding a rule with a specific number to the front of the PHONE outboundcallroute should work.

Example:
{(18002464411|18005551212):},
added to the front of the call route will return the "there is no service ......" when dialing any of those 2 numbers.
It works for me.

I just added it to my OCR and tested it. This is my OCR

{(18002464411|18005551212):},{(Mabc):},{([1-9]x?*(Mpli)):pp},{(<#:>):ph2},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**3:>(Msp3)):sp3},{(<**4:>(Msp4)):sp4},{(<**9:>(Mpp)):pp},{(Mpli):pli}
Title: Re: Blocking certain outgoing calls
Post by: DirtAddsHP on July 31, 2012, 07:14:39 AM
oh... i thought i just make a new "User defined digit map" in User Settings. And then use {(Mabc):}, abc being the name given to the digit map.. i didnt know you need to put the phone number in the outboundcallroute only the {(Mabc):}, entry...
Title: Re: Blocking certain outgoing calls
Post by: jimates on July 31, 2012, 08:25:17 AM
You can do it either way.

If you want to use the user defined digit map then make a digit map labeled "abc" and put the numbers in it in this format
(12345678901|12345678902|12345678903)

Then add this to the front of the PHONE outboundcallroute
{(Mabc):},

works the same either way. I just tested it with the digit map.
You can add numbers to the blocked list anytime you want using the separator bar between numbers
Title: Re: Blocking certain outgoing calls
Post by: DirtAddsHP on July 31, 2012, 12:23:00 PM
okay i had to put a 1 in front of the numbers.

If i put the ,{(Mabc):}, in front of the string then NO CALLS go though.

if i put it at the end then ALL CALLS go though... how very annoying.

what am i missing?

{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli},{(Minsertdigitmapnamehere):},
Title: Re: Blocking certain outgoing calls
Post by: DirtAddsHP on July 31, 2012, 12:46:23 PM
OKAY i think i got it....

i needed the 1 in front of the number, AND needed {(18002464411|18005551212):},{(Mabc):}

could not have one of the other.. needed both.

Obi really needs to make a more simple way of going this.. theres too many variables they do not mention in the manual and makes people like me waste hours trying to find the right combo.

thank you very much jimates!!! I couldnt have done it without you.
Title: Re: Blocking certain outgoing calls
Post by: jimates on July 31, 2012, 03:28:35 PM
if you have both it is redundant. One or the other should work. The number has to be entered exactly as the Obi dials it, not as you enter it on the phone. The normal configuration of the Obi dials 1 + 10 digits.
Title: Re: Blocking certain outgoing calls
Post by: Holland on July 03, 2022, 07:47:41 PM
Old post I know but does anyone have a step by step guide on this or a link to one?

I'm just about to pull my hair out on this one.
Title: Re: Blocking certain outgoing calls
Post by: drgeoff on July 04, 2022, 02:33:24 AM
Quote from: Holland on July 03, 2022, 07:47:41 PMOld post I know but does anyone have a step by step guide on this or a link to one?

I'm just about to pull my hair out on this one.
1.  Use one of the User Defined Digit Maps.  Enter the numbers you want to block.  Can use wildcards to block complete ranges.  Separate with | character.  Numbers should be as they will be dialled on the phone.

eg Label 'bar' without the quotes and containing (1234567890|212333xxxx|4216661234)

2.  Insert

!(Mbar)|

immediately after the opening ( of the Phone Port DigitMap.  Change Mbar to match whatever label you used in the first step.

The leading ! is explained on page 198 of the Admin Guide. https://www.obitalk.com/info/documents/admin_guide/OBiDeviceAdminGuide.pdf

Later edit.  If you want to block just one outgoing number you don't need the User Defined Digit Map.  Just insert the ! followed by the number followed by the | separator immediately after the opening  ( of the Phone Port DigitMap.

eg (!4216661234|[1-9]x?*(Mpli)|[1-9]S9|........
Title: Re: Blocking certain outgoing calls
Post by: Holland on July 06, 2022, 09:37:55 AM
THANK YOU!!!