[asterisk-dev] [Code Review] 4470: Testsuite: Generate UserEvent upon PJsua phones being ready.

jbigelow reviewboard at asterisk.org
Fri Mar 13 10:43:18 CDT 2015


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

(Updated March 13, 2015, 10:43 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers and Mark Michelson.


Changes
-------

Committed in revision 6523


Repository: testsuite


Description
-------

The test that has been modified on this review would sometimes fail due to the PJsua phone not being ready to receive calls even though it had registered to Asterisk. The changes here resolve the issue by generating a UserEvent on all AMI connections when all PJsua phones are ready. Originating calls to the PJsua phones is now triggered by the 'PJsuaPhonesReady' UserEvent instead of the registration event.


Diffs
-----

  /asterisk/trunk/tests/rest_api/applications/channel-subscriptions/originate_to_dialplan/non_local_channels/test-config.yaml 6506 
  /asterisk/trunk/sample-yaml/phones-config.yaml.sample PRE-CREATION 
  /asterisk/trunk/lib/python/asterisk/phones.py 6506 

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


Testing
-------

* Executed each test successfully 50+ times on local system and build agent where the test would sometimes fail.


Thanks,

jbigelow

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


More information about the asterisk-dev mailing list