Re: [Astlinux-users] how to block all inbound calls and pass only calls from switzerland..

2016-01-21 Thread James Babiak
Nedi, Here is an example I use as my catchall for people scanning for open PBX's to make fraudulent calls: ; Don't accept any calls not identified above exten => _X.,1,Progress() exten => _X.,n,Gosub(check-cid,s,1) exten => _X.,n,Set(CDR(userfield)=${EXTEN}) exten => _X.,n,Notify(${CALLERID(num)}|

Re: [Astlinux-users] how to block all inbound calls and pass only calls from switzerland..

2016-01-20 Thread David Kerr
For US 800/tollfree there is another issue you have to be alert to and that is calls from public pay phones. Albeit they are a dying breed, if you do accept a call at your 800 number from a payphone you will likely be charged an additional fee that goes to the payphone owner. The supplier of my 8

Re: [Astlinux-users] how to block all inbound calls and pass only calls from switzerland..

2016-01-20 Thread nedi
Thanks all, James, how do you think to make this with session progress play a rejection Message so I don't get billed on the blacklisted numbers? at the moment if someone calling this Number from wrong area code, the Message "Number not Exist" is played. I included all Swiss area codes and al

Re: [Astlinux-users] how to block all inbound calls and pass only calls from switzerland..

2016-01-20 Thread James Babiak
I'm not familiar with the phone number syntax of Switzerland, but assuming there is something you can match on reliability in the caller-id, it should be fairly straight forward to create a 'permit' rule to only allow inbound calls from those numbers, and then block everything else. This would most

Re: [Astlinux-users] how to block all inbound calls and pass only calls from switzerland..

2016-01-20 Thread Michael Keuter
Am 19.01.2016 um 23:13 schrieb nedi : > Hi All, > > I have a customer with 0800 Number and I would like to block all inbound > calls to this number. Only Number from switzerland should pass the filter. > > I can make blacklist by provider but i must put every area code number > manual to

[Astlinux-users] how to block all inbound calls and pass only calls from switzerland..

2016-01-19 Thread nedi
Hi All, I have a customer with 0800 Number and I would like to block all inbound calls to this number. Only Number from switzerland should pass the filter. I can make blacklist by provider but i must put every area code number manual to blacklist regards Nedi ---