jaycard
2004-Jan-22 15:43 UTC
[Asterisk-Users] Variable to play all gsm files in a directory?
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 ? Thanks, J.C.
Tilghman Lesher
2004-Jan-22 19:09 UTC
[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
Apparently Analagous Threads
- Bug in keywords conversion with courier-dovecot-migrate.pl v1.1.7
- AGI (IF/ELSE)
- deadagi and billsec or answeredtime
- AGI: How to break out of AGI when stream_file escape_digits are detected in middle of long sequence of files?
- [PATCH] COM32R documentation: fix typo 'pm_cs'