[Asterisk-Users] prevent non-free calls

Sebastian Böhm seb at exse.net
Wed Mar 23 12:10:40 MST 2005


Dear Asterisk-Users,


does anyone know how to prevent non-free calls to Broadvoice Unlimited 
World ?

This first thing I did is I accept only that coutry prefixes (in 
extensions.conf) that are in the Unlimited World dialplan.

I was also able to filter out german cell phones (cause they begin with 
1 and no landline is beginning with 1). US is also no problem as cell 
phone calls are unlimited too. But what about the other 19 countries how 
do I filter out cell phone calls ?

Are calls to canadian mobile phones also unlimited ?

Does anyone know ?

Is the anywhere a List of all cellphone prefixes for that 19 countries ?

I did not found something with google.


That is what I found in the broadvoice wiki :
--------

exten=_01130.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01131.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01132.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01133.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01134.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_011351.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_011352.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_011353.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_011378.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01139.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01141.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_011420.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01143.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01144.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01145.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01146.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01147.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01148.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01149N.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01154.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01155.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01156.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01160.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01161.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01164.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01165.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01181.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01182.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_011852.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_01186.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_011886.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_011972.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
exten=_011.,2,congestion() ; No answer, nothing
exten=_011.,102,busy() ; Busy
--------




Thank you very much

Sebastian



More information about the asterisk-users mailing list