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

Reply via email to