Score another top-notch tip for Tilghman!!! -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tilghman Lesher Sent: Thursday, March 04, 2010 8:59 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] 30 mins GSM file
On Thursday 04 March 2010 16:51:54 David @ULC wrote: > I need to create 30 mins of GSM file for Asterisk . > > Silent / Blank file. > > Whats the best way to create it ? One of the nicest things about gsm files is that having no file header, you can concatenate multiple files and get the same effect as having played the series of files. Within the standard set of files is silence/10, which is 10 seconds of silence. Concatenate 180 instances of that file, and the result will be 1800 seconds (30 minutes) of silence. for i in `seq 1 180`; do cat /var/lib/asterisk/sounds/en/silence/10.gsm >> /var/lib/asterisk/sounds/30-minutes-of-silence.gsm ; done -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: www.digium.com & www.asterisk.org -- _____________________________________________________________________ -- 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 -- _____________________________________________________________________ -- 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
