[asterisk-dev] [Code Review]: TestSuite: Add tests for codec negotiation

opticron reviewboard at asterisk.org
Thu Oct 20 13:58:00 CDT 2011



> On Oct. 20, 2011, 1:52 p.m., mjordan wrote:
> > asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/multistream.xml, line 97
> > <https://reviewboard.asterisk.org/r/1520/diff/2/?file=21198#file21198line97>
> >
> >     Why is this optional?  I would have thought that sending two stream types we should expect a 488 at some point.
> >     
> >     If this is required, apply this comment to the other tests as well.

This is one of two possible correct outcomes.  Either Asterisk should throw a 488 and reject the offer or respond correctly.


On Oct. 20, 2011, 1:52 p.m., opticron wrote:
> > I'm assuming you've tested this with the existing udptl / t38 tests as well

Yes, I ran the changes this test depends on through the T.38 tests that already exist and saw no change in behavior.  Unfortunately, committing these tests will have to wait until the underlying code changes get more testing.


- opticron


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


On Oct. 12, 2011, 1:09 p.m., opticron wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1520/
> -----------------------------------------------------------
> 
> (Updated Oct. 12, 2011, 1:09 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> Add codec and stream negotiation tests for varying single stream, incompatible stream, and multistream situations. This requires the changes in https://reviewboard.asterisk.org/r/1516/ to pass since it corrects several issues with how Asterisk deals with SDP.
> 
> 
> Diffs
> -----
> 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/configs/ast1/extensions.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/configs/ast1/sip.conf PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/run-test PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/avt_streams.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/decline_incompat_audio.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/decline_incompat_text.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/decline_incompat_video.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/multistream.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/orderstream.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/single_audio.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/single_image.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/single_image_inverse.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/single_text.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/single_text_inverse.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/single_video.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/sipp/single_video_inverse.xml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/codec_negotiation/test-config.yaml PRE-CREATION 
>   asterisk/trunk/tests/channels/SIP/tests.yaml 2515 
> 
> Diff: https://reviewboard.asterisk.org/r/1520/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> opticron
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20111020/04e71d96/attachment-0001.htm>


More information about the asterisk-dev mailing list