[asterisk-users] voicemail does not work from local calls!!!

Oguzhan Kayhan oguzhank at bilkent.edu.tr
Wed Jul 22 00:51:30 CDT 2009


Hello, i was trying to add  call forwarding, lastcaller etc for my
asterisk 1.6.0.9+asterisk-gui
So i added some lines to my macro-stdexten.
Now, if i got a call from trunk, everything seems working well.
But if i get an inside call from asterisk clients, voicemail does not work.
Here is the changes i made on macro-stdexten.


PS: As i notice now lastcaller does not work either..

exten = s,1,Set(__DYNAMIC_FEATURES=${FEATURES})
exten = s,2,Set(DB(lastcaller/${ARG1})=${CALLERID(num)}) ;added for
lastcaller
exten = s,3,GotoIf($["${FOLLOWME_${ARG1}}" = "1"]?8)
exten = s,4,Set(temp=${DB(CFIM/${ARG1})}) ;added for callforward
exten = s,5,GotoIf($["${temp}" != ""]?1000:6) ;added for call forward
exten = s,6,Dial(${ARG2},${RINGTIME},${DIALOPTIONS})
exten = s,7,Goto(s-${DIALSTATUS},1)
exten = s,8,Macro(stdexten-followme,${ARG1},${ARG2})
exten = s-NOANSWER,1,Voicemail(${ARG1},u)
exten = s-NOANSWER,2,Goto(default,s,1)
exten = s-BUSY,1,Voicemail(${ARG1},b)
exten = s-BUSY,2,Goto(default,s,1)
exten = _s-.,1,Goto(s-NOANSWER,1)
exten = a,1,VoicemailMain(${ARG1})
exten = s,1000,Goto(DLPN_sadecelokal,${temp},1) ;added for call forward





More information about the asterisk-users mailing list