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}