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

jrose reviewboard at asterisk.org
Mon Aug 26 15:18:38 CDT 2013


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

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


Bugs: https://issues.asterisk.org/jira/browse/ASTERISK-22217
    https://issues.asterisk.org/jira/browse/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_12_media_restrict.xml PRE-CREATION 
  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/sipp/phone_B_12_IP_restrict.xml PRE-CREATION 
  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/sipp/phone_B_12_IP_media_restrict.xml PRE-CREATION 
  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/sipp/phone_A_12_type2.xml PRE-CREATION 
  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/sipp/phone_A_12.xml PRE-CREATION 
  /asterisk/trunk/tests/channels/SIP/sip_hold_direct_media/run-test 4044 

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/20130826/49462bb3/attachment.htm>


More information about the asterisk-dev mailing list