<pre>I not sure to understand this process, so please correct me if I'm<br />wrong. <br /><br />A module, to receive the event notification, does not only have to<br />bind to the event (with switch_event_bind or switch_event_bind_removable)<br />but also have to send the event (using switch_event_create and<br />switch_event_fire) for registration ? <br /><br />What is the variable<br />mod_sofia_globals.mwi_node used for ? Is it used to queue the events until<br />they are processed ? If yes, is it mandatory to queue the events in openzap<br />? <br /><br />As a side question, I was wondering how to associate a mailbox (and/or<br />a user) with an openzap channel. I guess I need that kind of association to<br />bring MWI to openzap. I thought I could use the MWI-Account (something like<br />MWI-Account = openzap/x/y). Would it be a correct way to go ? <br /><br />Thanks<br /><br /><br />François <br /></pre>
<p> </p>
<p>On Thu, 18 Feb 2010 11:02:33 -0500, Michael Jerris <mike@jerris.com> wrote:</p>
<blockquote style="border-left: 2px solid #1010ff; padding-left: 5px; margin-left: 5px; width: 100%;"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->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. 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></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>
<p>Thanks,</p>
<div> <br class="webkit-block-placeholder" /></div>
<p>yes I could see that this was handled with events.</p>
<div> <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> <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> <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> <br class="webkit-block-placeholder" /></div>
<p>François</p>
<div> <br class="webkit-block-placeholder" /></div>
<p>On Thu, 18 Feb 2010 00:13:08 -0500, Michael Jerris <<a href="mailto:mike@jerris.com">mike@jerris.com</a>> wrote:</p>
<blockquote style="border-left: 2px solid #1010ff; padding-left: 5px; margin-left: 5px; width: 100%;">This all uses the event system. 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>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> <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>
</div>
</blockquote>
<p> </p>