-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4077/
-----------------------------------------------------------

(Updated Oct. 24, 2014, 11:53 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 5773


Repository: testsuite


Description
-------

This tests unregistering outbound registrations that are registered using the 
PJSIPUnregister AMI action. It ensures that Asterisk sends a REGISTER message 
with an Expires header of '0' upon executing the PJSIPUnregister AMI action and 
that AMI Registry events are present with a status of "Unregistered". The test 
uses all combinations of IPv4/IPv6 and UDP/TCP.

Upon an outbound registration registering, the PJSIPUnregister action is 
executed to unregister it. SIPp is used as the registrar to respond when 
Asterisk registers and unregisters where the Expires header is checked. 

Note: This test currently fails due to the following Asterisk bugs:
* https://issues.asterisk.org/jira/browse/ASTERISK-24411
* https://issues.asterisk.org/jira/browse/ASTERISK-24414

The SIPp scenario contains a pause at the end to work around ASTERISK-24414 for 
the time being. The 'expectedResult' property is set within the YAML file to 
expect the test to fail (and thus pass) while ASTERISK-24411 is unresolved 
however there appears to be a bug in testsuite as it's still marked as failed.


Diffs
-----

  
/asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/unauthed/test-config.yaml
 PRE-CREATION 
  
/asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/unauthed/sipp/unregister.xml
 PRE-CREATION 
  
/asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/unauthed/configs/ast1/pjsip.conf
 PRE-CREATION 
  
/asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/tests.yaml
 PRE-CREATION 
  /asterisk/trunk/tests/channels/pjsip/registration/outbound/tests.yaml 5726 

Diff: https://reviewboard.asterisk.org/r/4077/diff/


Testing
-------

* Ran test in a shell loop 300 times without failure (with patch for Asterisk 
applied from ASTERISK-24411 and work around for ASTERISK-24414)
* Ran test several times without patch applied from ASTERISK-24411 which 
constantly failed as expected.
* Ran test several times without work around for ASTERISK-24414 which 
frequently failed as expected.


Thanks,

jbigelow

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to