Thanks to everyone for their reply. Just one thing based on your coding. I would have to record a "Bong" sound to play with the Background() option?
Based on this web page, there doesn't seem to be a "Bong" sound. http://www.nathanpralle.com/software/ast_masterlist.html Andy Jaikissoon -----Original Message----- From: Jim Van Meggelen [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 10:04 PM To: 'TAUG' Subject: RE: [on-asterisk] Asterisk and Dial Tones Add an authenticate() to Dave's example and you'll never need the DISA() app again; you'll have acheived a state of über-DISA. Jim > -----Original Message----- > From: Dave Donovan [mailto:[EMAIL PROTECTED] > Sent: July 28, 2006 5:26 PM > To: TAUG > Subject: Re: [on-asterisk] Asterisk and Dial Tones > > Andy, > > I think that if you just wanted "bong" you could turn on > autofallthrough in extensions.conf or use WaitExten() to > create a fake DISA context and extension as follows: > > ; Begin fake Disa example > > [fake-disa-context] > include local-dialing-context > include longdistance-dialing-context > exten => _X.,1,background(bong) ; Play a bong sound to the caller > exten => _X.,2,waitexten(10) ; wait 10 seconds for caller to > enter a dialable number > exten => _X.,3,hangup() ; hangup our end. > > ; End fake Disa example > > Basically you're using a poorly secured (by design) > autoattendant that allows outbound dialing and instead of > saying "thank you for calling... please make your selection > now" it says "bong". > > Obvioiusly you need to fill out the context with the built-in > extensions like i, h etc. > > I haven't tried that snippet so if it works, let me know, or > likewise if it sucks or needs modification. > > I love the fact that if you asked avaya for that they'd look > at you like you had 2 heads then either say 'no' or ask for > tens of thousands of dollars. And, it can be done with > Asterisk in a few lines. No crazy hacking the source code > required. Just use the tools given. > > Dave > > On 7/28/06, Andy Jaikissoon <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Morning all! > > > > > > > > Does anyone out there know how to change the dial tone frequency on > > Asterisk? Or even better, to replace it with something else > > completely (like a "Bong")? > > > > > > > > Any help appreciated. > > > > > > > > Thanks in advance. > > > > > > > > Andy Jaikissoon > > > -- > David Donovan > Consultant > Fulcrum Solutions > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.10.4/402 - Release > Date: 27/07/2006 > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 27/07/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
