Displaying 1 result from an estimated 1 matches for "ext1007".
Did you mean:
ext100
2014 Sep 15
2
Record ANSWERED call
Hi,
I am using this dialplan to record incoming calls:
.....
exten => 3331122,n,Set(MONITOR_FILE=${RECDIR}/${UNIQUEID})
exten => 3331122,n,MixMonitor(${MONITOR_FILE}.wav,b)
exten => 3331122,n,GoSub(stdexten(${Ext1007}))
exten => 3331122,n,Voicemail(1007 at default,)
exten => 3331122,n,Hangup()
The problem is it records all incoming calls include those with the
disposition of "NO ANSWER, FAILED, BUSY, UNKNOWN.". For example the "NO
ANSWER" call will leave a 44byte wav file in my ${RE...