As you will hear shortly on show #38, there were two main responses regarding my query about having a SIP address for a comment line that would record a voicemail message and send it to my email address. One response led to the hosted SIP comment line that we recently announced. The other response, from Julien Goodwin, was an explanation of how to do this in Asterisk. While I personally don't have the time to administer systems and run my own Asterisk server, I thought I would post it here for others to see and experiment with.
Julien provided the following configuration, noting that he had not tested this, but it was based off of his working configuration:
extensions.conf:
[sip-guest]
s,1,goto(bluebox,1)
i,1,goto(bluebox,1)
bluebox,1,answer
bluebox,n,Voicemail(u1)
bluebox,n,hangup
[some-private-context]
bluebox-admin,1,Voicemailmain(1) ; User side of VM, to set message
sip.conf:
[general]
context = sip-guest
disallow=all ; Disallow all codecs
allow=ulaw ; Allow codecs in order of preference
allow=alaw
allow=gsm
allow=ilbc
; G729 could also be allowed if your system has a license
voicemail.conf:
[default]
1 => 12345,Bluebox Comments
Box,[email protected],,attach=yes|delete=1|format=wav
(NOTE: These last two lines were split for formatting but should
be merged onto a single line.)
Thank you, Julien, for providing this and if people find it useful and/or make suggestions/comments, please do leave those as comments to this post.
Comments