Page 1 of 1

Call Recording After Answer the call

PostPosted: Tue Feb 16, 2021 3:31 am
by mdmahboob
Vicidial 9
4704:$build = '200719-1645';

Hi All,

How to start recording after the call is connected and answer. At present, it is recording from the welcome message.

tmvc*CLI>
[Feb 16 13:36:30] == Using SIP RTP CoS mark 5
[Feb 16 13:36:30] > 0x7f627c04aa80 -- Strict RTP learning after remote address set to: XXX.XX.XXX.X:7924
[Feb 16 13:36:30] -- Executing [+91XXXXXXXX@trunkinbound:1] AGI("SIP/jio-0000016b", "agi-DID_route.agi") in new stack
[Feb 16 13:36:30] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Feb 16 13:36:30] -- AGI Script Executing Application: (Monitor) Options: (w av,/var/spool/asterisk/monitor/MIX/20210216133630_+91XXXXXXXX_91XXXXXXXXXX)
[Feb 16 13:36:30] -- <SIP/jio-0000016b>AGI Script agi-DID_route.agi completed, returning 0
[Feb 16 13:36:30] -- Executing [6301@default:1] Set("SIP/jio-0000016b", "CALLERID(num)= +9140XXXXXXXX") in new stack
[Feb 16 13:36:30] -- Executing [6301@default:2] Playback("SIP/jio-0000016b", "Hindi") in new stack
[Feb 16 13:36:30] > 0x7f627c04aa80 -- Strict RTP switching to RTP target address XXX.XX.XXX.X:7924 as source
[Feb 16 13:36:30] -- <SIP/jio-0000016b> Playing 'Hindi.slin' (language 'en')[Feb 16 13:36:32] -- Executing [6301@default:3] Playback("SIP/jio-0000016b", "hindi_1") in new stack
[Feb 16 13:36:32] -- <SIP/jio-0000016b> Playing 'hindi_1.slin' (language 'en')
[Feb 16 13:36:35] > 0x7f627c04aa80 -- Strict RTP learning complete - Locking on source address 100.64.216.5:7924
[Feb 16 13:36:38] -- Executing [6301@default:4] Playback("SIP/jio-0000016b","hindi_3") in new stack
[Feb 16 13:36:38] -- <SIP/jio-0000016b> Playing 'hindi_3.slin' (language 'en')
[Feb 16 13:36:41] WARNING[32201][C-000000d5]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Feb 16 13:36:41] -- Executing [h@default:1] AGI("SIP/jio-0000016b", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
[Feb 16 13:36:41] -- <SIP/jio-0000016b>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
tmvc*CLI>

Thanks
M Ali

Re: Call Recording After Answer the call

PostPosted: Tue Feb 16, 2021 10:21 pm
by carpenox
Check out my blog I how to do this https://cyburityllc.com/?p=1309

Re: Call Recording After Answer the call

PostPosted: Tue Feb 16, 2021 11:58 pm
by striker
are you pointing your DID to callmenu or an extension?

Re: Call Recording After Answer the call

PostPosted: Thu Feb 18, 2021 6:00 am
by mdmahboob
striker wrote:are you pointing your DID to callmenu or an extension?


Hi,
Pointing to the extension.

Thanks

Re: Call Recording After Answer the call

PostPosted: Thu Feb 18, 2021 8:00 am
by striker
are you using your own dialplan to play ivr?

once u enable Recording in DID it will start record calls once call landed to DID

if you want you want to record after your ivr prompt use the MixMonitor in your dialplan and disable in DID.