[asterisk-dev] [Code Review] 4508: testsuite: Verify PUBLISH support for intra-Asterisk sharing of AstDB information

Matt Jordan reviewboard at asterisk.org
Tue Mar 17 07:14:17 CDT 2015


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

Review request for Asterisk Developers.


Repository: testsuite


Description
-------

This test verifies that Asterisk can share AstDB information with other Asterisk instances using the PJSIP stack. The test does the following:

Two Asterisk instances are started. Both are configured to PUBLISH to each other as well as handle inbound PUBLISH requests from each other for event type "asterisk-db". Both instances of Asterisk create two global shared families, "global_shared" and "filtered_shared", as well as a single unique shared family, "unique_shared". Values are set for keys in each family. Each Asterisk instance then verifies that:
  - The "filtered_shared" family is not updated, due to being filtered out by a regex in the PJSIP configuration
  - The "global_shared" family has keys from both instances
  - Each Asterisk instance has the "unique_shared" key/value from the other Asterisk instance stored in a family corresponding to that instance's EID.


Diffs
-----

  /asterisk/trunk/tests/rest_api/danger/dangerous/test-config.yaml 6506 
  /asterisk/trunk/tests/channels/pjsip/publish/tests.yaml 6506 
  /asterisk/trunk/tests/channels/pjsip/publish/asterisk_event_db/test-config.yaml PRE-CREATION 
  /asterisk/trunk/tests/channels/pjsip/publish/asterisk_event_db/run-test PRE-CREATION 
  /asterisk/trunk/tests/channels/pjsip/publish/asterisk_event_db/configs/ast2/pjsip.conf PRE-CREATION 
  /asterisk/trunk/tests/channels/pjsip/publish/asterisk_event_db/configs/ast2/extensions.conf PRE-CREATION 
  /asterisk/trunk/tests/channels/pjsip/publish/asterisk_event_db/configs/ast1/pjsip.conf PRE-CREATION 
  /asterisk/trunk/tests/channels/pjsip/publish/asterisk_event_db/configs/ast1/extensions.conf PRE-CREATION 
  /asterisk/trunk/lib/python/asterisk/test_case.py 6506 

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


Testing
-------


Thanks,

Matt Jordan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150317/e817e063/attachment.html>


More information about the asterisk-dev mailing list