Quantcast
Channel: VOIP Tech Chat forum - dslreports.com
Viewing all articles
Browse latest Browse all 6358

[Asterisk] Notes on getting MWI to work between two asterisk servers

$
0
0
I spent a lot of time getting the message waiting indicator on my Polycom IP phone working with asterisk, so I thought I'd post my notes, in case it helps anybody else trying to do this in the future. I've got a local asterisk server at home, and a remote asterisk server running on a VPS. The remote asterisk server connects to service providers and has the voicemail setup. In the end, I guess it was simple, but it took a long time to figure out. On the remote asterisk server: Under the the definition that the local asterisk server registers under, add: mailbox={mailbox_number} for example:mailbox=1000 On the local asterisk server: Under the peer definition for the remote asterisk server, add: unsolicited_mailbox={mailbox_number} for example:unsolicited_mailbox=1000 Under the peer definition for your phone, add: mailbox={mailbox_number}@SIP_Remote for example,mailbox=1000@SIP_Remote Optionally, you can also add: vmexten={number_to_call_voicemail} (Whether it's useful depends on your phone, I suppose, mine ignores it as far as I can tell.) Then, setup the message waiting indicator on your phone. For my Polycom IP 321, it was under Settings -> SIP -> Line 1 -> Message Center. Subscription Address = {ip_address_of_local_asterisk_server}Callback Mode = ContactCallback Contact = {number_to_call_voicemail} The phone needs to be restarted after changing the settings. That's it. There is an mwi registration setting that looks like this: mwi => user[:secret[:authuser]]@host[:port]/mailbox I tried to use this, but in the end, it didn't work properly for my setup. In some cases it would work for awhile, and then stop working later. I'm not using that mwi registration setting at all. Also note, I'm running Asterisk 11.25.3 on both servers. Not sure if it works differently on older or newer versions, but I suspect it's similar as long as it's using chan_sip.

Viewing all articles
Browse latest Browse all 6358

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>