Displaying 6 results from an estimated 6 matches for "recordfilename".
2014 Sep 11
3
if statement recording - after hours
In my dial plan I have these two lines:
exten => _NXXXXXX,n,Set(recordfilename=${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},MST,%C%y-%m-%d-%H%M)}.wav)
exten => _NXXXXXX,n,MixMonitor(${recordfilename},b)
How to add "if" statement to execute these line only after let say 5pm. To record conversation only after 5pm.
--
Joseph
2014 Jan 13
0
How to get ringing sound in outbound call in asterisk
...${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}"=""]?lbl_setcall:lbl_sendevent)
exten => _911X.,n(lbl_setcall),Set(IDGCALL=0)
exten => _911X.,n(lbl_sendevent),Gotoif($["${DBTYPE}"="SQL"]?lbl_sql:)
exten => _911X.,n,Gotoif($["...
2014 Sep 18
1
conversation record prematurely
I have following line in a context:
...
exten => _587NXXXXXX,n,Set(recordfilename=${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},MST,%C%y-%m-%d-%H%M)}.wav)
exten => _587NXXXXXX,n,MixMonitor(${recordfilename},b)
...
It records the conversation but it ends prematurely, after 10min. Why?
Where is the setting to records until a user hangup the handset.
--
Joseph
2014 Sep 18
1
Record call ends in 10min
In my context I have:
exten => _NXXXXXX,1,Set(CHANNEL(musicclass)=default)
exten => _NXXXXXX,n,Set(recordfilename=${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},MST,%C%y-%m-%d-%H%M)}.wav)
exten => _NXXXXXX,n,MixMonitor(${recordfilename},b)
but the recorded conversation ended in 10min so it = 600sec
I was looking in asterisk configuration file for "600" pertaining recording but I couldn't fine...
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
...=>
_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})
exten => _911.,8,MixMonitor(${RECORDFILENAME},b)
exten => _911.,9,Dial(${TRUNK}/${EXTEN:3},,To)
exten => _911.,10,Hangup
Mixmont is not working ,Whenever my give code is executing i got fo...
2005 Jan 30
1
Monitor calls timeout
...always stops after 10 seconds.
Here's what the console tells me:
-- Attempting call on Zap/4/442,55 for s@record:1 (Retry 1)
> Channel Zap/4-1 was answered.
-- Executing Answer("Zap/4-1", "") in new stack
-- Executing SetVar("Zap/4-1",
"RECORDFILENAME=testrecording-s-20050131-102716") in new stack
-- Executing Monitor("Zap/4-1", "wav||m") in new stack
[all good so far]
Jan 31 10:27:26 WARNING[27937712]: pbx.c:1977 ast_pbx_run: Timeout,
but no rule 't' in context 'record'
-- Hungup 'Zap/4-1...