On Fri, 23 Apr 2010, Jian Gao wrote:

> There are so many sound files in /var/lib/asterisk/en. Is there an easy 
> way to let me play back all of them one by one while I am watching CLI 
> to see the current file name?

No.

How about:

        for     F in /var/lib/asterisk/en/*.wav
                do
                echo $F
                play -q $F
                read -p 'Next? '
                done

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to