[asterisk-dev] [Code Review] 4413: Testsuite: Simulate phones and control from YAML.

jbigelow reviewboard at asterisk.org
Wed Feb 11 00:31:57 CST 2015


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

Review request for Asterisk Developers.


Repository: testsuite


Description
-------

Pluggable modules to place, receive, and transfer (blind/attended) calls to simulate phones using PJSUA and YAML configuration. Calls are placed and/or transferred using the new pluggable action module. This should allow many currrent and future tests to easily send/receive calls to/from Asterisk along with transferring calls within YAML configuration.

See attached file for YAML demo.


Diffs
-----

  /asterisk/trunk/lib/python/asterisk/pluggable_modules.py 6379 
  /asterisk/trunk/lib/python/asterisk/pjsua_mod.py 6379 
  /asterisk/trunk/lib/python/asterisk/phones.py PRE-CREATION 

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


Testing
-------

* Tested placing calls, receiving calls, transfering via blind & attended.
* Pylint score of 9.40/10 for phones.py
* See attached test-config.yaml for a demonstration.


File Attachments
----------------

Demonstration
  https://reviewboard.asterisk.org/media/uploaded/files/2015/02/11/659ab31f-8401-4f24-be5e-da1db0be3156__test-config.yaml


Thanks,

jbigelow

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


More information about the asterisk-dev mailing list