;
[general]
;
static=yes
writeprotect=no
switch => Realtime/mailbox@extensions
;
[globals]
;
[local]
;exten => _8[4-7],1,Dial(Sip/${EXTEN}@nxs.yi.org:5060)

exten => 80,1,Answer
exten => 80,2,Dial(Zap/g2,14)
exten => 80,3,VoiceMail(u80)

exten => 84,hint,Sip/84
exten => 84,1,Answer
exten => 84,2,Dial(Sip/84,14)

exten => 85,hint,Sip/85
exten => 85,1,Answer
exten => 85,2,Dial(Sip/85,14)

exten => 86,hint,Sip/86
exten => 86,1,Answer
exten => 86,2,Dial(Sip/86,14)

exten => 87,hint,Sip/87
exten => 87,1,Answer
exten => 87,2,Dial(Sip/87,14)

include => mailbox
include => apps
include => pstn

[mailbox]
exten => _XX,1,VoiceMail(${EXTEN})
exten => _uXX,1,VoiceMail(u${EXTEN:1})
exten => _bXX,1,VoiceMail(b${EXTEN:1})

[pstn]
ingnorepat => 0
exten => _0XXX,1,DeadAGI(/usr/local/src/ASTERISK/asterisk-b2bua-0.2.0b1/agi/b2bua.pl)
exten => _0XXXX,2,Dial(Zap/g1/${EXTEN:1})
exten => _0XXX.,1,DeadAGI(/usr/local/src/ASTERISK/asterisk-b2bua-0.2.0b1/agi/b2bua.pl)
exten => _0XXXX.,2,Dial(Zap/g1/${EXTEN:1})
exten => _0XXXX.,3,Hangup

