Right now I'm trying to generate a separate, second recording during my call. Here is how we need our users to do this: Get on the phone with a client, dial in an extension with the client, read them a script, hang up the extension, and finish the call with the client. A company we sell for needs that little separate recording where we read the script for liability purposes. It would be much easier if we could generate a separate recording rather than trying to manually listen and splice hundreds of recordings everyday.
I saw this in the extensions-vicidial.conf:
; this is used for recording conference calls, the client app sends the filename
; value as a callerID recordings go to /var/spool/asterisk/monitor (WAV)
; Recording is limited to 1 hour, to make longer, just change the server
; setting ViciDial Recording Limit
; this is the WAV verison, default
exten => 8309,1,Answer
exten => 8309,2,Monitor(wav,${CALLERID(name)})
exten => 8309,3,Wait(3600)
exten => 8309,4,Hangup()
My first thought was to dial directly 8309, but so far hasn't worked. My process: With the client on the phone, I press Transfer-Conf. Check Consultative box. Type in 8309. Press Dial With Customer.
It seems to just be put on hold though and doesn't actually do anything. Here is the CLI:
[Jan 7 07:30:57] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 7 07:30:57] -- Executing [90009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default:1] Answer("Local/90009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default-", "") in new stack
[Jan 7 07:30:57] > Channel Local/90009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default-0000180f;1 was answered.
[Jan 7 07:30:57] -- Executing [8600051@default:1] MeetMe("Local/90009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default-", "8600051,F") in new stack
[Jan 7 07:30:57] -- Executing [90009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default:2] Dial("Local/90009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default-", "IAX2/ASTloop:Z3oHlPIixrZIRHu@127.0.0.1:40569/990009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*,,to") in new stack
[Jan 7 07:30:57] -- Called IAX2/ASTloop:Z3oHlPIixrZIRHu@127.0.0.1:40569/990009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*
[Jan 7 07:30:57] -- Accepting AUTHENTICATED call from 127.0.0.1:
> requested format = gsm,
> requested prefs = (gsm|ulaw),
> actual format = ulaw,
> host prefs = (ulaw),
> priority = mine
[Jan 7 07:30:57] -- Call accepted by 127.0.0.1 (format ulaw)
[Jan 7 07:30:57] -- Format for call is ulaw
[Jan 7 07:30:57] -- Executing [990009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default:1] Answer("IAX2/ASTloop-11360", "") in new stack
[Jan 7 07:30:57] -- IAX2/127.0.0.1:40569-11872 answered Local/90009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default-0000180f;2
[Jan 7 07:30:57] -- Executing [990009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default:2] AGI("IAX2/ASTloop-11360", "agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1") in new stack
[Jan 7 07:30:57] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Jan 7 07:30:57] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jan 7 07:30:57] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jan 7 07:30:57] -- Executing [h@default:1] AGI("Local/90009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default-", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----0-----0") in new stack
[Jan 7 07:30:57] -- <Local/90009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default-0000180f;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---0-----0 completed, returning 0
[Jan 7 07:30:57] == Spawn extension (default, 90009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*, 2) exited non-zero on 'Local/90009*AGENTDIRECT*CXFER*197133**XXXXXXXXXX*5000*8309*187*@default-0000180f;2'
[Jan 7 07:30:58] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 7 07:31:01] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 7 07:31:01] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 7 07:31:02] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jan 7 07:31:02] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jan 7 07:31:02] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jan 7 07:31:02] -- Playing 'generic_hold' (escape_digits=) (sample_offset 0)
[Jan 7 07:31:06] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 7 07:31:06] == Manager 'sendcron' logged off from 127.0.0.1
I'm sure I've missed something along the way or maybe there is a better way to do this. Any help is appreciated.