What is MWI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, think of your provider implementing an answering machine "in the 
network" for you.

Whenever somone leaves a new message on your answering machine, the 
(subscribed) PJSIP client will get notified by the server and your 
application can turn on that red blinking "MWI" LED to *indicate* the new 
message to the user. When he gets home, he looks at his phone and knows 
instantly: there is a new *message waiting* for me.

Further reading:
http://www.ietf.org/rfc/rfc3842.txt

Section 4 contains some examples, but since PJSIP already does all the 
heavy lifting (the headers), the only thing you need to do is parsing the 
MWI body like:

  Messages-Waiting: yes
  Message-Account: sip:alice at vmail.example.com
  Voice-Message: 4/8 (1/2)

Sebastian.

"pjsip" <pjsip-bounces at lists.pjsip.org> schrieb am 02.02.2013 06:24:06:

> Von: Khoa Pham <onmyway133 at gmail.com>
> An: pjsip list <pjsip at lists.pjsip.org>
> Datum: 02.02.2013 06:24
> Betreff: [pjsip] What is MWI
> Gesendet von: "pjsip" <pjsip-bounces at lists.pjsip.org>
> 
> Hi all,
> 
> I search google for WMI, and know that 
> 
> "A message-waiting indicator (MWI) in telephony is a feature that 
> illuminates an LED on select telephones to notify a telephone user 
> of waiting voicemail messages on most North American public 
> telephone networks and PBXs."
> 
> What does it used for in Pjsip? Is it related to "pjsua_im_typing" ?
> 
> -- 
> Khoa Pham
> HCMC University of Science
> Faculty of Information Technology
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130202/33ff902c/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux