[general] static=yes writeprotect=yes [globals] ap1 => mgcp/aaln/0@64.76.148.186 [macro-apl1] exten => s,1,Dial(${ARG1},30,Ttmr) ;exten => s,2,Voicemail(u${MACRO_EXTEN}) ;exten => s,3,Hangup ;exten => s,102,Voicemail(b${MACRO_EXTEN}) ;exten => s,103,Hangup [SIP] include => ent [ent] exten => 112,1,VoiceMail(b112) exten => 111,1,Dial(apl1,${ap1})