OBiTALK Community

General Support => Day-to-Day Use => Topic started by: mylesm on November 19, 2014, 07:29:08 AM

Title: Divert to Voicemail
Post by: mylesm on November 19, 2014, 07:29:08 AM
I am a new user of an OBI100 and have been setting it up over the last few days

I now have it setup to divert telemarket numbers to my voip extension 300 which is a laughing monkeys tape

this is done by X_InboundCallRoute= {(MBlockSpam):sp1(300)},{ph}

and BlockSpam is user defined Digit Map and contains the numbers I want to Block and also makes it easy to add new ones if needed I just add them to BlockSpam Digit Map

This is My BlockSpam Digit Map

(001[012345789][123456789][012356789]xx.|087685522)

I would like to divert private or unknown or anon numbers to another number which would be a voicemail telling the caller we dont want private numbers but if needed leave a message

the number i want to divert to is 766709817

can anyone please help how to do this

thanks
mylesm
Title: Re: Divert to Voicemail
Post by: azrobert on November 19, 2014, 10:29:24 AM
X_InboundCallRoute:
{(MBlockSpam):sp1(300)},{(?):sp1(766709817)},{ph}
Title: Re: Divert to Voicemail
Post by: mylesm on November 19, 2014, 11:45:46 AM
Quote from: azrobert on November 19, 2014, 10:29:24 AM
X_InboundCallRoute:
{(MBlockSpam):sp1(300)},{(?):sp1(766709817)},{ph}


Thank You works perfect

mylesm
Title: Re: Divert to Voicemail
Post by: mylesm on December 01, 2014, 06:12:02 AM
Quote from: mylesm on November 19, 2014, 11:45:46 AM
Quote from: azrobert on November 19, 2014, 10:29:24 AM
X_InboundCallRoute:
{(MBlockSpam):sp1(300)},{(?):sp1(766709817)},{ph}


Thank You works perfect

mylesm

Thanks again that diverts to voicemail perfect but some numbers are still getting through

my inbound route is

{(MBlockSpam):sp1(300)},{(?):sp1(353766709817)},{ph}

This as you know sends numbers that match MBlockspam to a funny recording at sp1 300 and it sends unknown numbers to the other number

My MBlockspam is

(001[012345789][123456789][012356789]xx.|087685522)

This is thanks to Paul UKVoip

I thought this would block all 001 numbers except 001604 as I want 001604 to get through

The last number is my mobile with one digit left off so I can test this by just adding my mobile last digit this works and if I add my mobile it blocks it fine

This morning I got yet another spam call from 0016077331419 and it got through and my phone rang early in the morning

I was hoping the MBlockspam would block all 001 except 001604

I also got another spam call from 16169639791 can I block all 161 numbers

Hopefully you can see why this got through

Thanks Again
Mylesm
Title: Re: Divert to Voicemail
Post by: azrobert on December 01, 2014, 06:57:00 AM
Inbound route:

{(001604xx.):ph},{(MBlockSpam):sp1(300)},{(?):sp1(353766709817)},{ph}

MBlockspam:

(001xx.|087685522)

Your Blockspam will not block ANY number with a 4th digit of "6", 5th of zero or 6th of "4".

Title: Re: Divert to Voicemail
Post by: mylesm on December 01, 2014, 07:35:38 AM
Quote from: azrobert on December 01, 2014, 06:57:00 AM
Inbound route:

{(001604xx.):ph},{(MBlockSpam):sp1(300)},{(?):sp1(353766709817)},{ph}

MBlockspam:

(001xx.|087685522)

Your Blockspam will not block ANY number with a 4th digit of "6", 5th of zero or 6th of "4".

Thanks for this

Is there a way to test it or do I have to wait for the next 001 number to come also as you see i got a spam call from a 161 number can i block these as well

mylesm


Title: Re: Divert to Voicemail
Post by: azrobert on December 01, 2014, 07:57:08 AM
Do you have a Windows computer?
Download Phonerlite: http://phonerlite.de/download_en.htm
Click PhonerLiteSetup.exe
Take all the defaults.

Setup The softphone

Under Server Tab:
Proxy: 192.168.1.100:5060   (192.168.1.100 is the IP address of your OBi100)
Register: Unchecked

Under User Tab:
UserName: 0016077331419 (The callerid you want to test)

Click Save

