[asterisk-dev] [Code Review] testsuite: SIP TLS Registration Test

Paul Belanger reviewboard at asterisk.org
Fri Aug 26 12:22:12 CDT 2011


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



/asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast1/manager.general.conf.inc
<https://reviewboard.asterisk.org/r/1317/#comment7696>

    not needed, it is assumed.



/asterisk/trunk/tests/channels/SIP/sip_tls_register/run-test
<https://reviewboard.asterisk.org/r/1317/#comment8136>

    You don't need to define '/tmp/asterisk-testsuite/' for the working directory, the Aserisk() class with append it.


- Paul


On July 13, 2011, 11:49 a.m., jrose wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1317/
> -----------------------------------------------------------
> 
> (Updated July 13, 2011, 11:49 a.m.)
> 
> 
> Review request for Asterisk Developers and Paul Belanger.
> 
> 
> Summary
> -------
> 
> Test for TLS SIP registration. It's probably still a little rough, but I think it's working fairly well.
> 
> It's based off of the call test and in fact performs much of what is in that test during the test, but obviously some additions were needed in order to test registration.  Registration attempts are made from one Asterisk instance to two others, one of which is intended to succeed and the other intended to fail.  AMI is used to determine the results of those actions.
> 
> 
> Diffs
> -----
> 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_call/configs/ast1/sip.conf 1716 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast1/extensions.conf PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast1/manager.general.conf.inc PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast1/sip.conf PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast1/sip_helper.inc PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast2/extensions.conf PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast2/manager.general.conf.inc PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast2/sip.conf PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast2/sip_helper.inc PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast3/extensions.conf PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast3/manager.general.conf.inc PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast3/sip.conf PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/ast3/sip_helper.inc PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/helper1 PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/helper2 PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/helper3 PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/ca.cfg PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/ca.crt PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/ca.key PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/serverA.crt PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/serverA.csr PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/serverA.key PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/serverA.pem PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/serverB.crt PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/serverB.csr PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/serverB.key PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/serverB.pem PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/configs/keys/tmp.cfg PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/run-test PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/test-config.yaml PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/sip_tls_register/test-output.txt PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/tests.yaml 1716 
> 
> Diff: https://reviewboard.asterisk.org/r/1317/diff
> 
> 
> Testing
> -------
> 
> Tested for registration with bad passwords, tested what would happen if no registration was made, tested registration to the wrong IPs, basically just tested a lot of different scenarios for registration.
> 
> 
> Thanks,
> 
> jrose
> 
>

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


More information about the asterisk-dev mailing list