[asterisk-users] EAGI script with missing audio on /dev/fd/3

nik600 nik600 at gmail.com
Tue Aug 2 11:42:15 CDT 2016


Dear all

i'm trying to access to the input audio raw stream with a very basic EAGI
script:


#!/bin/sh
echo "EXEC Queue 2001"
cat  /dev/fd/3 > /tmp/pippo

This is my dialplan:

exten => 001,NoOp(test)
exten => 001,n,Answer
exten => 001,n,EAGI(/tmp/my-eagi.agi)


When i call, the script is executed and the call goes in queue, i can hear
the MOH, the file /tmp/pippo is created but it is empty.

Any idea or suggestion?

PS:
if i use the application monitor or MixMonitor the call is recorded
correctly.

I'm using Asterisk 1.6.2.9-2+squeeze12

Thanks






-- 
/*************/
nik600
http://www.kumbe.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160802/c7a4f7ac/attachment.html>


More information about the asterisk-users mailing list