[Home]

Summary:ASTERISK-23343: PJSIP Testing: moar MWI tests
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-02-21 11:49:12.000-0600Date Closed:2014-03-24 09:24:08
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip_mwi Resources/res_pjsip_pubsub
Versions:12.0.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:While we have a fair amount of subscription based tests for PJSIP, there's a number of MWI scenarios that still need to be tested.

Note that with the addition of these tests, it may be worthwhile to restructure our existing pub/sub tests into a hierarchy similar to the basic call tests.

h4. General Subscription State
h5. Re-Subscribe

* A SIP UA subscribes to Asterisk for MWI
* Asterisk creates a subscription and notifies the UA as appropriate
* The SIP UA sends a SUBSCRIBE request to re-subscribe for MWI
* Asterisk refreshes the subscription and sends a NOTIFY request to the SIP UA with the current mailbox state

h5. Un-Subscribe

* A SIP UA subscribes to Asterisk for MWI
* Asterisk creates a subscription and notifies the UA as appropriate
* The SIP UA sends a SUBSCRIBE request to Asterisk with an expiration of 0
* Asterisk tears down the subscription

h4. Single Mailbox Configuration

* Configure an AoR with a single mailbox entry
* A SIP UA subscribes to a mailbox on an AoR
* Asterisk creates a subscription and notifies the UA of the current state of the mailbox
Comments:By: John Bigelow (jbigelow) 2014-03-24 09:23:46.698-0500

Committed revision 4886.