При поступлении звонка происходит ответ (разговор записывается в файл). После перевода звонка запись прерывается. Как сделать, чтобы запись писалась непрерывно в один файл? Спасибо.
Asterisk 15.
Лог SIP/102-000001b7 answered Dongle/dongle0-010000001c
-- SIP/102-000001b7 Internal Gosub(rec,s,1(7926*******,+7925*******,s,1)) start
-- Executing [s@rec:1] GotoIf("SIP/102-000001b7", "1?yes:no") in new stack
-- Goto (rec,s,2)
-- Executing [s@rec:2] Set("SIP/102-000001b7", "fname=1544111323.569-2018-12-06-18_48-7926*******-+7925*******") in new stack
-- Executing [s@rec:3] Set("SIP/102-000001b7", "monopt=nice -n 19 /usr/bin/lame -b 32 --silent "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.wav" "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.mp3" && rm -f "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.wav" && chmod o+r "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.mp3"") in new stack
-- Executing [s@rec:4] Set("SIP/102-000001b7", "CDR(filename)=1544111323.569-2018-12-06-18_48-7926*******-+7925*******.mp3") in new stack
-- Executing [s@rec:5] Set("SIP/102-000001b7", "CDR(realdst)=+7925*******") in new stack
-- Executing [s@rec:6] MixMonitor("SIP/102-000001b7", "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.wav,b,nice -n 19 /usr/bin/lame -b 32 --silent "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.wav" "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.mp3" && rm -f "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.wav" && chmod o+r "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.mp3"") in new stack
-- Executing [s@rec:7] Verbose("SIP/102-000001b7", "Exit record") in new stack
Exit record
-- Executing [s@rec:8] Return("SIP/102-000001b7", "") in new stack
== Spawn extension (gigaset, , 1) exited non-zero on 'SIP/102-000001b7'
-- SIP/102-000001b7 Internal Gosub(rec,s,1(7926*******,+7925*******,s,1)) complete GOSUB_RETVAL=
-- Channel SIP/102-000001b7 joined 'simple_bridge' basic-bridge <39845a9a-a332-4d27-a139-8a938c80310b>
-- Channel Dongle/dongle0-010000001c joined 'simple_bridge' basic-bridge <39845a9a-a332-4d27-a139-8a938c80310b>
== Begin MixMonitor Recording SIP/102-000001b7
> 0x1e642c0 -- Strict RTP switching to RTP target address 192.168.10.20:5012 as source
-- Channel SIP/102-000001b7: Started DTMF blind transfer.
-- Started music on hold, class 'default', on channel 'Dongle/dongle0-010000001c'
-- Playing 'pbx-transfer.slin' (language 'ru')
> 0x1e642c0 -- Strict RTP learning complete - Locking on source address 192.168.10.20:5012
-- Channel SIP/102-000001b7 left 'simple_bridge' basic-bridge <39845a9a-a332-4d27-a139-8a938c80310b>
== MixMonitor close filestream (mixed)
== Executing [nice -n 19 /usr/bin/lame -b 32 --silent "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.wav" "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.mp3" && rm -f "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.wav" && chmod o+r "/var/calls/1544111323.569-2018-12-06-18_48-7926*******-+7925*******.mp3"]
-- Stopped music on hold on Dongle/dongle0-010000001c
-- Channel Dongle/dongle0-010000001c left 'simple_bridge' basic-bridge <39845a9a-a332-4d27-a139-8a938c80310b>
-- Executing [777@gigaset:1] Goto("Dongle/dongle0-010000001c", "autootvet,s,1") in new stack
-- Goto (autootvet,s,1)
-- Executing [s@autootvet:1] Answer("Dongle/dongle0-010000001c", "") in new stack
== Begin MixMonitor Recording Dongle/dongle0-010000001c
== End MixMonitor Recording SIP/102-000001b7
== MixMonitor close filestream (mixed)
== End MixMonitor Recording Dongle/dongle0-010000001c