Summary: | ASTERISK-23344: PJSIP Testing - moar extension state tests | ||
Reporter: | Matt Jordan (mjordan) | Labels: | |
Date Opened: | 2014-02-21 11:55:28.000-0600 | Date Closed: | 2014-03-11 11:09:48 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | 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 device state 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. Extension State h5. Re-Subscribe * A SIP UA subscribes to Asterisk for presence * Asterisk creates a subscription and notifies the UA as appropriate * The SIP UA sends a SUBSCRIBE request to re-subscribe for presence * Asterisk refreshes the subscription and sends a NOTIFY request to the SIP UA with the current device state h5. Un-Subscribe * A SIP UA subscribes to Asterisk for presence * 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 | ||
Comments: | By: John Bigelow (jbigelow) 2014-03-11 11:08:53.417-0500 Committed revision 4832. |