Asterisk FastAGI Record Empty File

Hi, I am having a issue where my Agi call to RECORD FILE creates an empty file, calling from dialplan works. The call waits for me to speak on the correct time, but just dont flush the information into the file.

The file is created with 44 bytes when its wav, and 0 when its gsm, some logs :
<SIP/201-00000001>AGI Rx << RECORD FILE “SEUNOME_785b4432-ec99-11ea-9d57-0242ac110002” “WAV” “#” 10000 0 S=2
<SIP/201-00000001>AGI Tx >> 200 result=0 (timeout) endpos=0

[root@asterisk01 ~]# ls -ltr /var/lib/asterisk/sounds/SEUNOME_785b4432-ec99-11ea-9d57-0242ac110002.WAV
-rw-r–r-- 1 root root 60 Sep 1 18:24 /var/lib/asterisk/sounds/SEUNOME_785b4432-ec99-11ea-9d57-0242ac110002.WAV

I tried to put S=2000 into the silence detection, but result is the same, also, it dosent seems to be working as expected, even If the caller mute the mic after the time it continues listening.

I could not find any solution to this, and the odd thing is that on the dialplay using the record it works fine.

Any help is apretiated !
Regards,
Wag