<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">its 2 way, an event is sent out to request mwi, and another in hte other direction (that mod_voicemail sends) that triggers the notify in sip. &nbsp;Looking in mod_sofia where we handle the registration request, you will see there where we send the request, and look in mod_voicemail, or the event handler in sofia for the other direction.<div><br></div><div>Mike<br><div><div>On Feb 18, 2010, at 4:50 AM, François Legal wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>Thanks,</p><div>&nbsp;<br class="webkit-block-placeholder"></div><p>yes I could see that this was handled with events.</p><div>&nbsp;<br class="webkit-block-placeholder"></div><p>Could you please give more details (that does not seem obvious to me while looking at sofia_presence.c)</p><p>When and why is the event triggered ?</p><p>What information do I get with the event ?</p><div>&nbsp;<br class="webkit-block-placeholder"></div><p>Then I have a design question, is it mandatory to (as this is done in mod_sofia but I guess for a lot of reasons) process the event in a separate thread ?</p><div>&nbsp;<br class="webkit-block-placeholder"></div><p>Thanks for the information (and sorry if my questions are not relevant, I don't know the event system at all).</p><div>&nbsp;<br class="webkit-block-placeholder"></div><p>François</p><div>&nbsp;<br class="webkit-block-placeholder"></div><p>On Thu, 18 Feb 2010 00:13:08 -0500, Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt; wrote:</p>
<blockquote style="border-left: 2px solid #1010ff; padding-left: 5px; margin-left: 5px; width: 100%;"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->This all uses the event system. &nbsp;Take a look at how we handle the events in mod_sofia, it should be pretty easy to do the same in mod_openzap.
<div></div>
<div>Mike</div>
<div><br>
<div>
<div>On Feb 16, 2010, at 4:33 AM, François Legal wrote:</div>
<blockquote><p>I was wondering whether or not a facility was available to send message waiting indicator (from mpd_voicemail) using openzap.</p><p>I know this feature is not available in openzap (I'm in the process of coding it for analog channels) but as message indication can be sent via mod_sofia, I wonder if a frame is available in FS core.</p>
</blockquote>
</div>
</div>
</blockquote><div>&nbsp;<br class="webkit-block-placeholder"></div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>