login | register
Sat 05 of Jul, 2008 [03:50 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Samuel, Thu 03 of Jul, 2008 [13:41 UTC]: ok thank you
  • Mats Karlsson, Thu 03 of Jul, 2008 [13:37 UTC]: Nice Samuel, will look forward to rad it.
  • bwl_fernstudent, Thu 03 of Jul, 2008 [09:08 UTC]: Your blog shows some usefull code
  • Samuel, Thu 03 of Jul, 2008 [08:04 UTC]: I'll translate it, for sure
  • Mats Karlsson, Wed 02 of Jul, 2008 [20:46 UTC]: LOL, in french! Translate it to English and I will read it.
  • Samuel, Wed 02 of Jul, 2008 [08:07 UTC]: Hello, i wrote a blog about Asterisk, speaking about installation,programming and more http://sambranche.blogspot.com/
  • Nick Barnes, Tue 01 of Jul, 2008 [17:46 UTC]: Steve - Asterisk doesn't 'fit into linux' - it's an application which runs on top of Linux.
  • Steve, Mon 30 of Jun, 2008 [18:07 UTC]: anyone know where I can find a block diagram of how asterisk fits into linux. my f'ing bosses want me to draw something up.. ugh.
  • akbar, Fri 27 of Jun, 2008 [10:37 UTC]: marley_boyz@yahoo.com how to configure call forward, call back, call pick up using TDM and asterisk 1.2.13... please help me.. thx...
  • Matthew Williams, Tue 24 of Jun, 2008 [22:37 UTC]: We are looking for Tier II VoIP Support Technicians in St Louis. Send resumes to mwilliams AT voxitas DOT com.
Server Stats
  • Execution time: 0.69s
  • Memory usage: 2.57MB
  • Database queries: 31
  • GZIP: Disabled
  • Server load: 0.58

Asterisk Realtime MWI Hacks

I have MWI working pretty nicely with a set of Polycom 501/320s on Asterisk 1.6.0-beta8 in Realtime mode. The normal SUBSCRIBE/NOTIFY sequence seems broken, Asterisk seems to choose a random number of new messages it will send in the NOTIFY message, so I have a script that will compute this and generate a real NOTIFY packet using sipsak.

It's adapted from a previous script I found at (http://lists.iptel.org/pipermail/serusers/2005-May/019684.html), so much credit goes to the original creator. This can be adapted into an OpenSER setup as well to solve MWI issues.
In my setup this script is called from Asterisk in externnotify to send an MWI as soon as voicemail is left, as well as in a cron job to send out MWIs in the case that the phone was off / not registered when the message was sent.

in sip.conf you need:
[general]
; This seems like a mistake, it's not. We want to disable Asterisk from sending out
; bogus NOTIFY messages. Polycom's will still accept NOTIFY messages
allowsubscribe=no

in voicemail.conf you will need
[general]
externnotify=/path/to/notify-script

By the way, the SIP NOTIFY section must use <CR><LF> for new lines, not just <CR>. I hope this is helpful to someone.


Created by Josh Mahonin, Last modification by Josh Mahonin on Sat 10 of May, 2008 [16:34 UTC]

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver