fwdOUT for Germany
Problem
- you must replace 49xxxxx to 0xxxxx in the dialed extension (because 49 is the area code for germany, but it does not work when you are in germany)
- you must catch all value added services numbers
Numbers to be catched (and not dialed)
(see also http://de.wikipedia.org/wiki/Liste_der_deutschen_Telefonvorwahlen )- 490 - international call prefix (00)
- 491 - special Numbers without fixed desination
- 4910 - Call-by-Call-Numbers e.g. 01033 (dt. telekom), 010050, etc.
- 4915 - Mobile Phone - UMTS?
- 4916- Mobile Phone
- 4917 - Mobile Phone (0172, 173, 174, 0175)
- 4918 - Shared cost numbers
- 4919 - old Premium Rate Numbers
- 49310 - Service-number
- 49311 - Service-number
- 4932 - IP-Numbers (cost: at this time unknown, better to be dialed directly!)
- 49700 - "universal Number" - allowes the ownder to be forwarded to an arbitrary number
- 4990(0) - new Premium Rate Numbers (except: 49906 Donauwörth)
- 49902 - Televotum / Teledialog
Sample "secure" Dialplan:
[fromfwdOUT] ;match the context in iax.conf
exten => _490.,1,congestion ; all with 00
exten => _491.,1,congestion ; all with 01
exten => _4910.,1,congestion ; call-by-call
exten => _4915.,1,congestion ; mobile
exten => _4916.,1,congestion ; mobile
exten => _4917.,1,congestion ; mobile
exten => _4918.,1,congestion ; shared cost
exten => _4919.,1,congestion ; old premium rate 0190
exten => _49310.,1,congestion ; special number
exten => _49311.,1,congestion ; special number
exten => _4932.,1,congestion ; VoIP
exten => _49700.,1,congestion ; universal number
exten => _4990[0-5789].,1,congestion ; for Donauwörth 49906 is allowed - this is no Premium Nr!
exten => _492.,1,Dial(SIP/0${EXTEN:2}@provider,60,T,L(1800000:1790000))
exten => _493.,1,Dial(SIP/0${EXTEN:2}@provider,60,T,L(1800000:1790000))
exten => _494.,1,Dial(SIP/0${EXTEN:2}@provider,60,T,L(1800000:1790000))
exten => _495.,1,Dial(SIP/0${EXTEN:2}@provider,60,T,L(1800000:1790000))
exten => _496.,1,Dial(SIP/0${EXTEN:2}@provider,60,T,L(1800000:1790000))
exten => _497[1-9].13,Dial(SIP/0${EXTEN:2}@provider,60,T,L(1800000:1790000))
exten => _498.,1,Dial(SIP/0${EXTEN:2}@provider,60,T,L(1800000:1790000))
exten => _49906.,1,Dial(SIP/0${EXTEN:2}@provider,60,T,L(1800000:1790000))
include => fromfwdOUT-catchall
[fromfwdOUT-catchall]
exten => _.,1,Congestion
exten => h,1,Hangup ;hangup event
exten => i,1,Hangup ;hangup event
exten => t,1,Hangup ;hangup event
You must replace yu prefered Dial-method (SIP / CAPI / IAX / ZAP) and your provider (marked with @provider).
Feel free to improve this sample script.
Greets
thorsten at gehrig.de
Created by: thorsten.gehrig, Last modification: Thu 24 of Mar, 2005 (20:13 UTC)
Featured -
Search:

Page Changes















