search for: send_call_notif

Displaying 2 results from an estimated 2 matches for "send_call_notif".

2009 Jun 23
1
[extensions.conf] Any idea why not working as it should?
...tensions.conf //Caller can choose extensions 1, 2, 3, 4 or 9 //Look up software name from extension exten => _[1-49],1,AGI(convert_app.phpcli|${EXTEN}) exten => _[1-49],n,Set(APPLICATION_NUM="${EXTEN}") //Send e-mail to who is in charge of the application exten => _[1-49],n,AGI(send_call_notification.phpcli|${CALLERID(name)}|${CALLERID(num)}|${APPLICATION_NUM}) exten => _[1-49],n,Hangup() ===== /usr/local/share/asterisk/agi-bin/send_call_notification.phpcli switch($argv[3]) { //Softare 1 case 1: $mail->AddAddress(User1); break; //Softwares 2,3 case 2: case...
2007 Nov 21
1
[1.4 - Record] How to tell if user did leave a msg?
...hing, script ends there! exten => _[1-4],n,Record(/tmp/${CALLTIME}.wav,3,30) exten => _[1-4],n,TrySystem(mv /tmp/${CALLTIME}.wav /srv/www/lighttpd/asterisk) exten => _[1-4],n,ExecIf($[${SYSTEMSTATUS}!= SUCCESS],Verbose,Failed moving WAV file) exten => _[1-4],n,TrySystem(/root/asterisk/send_call_notification.py "${CALLERIDNAME}" ${CALLERIDNUM} ${SOFTWARE} ${CALLTIME}.wav) exten => _[1-4],n,ExecIf($[${SYSTEMSTATUS} != SUCCESS],Verbose,Error sending e-mail) exten => _[1-4],n,Playback(/root/asterisk_sound_files/bye_bye) exten => _[1-4],n,Hangup() ======== Should I use another a...