include => in-extensions
include => voicemail
include => outbound
[macro-staff]
exten => s,1,Playback,transfer ; Play a cool Transfer message
exten => s,2,Dial(SIP/${ARG1}|20|r) ; Take the number you dialed and place it in ARG1
exten => s,3,Voicemail,u$(ARG1} ; If you are unavailable play the unavail message and dump into voicemail
exten => s,103,Voicemail,b${ARG1} ; If you are busy play the busy message and dump into voicemail
[voicemail]
exten => 299,1,VociemailMain
[outbound]
; to be configured later
~
65,1 Bot