Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#982 closed enhancement (fixed)

Support for SIP Message Summary/Message Waiting Indication (MWI, RFC 3842) — at Version 5

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.5
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

Add support for MWI with the following specification:

  • implement pjsip evsub package for MWI
  • client and server support
  • support in PJSUA-LIB
  • NOTIFY message body is unprocessed; they will be given to app unparsed.

New files in pjsip-simple:

  • include: mwi.h
  • src: mwi.c

Support in PJSUA-LIB:

  • add "mwi_enabled" field in pjsua account config
  • add "on_mwi_info" callback
  • if MWI subscription is terminated for some reason, PJSUA-LIB will renew periodically (PJSUA_PRES_TIMER timer)

Also added support for Asterisk unsolicited MWI in pjsua application.

PJSUA application:

  • new "---mwi" option
  • new "--unsolicited-mwi" option

Change History (5)

comment:1 Changed 15 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 15 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Implemented in r2968:

  • PJSIP-SIMPLE:
    • implement MWI
  • PJSUA-LIB:
    • added "mwi_enabled" flag in account config
    • added "on_mwi_info" callback
  • pjsua app:
    • added "--mwi" option to enable MWI on account
    • added simple callback to log the NOTIFY message
  • other:
    • added SIPp scenario files to simulate UAS side
  • build:
    • added MWI support on VS6, VS2005, MMP, and Makefile

comment:3 Changed 15 years ago by bennylp

In r2974:

  • updated VS6 project with the (missing) mwi.[hc] files

comment:4 Changed 15 years ago by bennylp

In r2976:

  • added MWI support for Python

comment:5 Changed 15 years ago by bennylp

  • Description modified (diff)

In r3019:

  • added support for Asterisk unsolicited MWI requests in pjsua application (new "--unsolicited-mwi" option)
Note: See TracTickets for help on using tickets.