Asterisk 13 fastagi not streaming audio


#1

Hi all,

Having a bit of a problem with asterisk 13 and fastagi playing audio.

The logs say the file is playing, but it plays instantaneously no matter the file size, and there’s no audio and get_data always returns a 1, instantly and fastpass_get_data returns 1 repeatedly. Please see below log extract and agi code:

[Apr 12 10:26:18] VERBOSE[27614][C-00000007] res_agi.c: agi://192.168.20.144/agi-bin/ivr.php,fleek,5,1,23: IVRs found = 1
[Apr 12 10:26:18] VERBOSE[27614][C-00000007] res_agi.c: <SIP/201_fleek-00000007>AGI Tx >> 200 result=1
[Apr 12 10:26:18] VERBOSE[27614][C-00000007] res_agi.c: <SIP/201_fleek-00000007>AGI Rx << STREAM FILE /mnt/nfs/sounds/fleek/fleek_ivr “2000” 0
[Apr 12 10:26:18] VERBOSE[27614][C-00000007] res_agi.c: Playing ‘/mnt/nfs/sounds/fleek/fleek_ivr’ (escape_digits=2000) (sample_offset 0)

            $name = $row2['path'];
            $timeout = $row2['timeout'];
            $ntimeout = 2000;
            $ivr = $fastagi->get_data($name,$ntimeout,$expect);