[asterisk-dev] [Code Review] external sip attended transfer test

David Vossel dvossel at digium.com
Mon May 17 15:13:52 CDT 2010



> On 2010-05-17 15:02:41, pabelanger wrote:
> > /asterisk/trunk/README.txt, line 126
> > <https://reviewboard.asterisk.org/r/662/diff/2/?file=10218#file10218line126>
> >
> >     Perhaps we can start using a bin directory in the root directory of test suite? And then create a PATH variable within Perl to references the directory. This will help to get test-suite running as non-root plus do we really need to be installing theses binaries at the OS level?
> >     
> >     This logic would also apply to install asttest, sipp, etc.

It doesn't really matter how this is done.  pjsua just needs to be in PATH.  I should change this to reflect that instead of giving specific directions on how to do it.


- David


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


On 2010-05-17 14:47:33, David Vossel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/662/
> -----------------------------------------------------------
> 
> (Updated 2010-05-17 14:47:33)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> This is an external test to exercise the native sip method of doing attended transfers using the Replaces header.
> 
> A, B, and C are SIP endpoints.
> 
> A calls B
> A calls C
> A transfers B to C
> 
> This test is verified using the 'Status' manager action to make sure the channel's are bridged correctly after the transfer.
> 
> 
> To run this test, pjsip's pjsua app is required.  It can be found here, http://www.pjsip.org/download.htm.  After installing rename and move ..../pjsip-apps/bin/pjsua-x86-unknown-linux-gnu to /usr/sbin/pjsua. This puts pjsua into PATH, and this script expects it to be named 'pjsua'.
> 
> 
> Diffs
> -----
> 
>   /asterisk/trunk/README.txt 295 
>   /asterisk/trunk/tests/sip_attended_transfer/configs/extensions.conf PRE-CREATION 
>   /asterisk/trunk/tests/sip_attended_transfer/configs/manager.conf PRE-CREATION 
>   /asterisk/trunk/tests/sip_attended_transfer/configs/sip.conf PRE-CREATION 
>   /asterisk/trunk/tests/sip_attended_transfer/run-test PRE-CREATION 
>   /asterisk/trunk/tests/sip_attended_transfer/test-config.yaml PRE-CREATION 
>   /asterisk/trunk/tests/sip_one_legged_transfer/configs/extensions.conf PRE-CREATION 
>   /asterisk/trunk/tests/sip_one_legged_transfer/configs/manager.conf PRE-CREATION 
>   /asterisk/trunk/tests/sip_one_legged_transfer/configs/sip.conf PRE-CREATION 
>   /asterisk/trunk/tests/sip_one_legged_transfer/run-test PRE-CREATION 
>   /asterisk/trunk/tests/sip_one_legged_transfer/test-config.yaml PRE-CREATION 
> 
> Diff: https://reviewboard.asterisk.org/r/662/diff
> 
> 
> Testing
> -------
> 
> Tested with 1.4 and Trunk.  Trunk r263541 currently causes this test to segfault, but earlier revisions pass.
> 
> 
> Thanks,
> 
> David
> 
>




More information about the asterisk-dev mailing list