[Freeswitch-users] Sending message notifications with openzap

François Legal devel at thom.fr.eu.org
Thu Feb 18 09:36:31 PST 2010


I not sure to understand this process, so please correct me if I'm
wrong.


A module, to receive the event notification, does not only have to
bind
to the event (with switch_event_bind or switch_event_bind_removable)
but
also have to send the event (using switch_event_create
and
switch_event_fire) for registration ? 

What is the
variable
mod_sofia_globals.mwi_node used for ? Is it used to queue the
events until
they are processed ? If yes, is it mandatory to queue the
events in openzap
? 

As a side question, I was wondering how to associate
a mailbox (and/or
a user) with an openzap channel. I guess I need that kind
of association to
bring MWI to openzap. I thought I could use the
MWI-Account (something like
MWI-Account = openzap/x/y). Would it be a
correct way to go ? 

Thanks

François 

On Thu, 18 Feb 2010 11:02:33
-0500, Michael Jerris  wrote: 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.  Mike
  On Feb 18, 2010, at 4:50 AM, François Legal wrote:


Thanks,  

yes I could see that this was handled with events.  

Could
you please give more details (that does not seem obvious to me while
looking at sofia_presence.c) 

When and why is the event triggered ? 

What
information do I get with the event ?  

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 ?  

Thanks for the
information (and sorry if my questions are not relevant, I don't know the
event system at all).  

François  

On Thu, 18 Feb 2010 00:13:08 -0500,
Michael Jerris  wrote: 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. Mike 
  On Feb 16, 2010, at 4:33 AM, François Legal wrote: 


I was wondering whether or not a facility was available to send message
waiting indicator (from mpd_voicemail) using openzap. 

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.      

_______________________________________________
FreeSWITCH-users mailing
list
FreeSWITCH-users at lists.freeswitch.org
[2]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




Links:
------
[1] mailto:mike at jerris.com
[2]
mailto:FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100218/651a60fd/attachment-0002.html 


More information about the FreeSWITCH-users mailing list