[globals]
[general]
autofallthrough=yes
[default]
exten => s,1,Verbose(1,Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
exten => 99051000155352,1,Answer()
exten => 99051000155352,n,Goto(123,2)
[incoming_calls]
exten => _X.,1.NoOp()
exten => _X.,n,Dial(SIP/300)
[outgoing_calls]
exten => _X.,1,NoOp()
exten => _X.,n,Dial(SIP/301/${EXTEN})
[internal]
exten => 123,1,Answer()
exten => 123,n,Background(vm-enter-num-to-call)
exten => 123,n,WaitExten()
exten => _3XX,1,Goto(${EXTEN},1)
exten => i,1,Playback(pbx-invalid)
exten => i,n,Goto(internal,123,1)
exten => t,1,Goto(300,2)
exten => 300,1,Verbose(1,Extension 300)
exten => 300,n,Dial(SIP/300,30)
exten => 300,n,Hangup()
exten => 301,1,Verbose(1,Extension 301)
exten => 301,n,Dial(SIP/301,30)
exten => 301,n,Hangup()
exten => 302,1,Verbose(1,Extension 302)
exten => 302,n,Dial(SIP/302,30)
exten => 302,n,Hangup()
[phones]
include => internal
include => outgoing_calls