News:

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

Main Menu

Blocking a number via ObiTalk

Started by jeeva, September 28, 2015, 09:16:48 PM

Previous topic - Next topic

jeeva

I've spent hours trying to block a number. Configuring the Obi100 is such a mess. For one, I realized that configuring anything via the ip address won't make the changes effective because of the obitalk expert configuration settings.

Here's what I did:

X_InboundCallRoute {(x.1234567890):},{ph}

The problem is, when calls come from 1234567890, they just get re-directed to the voicemail. I'm using freephoneline as my provider.

How could I ban that number so that it doesn't go to voicemail either. Could I instead place a call forward rule for calls from that number only? That way, I could forward it to a dummy number.

azrobert

#1
Quote from: jeeva on September 28, 2015, 09:16:48 PM
I've spent hours trying to block a number. Configuring the Obi100 is such a mess. For one, I realized that configuring anything via the ip address won't make the changes effective because of the obitalk expert configuration settings.

You can only use one method, local interface or OBiTalk to configure your OBi.
If you use the local interface to configure your OBi you must disable OBiTalk auto provisioning, otherwise OBiTalk will overlay any changes you make.

System Management -> Auto Provisioning
Under OBiTalk Provisioning
Method: Disabled

Assuming FPL is defined on SP1, try the following:
{(1?1234567890):sp1(13475147296@in.callcentric.com;ui=8005551234)},{ph}

In the past 13475147296 at Callcentric was Lenny. I just tried it and received message "Number you dialed has been disconnected", which is just as good. If you want to know who Lenny is, do a search for "voip lenny". You need to provide a callerid. I used 8005551234. I also gave you a different way to test for 10 or 11 digit callerids.  

Edit:
I found another address for Lenny:
{(1?1234567890):sp1(2233435945@sip2sip.info)},{ph}

jeeva

Quote from: azrobert on September 28, 2015, 10:15:51 PM
Quote from: jeeva on September 28, 2015, 09:16:48 PM
I've spent hours trying to block a number. Configuring the Obi100 is such a mess. For one, I realized that configuring anything via the ip address won't make the changes effective because of the obitalk expert configuration settings.

You can only use one method, local interface or OBiTalk to configure your OBi.
If you use the local interface to configure your OBi you must disable OBiTalk auto provisioning, otherwise OBiTalk will overlay any changes you make.

System Management -> Auto Provisioning
Under OBiTalk Provisioning
Method: Disabled

Assuming FPL is defined on SP1, try the following:
{(1?1234567890):sp1(13475147296@in.callcentric.com;ui=8005551234)},{ph}

In the past 13475147296 at Callcentric was Lenny. I just tried it and received message "Number you dialed has been disconnected", which is just as good. If you want to know who Lenny is, do a search for "voip lenny". You need to provide a callerid. I used 8005551234. I also gave you a different way to test for 10 or 11 digit callerids.  

Edit:
I found another address for Lenny:
{(1?1234567890):sp1(2233435945@sip2sip.info)},{ph}


Awesome! Worked like a charm, but I rather have it forward to a dummy number that just keeps ringing or gets the busy tone. Any numbers to that?

jeeva

If I wanted to add mulitple numbers to block, what is the syntax?

azrobert

#4
Quote from: jeeva on September 29, 2015, 01:51:23 PM
I rather have it forward to a dummy number that just keeps ringing or gets the busy tone.
These won't work. The call must be answered, otherwise your voicemail will pickup.

The numbers are separated with a vertical bar like this:
{(1?1234567890|1?0987654321|1?6543210987):sp1(2233435945@sip2sip.info)},{ph}

I forgot something. Each SP trunk defaults to a max of 2 sessions. When you re-route an inbound call out the same SP trunk, you are using the max 2 sessions. If another call arrives while this rejection process is in progress the new call will be rejected. You need to increase the Max Sessions to prevent this.

Voice Service -> SP1 Service -> MaxSessions: 4

jeeva

Quote from: azrobert on September 29, 2015, 02:52:41 PM
Quote from: jeeva on September 29, 2015, 01:51:23 PM
I rather have it forward to a dummy number that just keeps ringing or gets the busy tone.
These won't work. The call must be answered, otherwise your voicemail will pickup.

The numbers are separated with a vertical bar like this:
{(1?1234567890|1?0987654321|1?6543210987):sp1(2233435945@sip2sip.info)},{ph}

I forgot something. Each SP trunk defaults to a max of 2 sessions. When you re-route an inbound call out the same SP trunk, you are using the max 2 sessions. If another call arrives while this rejection process is in progress the new call will be rejected. You need to increase the Max Sessions to prevent this.

Voice Service -> SP1 Service -> MaxSessions: 4


