Does asterisk have a way in the dialplan to generate tones? Say I want to play a tone 300Hz for 3 seconds. Can I do that? If not, can I use some system command to generate the wav file then just have asterisk play it? Jerry
Just put the sound file in the asterisk sound directory In your dial plan have this background(filename) or play(filename) Is that what you wanted to do? Astawerks VoIP Hardware sales and consulting http://www.astawerks.com -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jerry Geis Sent: Tuesday, April 24, 2007 9:46 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] tone generation Does asterisk have a way in the dialplan to generate tones? Say I want to play a tone 300Hz for 3 seconds. Can I do that? If not, can I use some system command to generate the wav file then just have asterisk play it? Jerry _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007 5:26 PM
You could probably modify the milliwatt application to do this. http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Milliwatt Thanks, Steve Totaro http://www.asteriskhelpdesk.com KB3OPB> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Jerry Geis > Sent: Tuesday, April 24, 2007 9:46 AM > To: asterisk-users@lists.digium.com > Subject: [asterisk-users] tone generation > > Does asterisk have a way in the dialplan to generate tones? > Say I want to play a tone 300Hz for 3 seconds. > Can I do that? > > If not, can I use some system command to generate the wav file > then just have asterisk play it? > > Jerry > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Jerry Geis wrote:> Does asterisk have a way in the dialplan to generate tones? > Say I want to play a tone 300Hz for 3 seconds. > Can I do that?core show application PlayTones> If not, can I use some system command to generate the wav file > then just have asterisk play it?core show application TrySystem core show application Playback Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B 14998
Check the Milliwatt() cmd here: http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Milliwatt It sends 1000Hz, but you can derive from it. Joss. On 4/24/07, Jerry Geis <geisj@pagestation.com> wrote:> > Does asterisk have a way in the dialplan to generate tones? > Say I want to play a tone 300Hz for 3 seconds. > Can I do that? > > If not, can I use some system command to generate the wav file > then just have asterisk play it? > > Jerry > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070424/5258a55a/attachment-0001.htm
Jerry Geis wrote:> Does asterisk have a way in the dialplan to generate tones? > Say I want to play a tone 300Hz for 3 seconds. > Can I do that? > > If not, can I use some system command to generate the wav file > then just have asterisk play it?pbx-1*CLI> show applications like tone -= Matching Asterisk Applications =- PlayTones: Play a tone list StopPlayTones: Stop playing a tone list -= 2 Applications Matching =- pbx-1*CLI>