On Thu, 2004-01-22 at 20:09, Tilghman Lesher wrote:
> 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.
ewwwwwww.
map{ s/\.gsm$//;
print "stream file $_\n";
my $junk = <>;
} glob "$path/*.gsm";
--
Steven Critchfield <[EMAIL PROTECTED]>
_______________________________________________
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