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

[router]
exten => _[A-z].,1,Answer
exten => _[A-z].,n,Goto(${EXTEN},1,1)

[playback]
exten => 1,1,Answer
exten => 1,n,Playback(tt-monkeys)
exten => 1,n,MusicOnHold

[finiteplayback]
exten => 1,1,Answer
exten => 1,n,Playback(tt-monkeys)
exten => 1,n,Playback(tt-monkeys)

[recorded]
exten => 1,1,Answer
exten => 1,n,MixMonitor(${UNIQUEID}.wav)
exten => 1,n,Goto(hairpin,1,1)

[ivr]
exten => 1,1,Background(tt-monkeys)
exten => 1,n,WaitExten(5)

exten => 2,1,Background(tt-weasels)
exten => 2,n,Background(yeah)
exten => 2,n,Background(wyoming)
exten => 2,n,Background(rainfall)
exten => 2,n,Background(yes-dear)
exten => 2,n,WaitExten(5)

exten => 3,1,Background(quickly)
exten => 3,n,Background(rainfall)
exten => 3,n,Background(georgia)
exten => 3,n,Background(get_information_first)
exten => 3,n,WaitExten(5)

exten => 4,1,Background(go-away1)
exten => 4,n,Background(go-away2)
exten => 4,n,Background(good-evening)
exten => 4,n,WaitExten(5)

exten => t,1,Hangup

[conference]
exten => 1,1,Answer
exten => 1,n,Playback(tt-weasels)
exten => 1,n,Confbridge(sipp)

[split-conference]
exten => 1,1,Answer
exten => 1,n,Playback(tt-weasels)
exten => 1,n,Confbridge(sipp-${RAND(1,100)})

[hairpin]
exten => 1,1,Dial(SIP/sipp)
