[general] ; static=yes ; writeprotect=no ; [globals] ; CONSOLE=Console/dsp ; Console interface for demo ;CONSOLE=Zap/1 ;CONSOLE=Phone/phone0 ; [local] include => default ; [default] ; exten => *77,1,VoicemailMain(${CALLERIDNUM}) exten => *77,2,Hangup ; exten => *78,1,VoicemailMain ; exten => _10XX,1,Dial(SIP/${EXTEN},40,Ttr) ; Ring the interface, 40 seconds maximum exten => _10XX,2,voicemail2(u${EXTEN}) ; If unavailable, send to voicemail2 w/ unavail announce exten => _10XX,3,Hangup ; If they press #, return to start exten => _10XX,102,voicemail2(b${EXTEN}) ; If busy, send to voicemail2 w/ busy announce exten => _10XX,103,Hangup ; If they press #, return to start ;