[general]
static=yes
writeprotect=yes
autofallthrough=yes
clearglobalvars=yes

[globals]
VSA=/var/spool/asterisk
__DYNAMIC_FEATURES=parkcall

[default]
exten => s,1,NoOp("** in default context - shouldnt hapen ** - CALLED: ${CALLED}")
exten => s,n,Playtones(congestion)
exten => s,n,Congestion

exten => h,1,Hangup

exten => _.,1,Set(CALLED=${EXTEN})
exten => _.,n,Goto(s,1)


[extensions]
exten => _1ZX,1,Dial(SIP/${EXTEN})

[inbound]
exten => _215555XXXX,1,Goto(attendant,s,1)


[attendant]
exten => s,1,Backgroup(foo)
exten => s,n,WaitExten(10)

exten => 1,1,Dial(SIP/111)
exten => 2,1,Dial(SIP/111&SIP/112)
