Newbie guide to block area codes in USA?

<< < (2/2)

drgeoff:
Quote from: MesaSpring on October 03, 2020, 06:41:53 am

So as an example.  Lets say I wanted to block all USA calls from a made up number like 305-274-XXXX or something like 923-245-XXXX

I'm assuming you have to put x as wildcards?  Otherwise you have to put each individual number manually in?  Don't know if the digitmap can handle blocking wildcards so I'm just going to use x since I only seen real number examples.

I would make a blacklist digit map called blk.  Then put something like, '(01305274xxxx|01923245xxxx)'?  Not sure if 01 is required I know the USA code is 1 so it could be,  '(1305274xxxx|1923245xxxx)' for a made up number like 305-274-2345?  or maybe you don't need that at all and it's '(305274xxxx|923245xxxx)'

Then I would need to put something in InboundCallRoute like this.
{(Mblk):sp1(53669)},{aa}

So it checks the blk list first and then routes it to 53669 if not it goes through to the phone?  I'm not entirely sure what the lenny number is or where I can define that.  I know the lenny service is an automated service, but unsure.  I believe the USA one is (347) 514-7296.  So maybe it should be like this instead?

{(Mblk):sp1(3475147296)},{aa}  Not entirely sure if the USA code of 1 is required, otherwise it would be, {(Mblk):sp1(13475147296)},{aa}


Close but no cigar!

Yes, a lower case 'x' will match any digit 0 through 9.

The leading '0' in my case is because that's the first digit of UK numbers.  (Service numbers start with a '1' eg 100 is the operator, 1471 reads out the number and time of the last caller.)  GV sends the CallerID of NANPA numbers as +1 followed by 10 digits.

I'm not sure if Lenny is still working.  You can simply dump blocked calls with {(Mblk):}

Unless you want all unblocked calls to be handled by the OBi's Auto Attendant you should direct them to the phone port.

All that would result in:

User Defined Digit Map blk as (+1305274xxxx|+1923245xxxx)
X_InboundCallRoute as {(Mblk):},ph

Navigation

[0] Message Index

[*] Previous page