trinicom communications hosted VoIP
Block Caribbean toll fraud Script to block access with Asterisk VoIP Servers
nano /etc/asterisk/extensions.conf
Put this in your Phones-Outbound (or what ever you call it) and when someone tries to call the Caribbean they will get a buzy signal!
;----The Bahamas Block exten => _1242XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1242XXXXXXX,2,Congestion ;----The Bahamas Block exten => _1246XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1246XXXXXXX,2,Congestion ;----Anguilla Block exten => _1264XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1264XXXXXXX,2,Congestion ;----Antigua and Barbuda Block exten => _1268XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1268XXXXXXX,2,Congestion ;----The British Virgin Islands Block exten => _1284XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1284XXXXXXX,2,Congestion ;----The U.S. Virgin Islands Block exten => _1340XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1340XXXXXXX,2,Congestion ;----The Cayman Islands Block exten => _1345XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1345XXXXXXX,2,Congestion ;----Bermuda Block exten => _1441XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1441XXXXXXX,2,Congestion ;----Grenada Block exten => _1473XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1473XXXXXXX,2,Congestion ;---- the Turks and Caicos Islands Block exten => _1649XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1649XXXXXXX,2,Congestion ;---- Montserrat Block exten => _1664XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1664XXXXXXX,2,Congestion ;---- Mariana Islands Block exten => _1670XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1670XXXXXXX,2,Congestion ;----Guam Block exten => _1671XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1671XXXXXXX,2,Congestion ;----AMERICAN SAMOA Block exten => _1684XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1684XXXXXXX,2,Congestion ;---- Sint Maarten Block exten => _1721XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1721XXXXXXX,2,Congestion ;----St Lucia Block exten => _1758XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1758XXXXXXX,2,Congestion ;----The Commonwealth of Dominica Block exten => _1767XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1767XXXXXXX,2,Congestion ;----St Vincent Block exten => _1784XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1784XXXXXXX,2,Congestion ;----Puerto Rico Block exten => _1787XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1787XXXXXXX,2,Congestion ;----Dominican Republic Block exten => _1809XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1809XXXXXXX,2,Congestion exten => _1829XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1829XXXXXXX,2,Congestion exten => _1849XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1849XXXXXXX,2,Congestion ;----TRINIDAD AND TOBAGO Block exten => _1868XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1868XXXXXXX,2,Congestion ;----SAINT KITTS AND NEVIS Block exten => _1869XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1869XXXXXXX,2,Congestion ;----Jamacia Block exten => _1876XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1876XXXXXXX,2,Congestion ;----Puerto Rico Block exten => _1939XXXXXXX,1,Set(CALLERID(name)=${CALLERID(all)}) exten => _1939XXXXXXX,2,Congestion
visits: