Asterisk tips simple voicemail live
Created by: codefoo,Last modification on Mon 08 of Jan, 2007 [16:39 UTC]
I plan to keep working on this to add a pickup option.
I used the console channel as the speaker, but you could also use another channel that can auto answer.
exten => 701,2,Hangup
MaxRetries: 1
RetryTime: 60
WaitTime: 30
Context: internal
Extension: 701
Priority: 1
For now it's quick and dirty. but if you just want to listen to messages as they are being left, then this will work for you.
I plan on going down this road a little further to see if I can create a pickup extension of some kind to achieve the pickup option.
Go back to Asterisk tips and tricks
I used the console channel as the speaker, but you could also use another channel that can auto answer.
- add an extension for ChanSpy to listen to the inbound channel, in my case I am using a cheep Zap adapter
exten => 701,2,Hangup
- create a .call file to cause asterisk to connect your console to the new extension here is my call file
- I called the file callit.call and put it into a new directory "callfiles" under "/var/spool/asterisk"
MaxRetries: 1
RetryTime: 60
WaitTime: 30
Context: internal
Extension: 701
Priority: 1
- add the following line to extensions.conf just before you send the call to Voicemail
For now it's quick and dirty. but if you just want to listen to messages as they are being left, then this will work for you.
I plan on going down this road a little further to see if I can create a pickup extension of some kind to achieve the pickup option.
See also
Go back to Asterisk tips and tricks
Comments
333No quite there yet