Displaying 1 result from an estimated 1 matches for "beepvoicemail".
2008 Apr 03
1
Sending audio to a channel
I have a voicemail application that users can listen to messages and
leave messages. I am looking for a way to play a beep tone to a user
when a new message is received when they are on the phone.
Here is what I have come up with:
in extensions.conf:
[beepvoicemail]
exten => 1000,1,answer()
exten => 1000,2,NoCDR()
exten => 1000,3,wait(2)
exten => 1000,4,Set(TIMEOUT(absolute)=5)
exten => 1000,5,playback(voicemail/beeps)
exten => 1000,7,SendDTMF(9)
exten => 1000,8,hangup()
exten => 2000,1,Set(TIMEOUT(absolute)=5)
exten => 2000,2,NoCD...