[asterisk-dev] [Code Review] external sip attended transfer test
David Vossel
dvossel at digium.com
Mon May 17 14:47:33 CDT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/662/
-----------------------------------------------------------
(Updated 2010-05-17 14:47:33.146758)
Review request for Asterisk Developers.
Changes
-------
This update adds pjsua instructions to README.txt and adds a new SIP one-legged transfer external test.
SIP One-legged Transfer Test
C calls B
B calls A through Asterisk
B transfers C to A. This executes the handle_invite_replaces() function and chan_sip
Check to see if the bridge happened corrected via AMI. This new test has been verified to work with Trunk and 1.4
The segfault in Trunk reported earlier is no longer an issue. (never was actually, I had a local problem on my machine)
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 (updated)
-----
/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