----- Original Message ----- 
From: "Tilghman Lesher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]
> 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.


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to