[Asterisk-Users] Re: Remote MWI over IAX2

Noah Miller noah at rosecompanies.com
Tue Mar 21 15:03:27 MST 2006


Hi JR - 
 
> I'm wondering has anyone made any further progress with getting MWI to work
> from a stand-alone asterisk VM server to other asterisk servers where the sip
> phones are actually registered to?  MWI link accross IAX2?

To my knowledge there is no direct implementation to do this.  The
workarounds that I'm aware of:

1. On the central Asterisk box that is storing your voicemails, make the
voicemail spool accessible via nfs (or samba, or whatever), mount the spool
directory on the remote asterisk box, and point astspooldir (in
asterisk.conf) to where you mounted the nfs share.  The remote asterisk
server then sees the voicemail files as they are written, but it doesn't
actually have to transfer them, so it's fairly quick.  This, of course,
would be foolhardy to do without a VPN connection.  I used this method on a
couple of servers for a while.  It's a bit hackish, but it works.

2. Store your voicemails in a database using odbc to connect (on both
asterisk machines).  Replicate the database from one machine to another.  Of
course, this would also be smart to do with a VPN tunnel.  I won't tell you
this is easy to set up (cause it ain't), but it's definitely a more elegant
solution than option 1.

- Noah




More information about the asterisk-users mailing list