<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi All,<br><br>I am using http://www.theschmandts.org/blog/2007/05/05/email-notifications-for-missed-calls-in-asterisk/&nbsp;&nbsp; to implement missed call feature. and i modify script to grab email address from voicemail.conf <br><br>But i am not able to see DEST extension in this script ?&nbsp; what would be the variable to get destination extension so base on that i can grab email address of user from voicemail.conf <br><br>exten =&gt; h,1,System(/var/lib/asterisk/agi-bin/processcallemail.sh "" "${CALLERID(num)}" "${CALLERID(name)}" "${DIALSTATUS}" "${VMSTATUS}")<br><br>Calling from 7527&lt;--to---&gt;7101&nbsp; but i can see only 7527 not dest 7101<br><br><br>CLI outout<br>&nbsp;&nbsp;&nbsp; -- Executing [h@from-sip:1] System("SIP/7527-0000000d", "/var/lib/asterisk/agi-bin/processcallemail.sh "" "7527" "Guest" "CANCEL" """) in new stack<br>shirley*CLI&gt; exit<br><br>                                               </body>
</html>