[asterisk-dev] [Code Review] chan_iax2 consumption test for ACLs

jrose reviewboard at asterisk.org
Fri Jul 13 16:44:13 CDT 2012


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

Review request for Asterisk Developers, Mark Michelson, opticron, and Matt Jordan.


Summary
-------

Just like the SIP test, only Iaxy.

Tests calls made with IAX2 peers using different addresses against different ACLs.  Includes tests for the following:

1. Single ACL set via permit/deny
2. Single ACL set via acl=named_acl
3. Multiple ACLs set via acl=named_acl1,named_acl2,...
4. A bad ACL set via acl=<unavailable ACL name>
5. Multiple ACLs set from a realtime SQLite3 db via acl=realtime1,realtime2,...


Diffs
-----

  /asterisk/trunk/tests/iax2/acl_call/test-config.yaml PRE-CREATION 
  /asterisk/trunk/tests/iax2/tests.yaml 3312 
  /asterisk/trunk/tests/iax2/acl_call/run-test PRE-CREATION 
  /asterisk/trunk/tests/iax2/acl_call/configs/ast1/acl.conf PRE-CREATION 
  /asterisk/trunk/tests/iax2/acl_call/configs/ast1/extconfig.conf PRE-CREATION 
  /asterisk/trunk/tests/iax2/acl_call/configs/ast1/extensions.conf PRE-CREATION 
  /asterisk/trunk/tests/iax2/acl_call/configs/ast1/iax.conf PRE-CREATION 
  /asterisk/trunk/tests/iax2/acl_call/configs/ast1/modules.conf PRE-CREATION 
  /asterisk/trunk/tests/iax2/acl_call/configs/ast1/res_config_sqlite3.conf PRE-CREATION 
  /asterisk/trunk/tests/iax2/acl_call/realtime.sqlite3 UNKNOWN 

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


Testing
-------

1. Ran the test itself and made sure the expected log messages appeared
2. Changed some test expectations to see how it would handle results differing from expectations.


Thanks,

jrose

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


More information about the asterisk-dev mailing list