[Asterisk-bsd] Streaming files with AGI
Ben Kirkpatrick
ben at pdx.net
Sun Jan 2 11:14:36 CST 2005
I saw this on FreeBSD5.2.1/UltraSparc with Asterisk1.0.2 as well.
The quick fix was to pass your variables out of the shell.
I wanted to say the number of people in a Conference before entering:
exten =3D> _49..,7,AGI(conf2.agi,${EXTEN})
exten =3D> _49..,8,SayDigits(${USERS})
conf2.agi looks up the number of folks in the conference, and sets $USERS.
Then SayDigits handles the rest.
PS: I also had irregular results reading agi_extension and agi_dnid , so I
instead opted to pass $EXTEN as an arg of conf2.agi .
--Ben
On Sun, 2 Jan 2005, Aaron J. Angel wrote:
> I whipped up a quick AGI script to begin implementing *69-like services.
> Whenever it starts playing audio files, it will randomly hangup with
> the following message on the console:
>=20
> file.c:1065 ast_waitstream_full: Wait failed (No such file or directory)
>=20
> I can play messages using the Playback() and Background() applications
> in the dial plan fine, but not using AGI's STREAM FILE. Any ideas? I'm
> running FreeBSD 5.2.1 (GENERIC).
>=20
> --=20
> Aaron J. Angel <thatoneguy at aaronjangel.us>
> Web: www.aaronjangel.us
>=20
> =D7=99=D7=A8=D7=95=D7=A9=D7=9C=D7=9D =D7=94=D7=A8=D7=99=D7=9D =D7=A1=D7=
=91=D7=99=D7=91 =D7=9C=D7=94 =D7=95=D7=99=D7=94=D7=95=D7=94 =D7=A1=D7=91=D7=
=99=D7=91 =D7=9C=D7=A2=D7=9E=D7=95 =D7=9E=D7=A2=D7=AA=D7=94 =D7=95=D7=A2=D7=
=93=D6=BE=D7=A2=D7=95=D7=9C=D7=9D
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>=20
More information about the Asterisk-BSD
mailing list