[globals] TIMEOUT=12 [misc] exten => t,1,PlayBack(timeout) exten => t,2,Hangup() exten => i,1,PlayBack(invalid) exten => i,2,Hangup() ; voicemail management [voicemail] include => misc exten => 6245,1,VoiceMailMain2() exten => 6245,2,Hangup [iax] include => misc exten => 111/222,1,SetCIDName("it's your wife!") exten => 111/222,2,agi(callerid.agi) exten => 111/222,3,Dial(IAX/brett/s,${TIMEOUT}) exten => 111/222,4,Voicemail2(111) exten => 111,1,agi(callerid.agi) exten => 111,2,Dial(IAX/brett/s,${TIMEOUT}) exten => 111,3,Voicemail2(111) exten => 222,1,Dial(IAX/maria/s,${TIMEOUT}) exten => 222,2,Voicemail2(222) exten => maria,1,Goto(iax,222,1) exten => 333,1,Dial(IAX/niko/s,${TIMEOUT}) [afterhours] include => misc exten => _.,1,Wait(1) exten => _.,2,Answer exten => _.,3,Background(vm-menu) exten => 1,1,Voicemail2(111) exten => 2,1,Voicemail2(222) exten => 3,1,Voicemail2(333) [cg1] include => iax include => voicemail [cg2] include => afterhours|1:00-6:00|*|*|* include => iax