[asterisk-dev] [Code Review] 2699: chan_gulp tests: Test nominal inbound registrations with a single contact

jbigelow reviewboard at asterisk.org
Thu Jul 25 18:33:06 CDT 2013


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

Review request for Asterisk Developers.


Repository: testsuite


Description
-------

This test sends registrations using a single contact with and without authentication over IPv4/IPv6 and UDP/TCP. This is to ensure that only a single contact is added to the AOR for each defined endpoint. This covers test #1 of the nominal inbound registrations listed on the test plan page of the wiki.

A single ast_test_suite_event_notify was added to res_sip_registrar.c to make this test possible. See review 2700 (https://reviewboard.asterisk.org/r/2700/)


Diffs
-----

  /asterisk/trunk/tests/channels/gulp/registration/inbound/tests.yaml PRE-CREATION 
  /asterisk/trunk/tests/channels/gulp/registration/inbound/nominal/tests.yaml PRE-CREATION 
  /asterisk/trunk/tests/channels/gulp/registration/inbound/nominal/single_contact/unauthed/test-config.yaml PRE-CREATION 
  /asterisk/trunk/tests/channels/gulp/registration/inbound/nominal/single_contact/unauthed/sipp/register-noauth.xml PRE-CREATION 
  /asterisk/trunk/tests/channels/gulp/registration/inbound/nominal/single_contact/unauthed/configs/ast1/res_sip.conf PRE-CREATION 
  /asterisk/trunk/tests/channels/gulp/registration/inbound/nominal/single_contact/tests.yaml PRE-CREATION 
  /asterisk/trunk/tests/channels/gulp/registration/inbound/nominal/single_contact/authed/test-config.yaml PRE-CREATION 
  /asterisk/trunk/tests/channels/gulp/registration/inbound/nominal/single_contact/authed/sipp/register-auth.xml PRE-CREATION 
  /asterisk/trunk/tests/channels/gulp/registration/inbound/nominal/single_contact/authed/configs/ast1/res_sip.conf PRE-CREATION 
  /asterisk/trunk/tests/channels/gulp/registration/tests.yaml PRE-CREATION 
  /asterisk/trunk/tests/channels/gulp/tests.yaml 3960 

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


Testing
-------

* Ensured the tests fail if:
- the Test Events aren't received or do not match.
- the contact header in the 200 OK isn't what is expected
* Review logs to ensure that the registrations were using all the combinations of IPv4/IPv6 and UDP/TCP.


Thanks,

jbigelow

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130725/46ecb95f/attachment.htm>


More information about the asterisk-dev mailing list