[asterisk-dev] [Code Review] 2796: Testsuite: sip_hold_direct_media adaptations for Asterisk 12

svnbot reviewboard at asterisk.org
Wed Aug 28 17:17:32 CDT 2013


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

(Updated Aug. 28, 2013, 5:17 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers, Joshua Colp, kmoore, Matt Jordan, and Mark Michelson.


Changes
-------

Committed in revision 4096


Bugs: ASTERISK-22217
    https://issues.asterisk.org/jira/browse/ASTERISK-22217


Repository: testsuite


Description
-------

On Friday I committed a patch which addressed some bugs with holding in Asterisk 12 while using native RTP bridges and directmedia. As part of that effort, the SIP hold tests in the testsuite were split up and divided into tests which used direct media and tests which didn't use direct media. At the time, Asterisk 12 failed the tests which used direct media. This patch fixes those tests by making the test use Asterisk 12 specific sipp scenarios (which were based on the existing scenarios). The main difference between the Asterisk 12 scenarios and their older counterparts was always just the addition of more expected invites and responses to those invites on account of how directmedia is established in Asterisk 12 both during the initial setup.


Diffs
-----

  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/sipp/phone_B_media_restrict.xml 4089 
  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/sipp/phone_B_IP_restrict.xml 4089 
  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/sipp/phone_B_IP_media_restrict.xml 4089 
  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/sipp/phone_A_IP_restrict.xml PRE-CREATION 
  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/run-test 4089 
  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/sipp/inject_bypass.csv 4089 
  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/sipp/phone_A.xml 4089 

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


Testing
-------

Ran modified tests against Asterisk 12.
Ran modified tests against Asterisk 11.

Repeated this process many times to make sure the results were consistent.
Tracked the invites in 12 against the code that was generating them.


Thanks,

jrose

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


More information about the asterisk-dev mailing list