« If any of you are going to the Podcast & Portable Media Expo this coming weekend... | Main | Blue Box #38: VoIP security news, Skype security, fugitive CEOs, Phil Zimmermann, Paris Hilton, the IETF and more... »

September 25, 2006

Asterisk configuration for SIP voicemail-to-email

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,blueboxpodcast@gmail.com,,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.

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/316979/6173226

Listed below are links to weblogs that reference Asterisk configuration for SIP voicemail-to-email:

Comments

Post a comment

If you have a TypeKey or TypePad account, please Sign In

The Obligatory Photo

Promote Blue Box!

  • Add this graphic to your site!

Contact Information

Full Disclosure

  • Dan York, CISSP, is the Best Practices Chair of the VOIP Security Alliance (VOIPSA) and the Director of Emerging Communication Technology for Voxeo.

    Jonathan Zar is affiliated with Pingalo and is the Secretary of VOIPSA and member of the Board of Directors.

    This is a personal project and neither Voxeo, Pingalo nor VOIPSA have any formal connection to this podcast. In the interest of transparency we just thought you should know our affiliations.

Why "Blue Box"?

  • We chose the name "Blue Box" primarily as a nod to the era of phone phreaking in part to illustrate that threats to telephony are not new - they just continue to change and evolve. That and admittedly the name just sounded cool.

Search Blue Box Website

  • Google

    WWW
    blueboxpodcast.com

Search Blue Box Audio

Vote for BlueBox!

  • Enter your Email and click "Vote" to cast your vote for Blue Box at Podcast Alley:

    (email used for vote verification)