Thanks guys for all your bong tips. :-)
Ill try this out Im headed in the right direction baby! Andy Jaikissoon -----Original Message----- From: Jim Van Meggelen [mailto:[EMAIL PROTECTED] Sent: Saturday, July 29, 2006 3:01 PM To: 'TAUG' Subject: RE: [on-asterisk] Asterisk and Dial Tones Rather than a gurgling bong, perhaps what is wanted is a zen-like gong. Jim > -----Original Message----- > From: Dave Donovan [mailto:[EMAIL PROTECTED] > Sent: July 29, 2006 2:25 PM > To: TAUG > Subject: Re: [on-asterisk] Asterisk and Dial Tones > > You can download a sound, put it in wav or gsm format (google: > asterisk sox convert, or use windows sound recorder) and then > specify the path to your sound file and it'll work. You > don't have to use the canned sounds that come with Asterisk. > > I found a snippet of instructions that I sent to a customer > for converting wavs to asterisk friendly formats using windows: > open your wav file with windows sound recorder choose file -> > properties click 'convert now' > set format to 'ccitt u-law' > set attributes to '8.000 khz, 8 bits, mono, 7 kb/sec' > save your file as bong.wav and upload it to the asterisk box. > > That might not be the very best quality that's supported by > asterisk but it's the format that the Polycom phones use for > ringtones so that's the snippet I've got. The sox page on > voip-info.org will have all the supported formats and specs. > > One place you could put the file is /var/lib/asterisk/sounds, > that's the default for system sounds. I usually create > /var/lib/asterisk/sounds/user and put my files in there so I > can keep them straight. Then your background() command looks like > background(user/bong.wav) > > I thought I had a wav of someone sucking on a water bong, I > was going to attach it but I can't find it. ...oops, wrong > kind of bong. :) > > Enjoy. > > Dave > > On 7/29/06, Andy Jaikissoon <[EMAIL PROTECTED]> wrote: > > 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] > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] For additional > > commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > 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.5/403 - Release > Date: 28/07/2006 > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.5/403 - Release Date: 28/07/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