Thanks so much!

curt00

I prefer to use ObiTalk.com.  I currently have the following in the X_InboundCallRoute field:

{('curt00'):aa},{ph1}

Should replace that with the following?:

{(1?1234567890|1?0987654321|1?6543210987):sp1(2233435945@sip2sip.info)},{ph}

or the following?:

{('curt00'):aa},{ph1}{(1?1234567890|1?0987654321|1?6543210987):sp1(2233435945@sip2sip.info)},{ph}


Also, I'm having problems entering data in ObiTalk.com and the local interface.

For ObiTalk.com:

It shows that I'm signed in.  I'm able to enter the cursor into the field, but nothing happens when I type.  How do I type in data?

For the local interface:

On the User Defined Digit Map page, the entry fields are greyed out.  I cannot enter the cursor nor type anything into the fields.  How do I enter into these fields?

There is a User Login button.  When I click on that, it prompts me to login, but what username and password am I supposed to use?  It does not accept "admin"/"admin" nor my ObiTalk.com username/password.

ianobi

QuoteFor ObiTalk.com:

It shows that I'm signed in.  I'm able to enter the cursor into the field, but nothing happens when I type.  How do I type in data?

Make changes via the OBi Expert Configuration pages. From your OBi Dashboard, click on your OBi number and follow the prompts to get there. To change a value uncheck both boxes to the right of the value and leave them unchecked. After changing the values on one page, press submit at the bottom of the page and wait a few minutes for the OBi to reboot. Then move on to another page if required.

curt00

Quote from: ianobi on November 11, 2015, 07:59:12 AM
QuoteFor ObiTalk.com:

It shows that I'm signed in.  I'm able to enter the cursor into the field, but nothing happens when I type.  How do I type in data?

Make changes via the OBi Expert Configuration pages. From your OBi Dashboard, click on your OBi number and follow the prompts to get there. To change a value uncheck both boxes to the right of the value and leave them unchecked. After changing the values on one page, press submit at the bottom of the page and wait a few minutes for the OBi to reboot. Then move on to another page if required.

On the OBiTALK / OBI Expert / Voice Service / SP1 Service page, the column headings for these two boxes to the right of the field, are "Device Default" and "OBiTALK Settings".  The "Device Default" box was already unchecked.  I unchecked the "OBiTALK Settings" box.  I still cannot type anything into the field.  I'm using Firefox.  Does this make a difference?

drgeoff

When you untick the OBiTALK Settings box the Device Default box will change from unticked to ticked.  You then need to untick that one so that both are unticked.  You will then be able to select a drop down choice or type in as appropriate.

curt00

Quote from: drgeoff on November 11, 2015, 10:03:16 AM
When you untick the OBiTALK Settings box the Device Default box will change from unticked to ticked.  You then need to untick that one so that both are unticked.  You will then be able to select a drop down choice or type in as appropriate.

When I uncheck the OBiTALK Settings box, the Device Default does not change from unchecked to checked.  Both are unchecked, but no drop-down appears nor can I type anything into that field.

I just tried with Google Chrome instead of Firefox.  Now, it does what you wrote, except that no drop-down appears.  Instead, {('curt00'):aa},{ph2} changes to ph,ph2.  I'm trying to block a caller with call ID of 1011.  Should I change ph,ph2 to the following?:

{('curt00'):aa},{ph1}{(1?1011):sp1(2233435945@sip2sip.info)},{ph}

or the following?:

ph,ph2,{ph1}{(1?1011):sp1(2233435945@sip2sip.info)},{ph}

drgeoff

1. A field will be either drop downs or text entry, never both.

2. If your goal is to block sip scanners see http://www.obitalk.com/forum/index.php?topic=5467.msg35387#msg35387.  Method 2 plus method is usually recommended.

curt00

Quote from: drgeoff on November 11, 2015, 03:26:20 PM
1. A field will be either drop downs or text entry, never both.

2. If your goal is to block sip scanners see http://www.obitalk.com/forum/index.php?topic=5467.msg35387#msg35387.  Method 2 plus method is usually recommended.

Did you mean to write "Method 2 plus method 4 is usually recommended."?

What about the posting from user N2VWZ?:

Quote from: N2VWZ on April 27, 2015, 12:58:01 PM
The latest firmware has a new parameter in the SP1. . .SPx menu:

X_AcceptSipFromRegistrarOnly

Checking the box seems to effective against Sip Scanners.  This method should be added to the main list on page 1.

I can enable X_AcceptSipFromRegistrarOnly on my OBiTALK.  If I do this, can I disregard method 2 plus method 4?


drgeoff

Yes, that is what I meant.  Apologies for the missing '4'.

None are mutually exclusive. You can have all 3 if you want.