[asterisk-dev] [Code Review]: 'directrtpsetup' option test

Joshua Colp reviewboard at asterisk.org
Sat Nov 17 10:23:29 CST 2012



> On Nov. 15, 2012, 3:33 p.m., opticron wrote:
> > /asterisk/trunk/tests/channels/SIP/directrtpsetup/sipp/phone_A.xml, line 45
> > <https://reviewboard.asterisk.org/r/2185/diff/2/?file=32162#file32162line45>
> >
> >     You can add this after the </recv> to avoid the obscure use of strcmp:
> >     <Reference variables="1"/>

Changed.


> On Nov. 15, 2012, 3:33 p.m., opticron wrote:
> > /asterisk/trunk/tests/channels/SIP/directrtpsetup/sipp/phone_B.xml, line 8
> > <https://reviewboard.asterisk.org/r/2185/diff/2/?file=32163#file32163line8>
> >
> >     You can add this after the </recv> to avoid the obscure use of strcmp:
> >     <Reference variables="1"/>

Changed.


> On Nov. 15, 2012, 3:33 p.m., opticron wrote:
> > /asterisk/trunk/tests/channels/SIP/directrtpsetup/test-config.yaml, line 21
> > <https://reviewboard.asterisk.org/r/2185/diff/2/?file=32164#file32164line21>
> >
> >     Is there anything preventing this from running on earlier versions of Asterisk?

Changed to work on 1.8 as well.


- Joshua


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


On Nov. 17, 2012, 10:23 a.m., Joshua Colp wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2185/
> -----------------------------------------------------------
> 
> (Updated Nov. 17, 2012, 10:23 a.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> This test covers the 'directrtpsetup' option present within chan_sip. It creates a call going through Asterisk and examines the SDP to ensure that the address for media is of the caller, and not that of Asterisk. It also examines the answer SDP to confirm that the address for media is that of the called party.
> 
> 
> Diffs
> -----
> 
>   /asterisk/trunk/tests/channels/SIP/directrtpsetup/configs/ast1/extensions.conf PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/directrtpsetup/configs/ast1/sip.conf PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/directrtpsetup/sipp/phone_A.xml PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/directrtpsetup/sipp/phone_B.xml PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/directrtpsetup/test-config.yaml PRE-CREATION 
>   /asterisk/trunk/tests/channels/SIP/tests.yaml 3517 
> 
> Diff: https://reviewboard.asterisk.org/r/2185/diff
> 
> 
> Testing
> -------
> 
> Ran test to confirm it works, purposely broke test to confirm it fails. Ate some toast. It was crunchy.
> 
> 
> Thanks,
> 
> Joshua
> 
>

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


More information about the asterisk-dev mailing list