Displaying 2 results from an estimated 2 matches for "recsubdir".
2014 Jan 13
0
How to get ringing sound in outbound call in asterisk
...xten => _911X.,2,gotoif($["${AVAILCHAN}" = ""]?lbl_busy:)
exten =>
_911X.,n,Set(CALLTIME=${STRFTIME(${EPOCH},Asia/Calcutta,%d-%b-%Y-%H-%M-%S)})
exten => _911X.,n,Gotoif($["${RECORDING_ENABLED}"="Y"]?lbl_dbc:lbl_dial)
exten =>
_911X.,n(lbl_dbc),Set(RECSUBDIR=${STRFTIME(${EPOCH},Asia/Calcutta,%d%b%Y)})
exten => _911X.,n,Set(CALLERID(num)=${IDGCLI})
exten => _911X.,n,Set(FILENAME=${IDGTERMINAL}_${EXTEN:1}_${CALLTIME}.WAV)
exten => _911X.,n,Set(RECORDFILENAME=${RECSUBDIR}/${FILENAME})
exten => _911X.,n,Gotoif($["${IDGCALL}"="&qu...
2014 Feb 11
1
file.c:1160 ast_writefile: Unable to open file /var/spool/asterisk/monitor/11Feb2014/_11-Feb-2014-17-44-01.wav: No such file or directory
Dear Folks,
[Test_Context]
exten => _911.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _911.,2,Set(CALLERID(num)=xxxxxxx)
exten =>
_911.,3,Set(CALLTIME=${STRFTIME(${EPOCH},Asia/Calcutta,%d-%b-%Y-%H-%M-%S)})
exten => _911.,4,Set(RECSUBDIR=${STRFTIME(${EPOCH},Asia/Calcutta,%d%b%Y)})
exten => _911.,5,Set(${CALLERID}=${CALLERID(num)})
exten => _911.,6,Set(FILENAME=${CALLERID}_${CALLTIME}.wav)
exten => _911.,7,Set(RECORDFILENAME=${RECSUBDIR}/${FILENAME})
;exten => _911.,8,Set(SOUND_PATH=${RECORDING_KINREP}/${RECORDFILENAME})...