[Asterisk-Users] Variable to play all gsm files in a directory?
JC
jaycard at bellsouth.net
Thu Jan 22 21:47:38 MST 2004
----- Original Message -----
From: "Tilghman Lesher" <tilghman at mail.jeffandtilghman.com>
To: <asterisk-users at lists.digium.com>
Sent: Thursday, January 22, 2004 9:09 PM
Subject: Re: [Asterisk-Users] Variable to play all gsm files in a directory?
> On Thursday 22 January 2004 16:43, jaycard wrote:
> > Is there a variable that can be used with the playback command to
> > play all gsm sound files in a directory? For example like '*.*' <-
> > which I know doesn't work. Is the only solution for this to create an
> > AGI script and use the stream_file command ?
>
> I can't see where this would be useful in more than a single situation,
> so I'd recommend that you write an AGI script which can use the opendir,
> readdir, and closedir system calls.
>
> -Tilghman
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
Thank you I guess AGI then is the answer to my question.
I need the technology to work for 2 projects I'm working on. I'll look in to
it. Plus I need it to be able play PREV and NEXT sound files by hiting a
digit(s), like a voice mail system in a way.
Thanks for the response.
J.C.
More information about the asterisk-users
mailing list