;***************************************************************************** ; Bile_One's. Voice Mail Configuration ;***************************************************************************** [general] ; Default formats for writing Voicemail ;format=g723sf|wav49|wav format=wav49|gsm|wav ; Who the e-mail notification should appear to come from serveremail=voicemail@bile_one.com ; Should the email contain the voicemail as an attachment attach=yes ; Maximum length of a voicemail message in seconds maxmessage=180 ; Maximum length of greetings in seconds maxgreet=60 ; How many miliseconds to skip forward/back when rew/ff in message playback skipms=3000 ; How many seconds of silence before we end the recording maxsilence=10 ; Silence threshold (what we consider silence, the lower, the more sensitive) silencethreshold=128 ; Max number of failed login attempts maxlogins=3 emailbody=${VM_NAME} <${VM_MAILBOX}>\n\nYou have received a ${VM_DUR} long message from ${VM_CALLERID}. \n\nThe message was left on ${VM_DATE}. \n\nThank you, from your friendly Bile_One test Telephone Sevice. [mailbox] 601 => 601,test user,defaultmail@bileone.com 602 => 601,test secuser,defaultmail2@bileone.com 603 => 603,Bile One,bile_one@yahoo.com ; ;===================================================================== ; Bile_One's Test extensions.conf file ;===================================================================== [globals] ; No Globals yet [extensions] ;********************************************************************** ; Setup IAX Extensions ;********************************************************************** ;exten => _5XX,1,Dial(IAX2/${EXTEN},7,r) ;exten => _5XX,2,Voicemail,u${EXTEN} ;exten => _5XX,3,MusicOnHold,default ;exten => _5XX,102,Voicemail,b${EXTEN} ;exten => _5XX,4,Hangup ; ;********************************************************************** ; End IAX Extensions ;********************************************************************** ;********************************************************************** ; Setup SIP Extensions ;********************************************************************** exten => _6XX,1,Dial(SIP/${EXTEN},7,r) exten => _6XX,2,VoiceMail,u${EXTEN} exten => _6XX,3,MusicOnHold,default exten => _6XX,4,Hangup exten => _6XX,102,VoiceMail,b${EXTEN} exten => _6XX,103,Hangup ; ;********************************************************************** ; End SIP Extensions ;********************************************************************** ;********************************************************************** ; Call the directory list by pressing 7 user voicemail must be setup ;********************************************************************** exten => 7,1,Directory(mailbox) ;********************************************************************** ; Call the directory list ;********************************************************************** ;********************************************************************** ; Access Voicemail ;********************************************************************** exten => 15,1,VoicemailMain exten => 15,2,Hangup ;********************************************************************** ; Stop Access Voicemail ;********************************************************************** ;******************************************************************** ; Bile_One's Office IVR Menu ;******************************************************************** ; ; [incoming] exten => _8.,1,Dial(Zap/1/${EXTEN:1}) exten => s,1,GotoIfTime(8:00-18:00|mon-fri|*|*?incoming-days,s,4) exten => s,2,Goto(incoming-night,s,4) exten => s,3,GotoIfTime(*|*|1|jan?incoming-holiday,s,1) exten => s,4,GotoIfTime(*|*|4|jul?incoming-holiday,s,1) exten => s,5,GotoIfTime(*|*|11|nov?incoming-holiday,s,1) exten => s,6,GotoIfTime(*|*|24|dec?incoming-holiday,s,1) exten => s,7,GotoIfTime(*|*|25|dec?incoming-holiday,s,1) exten => s,8,GotoIfTime(*|*|31|dec?incoming-holiday,s,1) exten => s,9,GotoIfTime(*|mon|15-21|jan?incoming-holiday,s,1) exten => s,10,GotoIfTime(*|mon|15-21|feb?incoming-holiday,s,1) exten => s,11,GotoIfTime(*|mon|26-31|may?incoming-holiday,s,1) exten => s,12,GotoIfTime(*|mon|1-7|sep?incoming-holiday,s,1) exten => s,13,GotoIfTime(*|mon|8-17|oct?incoming-holiday,s,1) exten => s,14,GotoIfTime(*|thu|22-28|nov?incoming-holiday,s,1) ; If we detect a fax tone send call to extension 22 priority 1 ; Not all fax machines/fax modems send a fax tone when calling. ; If we get a call from one of those then we can't detect that it's a fax call. ; This only works for devices on Zap channels (Digium cards). ; exten => fax,1,Goto(22,1) ; ; Hang up the line if the caller doesn't do anything ; exten => t,1,Hangup ; include => extensions [incoming-days] exten => s,1,Answer exten => s,2,DigitTimeout(10) exten => s,3,ResponseTimeout(20) exten => s,4,Background(vm-silence-1) exten => s,5,Background(vm-welcome) exten => s,6,Background(vm-if-you-know-ext) exten => s,7,Background(vm-menu1) exten => s,8,Background(vm-menu2-user1) exten => s,9,Background(vm-menu2-user2) exten => s,10,Background(vm-menu2-bile-one) exten => s,11,Background(vm-menu2-operator) exten => s,12,Background(vm-options-lowest) exten => s,13,NoOp ; ; Repeat the previous menu exten => *,1,Goto(s,5) ; ; #=hangup exten => #,1,Background(vm-goodbye) exten => #,2,Hangup ; exten => t,1,Goto(i,1) ; If they take too long, give up ; exten => i,1,Background(pbx-invalid) ; "That's not valid, try again" exten => i,2,Wait(1) exten => i,3,Goto(s,5) ; include => extensions ; [incoming-night] exten => s,1,Answer exten => s,2,DigitTimeout(10) exten => s,3,ResponseTimeout(20) exten => s,4,Background(vm-silence-1) exten => s,5,Background(vm-welcome) exten => s,6,Background(vm-silence-1) exten => s,7,Background(vm-office-closed) exten => s,8,Background(vm-office-hours) exten => s,9,Background(vm-if-you-know-ext) exten => s,10,Background(vm-menu1) exten => s,11,Background(vm-voice-mail-directory-general) exten => s,12,Background(vm-voice-mail-directory-user1) exten => s,13,Background(vm-voice-mail-directory-user2) exten => s,14,Background(vm-voice-mail-directory-bile-one) exten => s,15,Background(vm-voice-mail-directory-operator) exten => s,16,Background(vm-options-lowest) ; Repeat the previous menu exten => *,1,Goto(s,5) ; ; #=hangup exten => #,1,Background(goodbye) exten => #,2,Hangup ; exten => i,1,Background(pbx-invalid) ; "That's not valid, try again" exten => i,2,NoOp exten => i,3,Goto(s,10) include => extensions [incoming-holiday] exten => s,1,Answer exten => s,2,DigitTimeout(10) exten => s,3,ResponseTimeout(20) exten => s,4,Background(optdata/office-closed-holiday) exten => s,5,Background(optdata/office-hours) exten => s,6,Goto(office-night,s,8) ; ; Repeat the previous menu exten => *,1,Goto(incoming-holiday,s,4) exten => *,2,Goto(incoming-night,s,8) ; ; #=hangup exten => #,1,Background(goodbye) exten => #,2,Hangup exten => i,1,Background(pbx-invalid) ; "That's not valid, try again" exten => i,2,Wait(1) exten => i,3,Goto(incoming-night,s,8) include => extensions ; ; ;******************************************************************** ; END - Bile_One's IVR Menu ;********************************************************************