[asterisk-users] missed call notification

Warren Selby wcselby at selbytech.com
Thu May 5 12:10:09 CDT 2011


Set a variable ${_CALLED_EXT} to ${EXTEN} before you hang up the call, then reference that variable in your h exten. 

Thanks,
--Warren Selby, dCAP

On May 5, 2011, at 11:59 AM, satish patel <satish_lx at hotmail.com> wrote:

> 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
>     -- Executing [h at from-sip:1] System("SIP/7527-0000000d", "/var/lib/asterisk/agi-bin/processcallemail.sh "" "7527" "Guest" "CANCEL" """) in new stack
> shirley*CLI> exit
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list