Dial any number. Zero will do.
Click the green phone symbol to make the call.
Title: Re: Divert to Voicemail
Post by: mylesm on December 01, 2014, 08:03:35 AM
great thanks yes i have windows computer will try that

what about blocking 161xxxxxxxxxx

can i just add 161xx to my blockspam digitmap

Title: Re: Divert to Voicemail
Post by: mylesm on December 01, 2014, 08:18:15 AM
downloaded phone and tried to set it up as indicated

proxy 192.168.88.213:5060 thats my obi address

but i am getting register fail
Title: Re: Divert to Voicemail
Post by: azrobert on December 01, 2014, 08:21:25 AM
You didn't follow my instructions.
Uncheck Register under the Server Tab.

------------------------------------------

Add 161xx. to blockspam digitmap

Your current setup will block 00161xxxxxxxxxx
Title: Re: Divert to Voicemail
Post by: mylesm on December 01, 2014, 08:55:47 AM
Ok

I see what happened when i downloaded phone it runs wizard on first run and I entered info there then phone starts and registers

So I now have it entered I think correctly and register unchecked

what should happen when I try to call a number

thanks
Title: Re: Divert to Voicemail
Post by: mylesm on December 01, 2014, 09:03:37 AM
Thanks I think I got it now in the obi call history it shows the call coming in as 0016077331419 and being diverted to 300

thanks again

mylesm
Title: Re: Divert to Voicemail
Post by: azrobert on December 01, 2014, 09:06:31 AM
Quote from: mylesm on December 01, 2014, 08:55:47 AM
Ok
I see what happened when i downloaded phone it runs wizard on first run and I entered info there then phone starts and registers

My fault. I forgot it runs a wizard on new accounts.

The call will come into the OBi with the callerid you set.
If the call is not blocked your OBi phone will ring.
If it is blocked you will here the block message on your computer speakers.
You don't need a mic, but you might get an echo without it.
Title: Re: Divert to Voicemail
Post by: mylesm on December 01, 2014, 09:21:17 AM
thanks

When i use the 0016077331419 number its getting diverted

if i replace user name with 16169639791 the call is getting through

my block spam Digit map is
(001xx.|087685522|161xx)

and inbound call route
{(001604xx.):ph},{(MBlockSpam):sp1(300)},{(?):sp1(353766709817)},{ph}

any idea why the 161 number is going through

Title: Re: Divert to Voicemail
Post by: mylesm on December 01, 2014, 09:39:15 AM
sorry my fault left the . out of 161xx.

it works now

thanks again
Title: Re: Divert to Voicemail
Post by: WelshPaul on December 01, 2014, 10:32:27 AM
Quote from: mylesm on December 01, 2014, 06:12:02 AM

My MBlockspam is

(001[012345789][123456789][012356789]xx.|087685522)

This morning I got yet another spam call from 0016077331419 and it got through and my phone rang early in the morning


I assumed that by having 001[012345789][123456789][012356789]xx. only numbers starting with 001604 would be allowed through? As 0016077331419 starts with 001607 would this not be blocked?  ???

I think I may need to read up on dialplans  :'(
Title: Re: Divert to Voicemail
Post by: ianobi on December 01, 2014, 11:12:38 AM
The Digit Map Processor compares the number - 0016077331419 - with each rule in the InboundCallRoute starting with the first rule and then working from left to right looking for a match. Any User Defined DigitMap will be expanded into the InboundCallRoute. Therefore, the original InboundCallRoute looked like this:

{001[012345789][123456789][012356789]xx.},{087685522},{(?):sp1(353766709817)},{ph}

The first rule the DMP can match with 0016077331419 is "ph" so it rings the phone.


Title: Re: Divert to Voicemail
Post by: azrobert on December 01, 2014, 02:32:31 PM
Quote from: WelshPaul on December 01, 2014, 10:32:27 AM

I think I may need to read up on dialplans  :'(

[012345789][123456789][012356789]

[012345789] will not match ANY number with the 1st digit of "6" not just 604.
[123456789] will not match ANY number with 2nd digit of zero.
[012356789] will not match ANY number with 3rd digit of 4.
The above rule will not match and therefore not block the following numbers:
604
621
502
764
Title: Re: Divert to Voicemail
Post by: WelshPaul on December 02, 2014, 01:46:46 AM
Thanks for the replies guy's - I get it now  :)

What would be really handy if the dialplan strings were the same across the different manufacturers  :-\