[general]
static = yes ; These two lines prevent the CLI from overwriting
writeprotect = yes ; the config file. Do not remove
[bogon-calls]
exten => _.,1,Congestion
[from-sip]
exten => 2000,1,Dial(SIP/2000, 20)
exten => 2000,2,Voicemail(u2000)
exten => 2000,102,Voicemail(b2000)
exten => 2000,103,Hangup
exten => 2001,1,Dial(SIP/2001, 20)
exten => 2001,2,Voicemail(u2001)
exten => 2001,102,Voicemail(b2001)
exten => 2001,103,Hangup
exten => 2999,1,VoicemailMain(${CALLERIDNUM})
; Dial plan to use the ext 2998 (SPA3000 PSTN) for all outgoing calls
; Must dial the '9' before using the line
exten => _9.1,Dial(SIP/2998/${EXTEN:1})