missed call notification

Home » Asterisk Users » missed call notification
Asterisk Users No Comments

Hi All,

I am using http://www.theschmandts.org/blog/2007/05/05/email-notifications-for-missed-calls-in-asterisk/ to implement missed call feature. and i modify script to grab email address from voicemail.conf

But i am not able to see DEST extension in this script ? what would be the variable to get destination extension so base on that i can grab email address of user from voicemail.conf

exten => h,1,System(/var/lib/asterisk/agi-bin/processcallemail.sh “” “${CALLERID(num)}” “${CALLERID(name)}” “${DIALSTATUS}” “${VMSTATUS}”)

Calling from 7527< --to--->7101 but i can see only 7527 not dest 7101

CLI outout