5 seconds silence after pressing call recording toggle

Hi.

I have a problem with Asterisk 1.8.21.0, FreePBX 2.11.0rc1 and Grandstream GXP 1200 & 2000.

After I activated the recording (*1 = In-Call Asterisk Toggle Call Recording) for the extensions (on demand recording), is recording possible, but after pressing *1, there is a 5 seconds long pause, during which no caller hears something.

Does anyone have an idea how I can prevent this break?

Log:
– Executing [s@macro-one-touch-record:1] System(“SIP/111-00000015”, “/var/lib/asterisk/bin/one_touch_record.php SIP/111-00000015”) in new stack
== Begin MixMonitor Recording SIP/111-00000015
– Executing [s@macro-one-touch-record:2] MacroExit(“SIP/111-00000015”, “”) in new stack
– Feature Found: apprecord exten: apprecord
– Executing [s@macro-one-touch-record:1] System(“SIP/111-00000015”, “/var/lib/asterisk/bin/one_touch_record.php SIP/111-00000015”) in new stack
== MixMonitor close filestream

Thanks in advance