summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-08-10Re #1842: Updated automated test scenarios to invoke 'make distclean' first.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5156 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-10Re #1842: Added automated test scenarios for Android and iOS 64-bitNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5155 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-14Re #1864: fixed assert and crash when remote remove and add back media lines ↵Nanang Izzuddin
in SDP: - reverted back r5124 (of this ticket) and r4373 (of #1626) - applied another fix for #1626 as in described in the ticket desc - also fixed a related add/remove media issue: - we send an offer with 2 audio and 1 video in SDP - remote answers with only 1 audio in SDP - when we send a re-offer/re-INVITE, we have 5 media lines in our SDP (3 audio + 2 video, note 1 audio and 1 video are disabled) - call settings are actually maintained (2 active audio + 1 active video), just better to avoid the additional disabled media. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5135 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-09Re #1866: Added a test scenario of sending re-invite after a failed SDP ↵Nanang Izzuddin
negotiation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5130 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-16Re #1842: Still on sipp/uac-reinvite-bad-via-branch.xml, fixed missing stuff ↵Nanang Izzuddin
in retry scenario, e.g: sequence number increment, To tag, wait for old tsx destroy. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5072 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-15Re #1842: Workaround for spurious failure in ↵Nanang Izzuddin
sipp/uac-reinvite-bad-via-branch.xml test, i.e: just retry the scenario. The failure is caused by race between SIPp sending re-INVITE vs transaction immediate termination (by SIP INVITE module when the session reaches CONFIRMED state). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5071 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-13Re #1842: Minor update on python test to reduce possibility of EADDRINUSE ↵Nanang Izzuddin
error in running pjsua. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5068 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-13Re #1842: Nanang Izzuddin
- Updated python test driver run.py to perform stdout polling using a dedicated thread, this will increase the robustness of pattern matcing class "Expect" and remove the possibility of stucked pjsua (due to output buffer full when no stdout read polling is done). - Also updated other test driver and scenario accordingly. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5067 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-13Re #1842: Fixed build error on cmp_wav tool for python tests due to changed ↵Nanang Izzuddin
pjmedia format structure in 2.x. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5066 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-13Re #1842: Updated pjsua app to avoid stdout buffering, and also adjusted ↵Nanang Izzuddin
python tests accordingly. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5065 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-24Re #1828 Temporary deactivation of failing tests to be examined in detail ↵Perry Ismangil
later on git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5021 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-24Re #1828 Changed unit test expected to 415 to sync with other code changesPerry Ismangil
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5020 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22Re #1828 disabled pesq testsPerry Ismangil
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5013 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-31Misc (re #1630): Fixed some more typos in the codes.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-04Closed #1696: IP change detection (Contact rewrite method) based on REGISTER ↵Liong Sauw Ming
final response git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4586 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-27More re #1683: added two SIPP scenarios to simulate IP/port changeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4547 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27Fixed #1626: Assertion when remote sends re-INVITE with less mediaLiong Sauw Ming
Included in the fix is sipp testing scenario. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4373 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-29Re #1523: use random port for PJSUA instance(s) and configurable SIPp port.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4188 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-29Re #1523: sipp output redirection to /dev/null somehow caused sipp ↵Nanang Izzuddin
unresponsive when the test is run under cdash. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4187 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-28Re #1523: avoid false failure reported by sipp scenario ↵Nanang Izzuddin
uas-422-then-200-bad-se.xml due to codec mismatch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4184 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-28Re #1523:Nanang Izzuddin
- runall.py: fix option parser - run.py: avoid double newlines in logging - mod_sipp.py: redirect sipp output to /dev/null & add sipp error string - misc fixes on sipp scenarios, e.g: regex to get via branch, file rename. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4183 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-26Re #1523: fixed mod_sipp.py problems in executing sipp on unix/mac ↵Nanang Izzuddin
platforms, i.e: should run on shell and non-background mode. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4179 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-26Re #1523: added sipp scenario for call transfer (attended & unattended).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4178 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-26Close #1523:Nanang Izzuddin
- updated scenarios to work with mod_sipp.py (adding config .py file, etc) - integrated mod_sipp.py to runall.py - removed uas.xml, as it is similar to recvfrom\100_simple.py (REGISTER+resp 200) - renamed scenarios (to allow running these SIPp scenarios without .py file): - prack_fork.xml -> uas-prack_fork.xml - inv_401_retry_after_100.xml -> uas-inv_401_retry_after_100.xml git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4177 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-31Re #1523: Initial version of SIPp python test module.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4147 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3557:r3832 TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19Re #1346 (python test fixes): Disabled (temporarily) ↵Nanang Izzuddin
{{{scripts-call/150_srtp_2_3.py}}} as this scenario requires SRTP optional-with-duplicated-media (ticket #1267). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3717 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19Re #1346 (python test fixes): Updated test scenario that requires pjsua to ↵Nanang Izzuddin
generate multiple media offer using --extra-audio instead of using --use-srtp=3 (optional-with-duplicated-media). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3716 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18Re #1346 (python test fixes): Updated test scenario involving negotiation ↵Nanang Izzuddin
SRTP-mandatory vs SRTP-disabled or vice-versa, call rejection is using 488 now (was using 406). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3713 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18Re #1346 (python test fixes): Updated test scenario involving sending ↵Nanang Izzuddin
REGISTER to pjsua, now pjsua has simple registrar so registration will be accepted (was rejected). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3712 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18Re #1346 (python test fixes): adjust test scenario to follow the new ↵Nanang Izzuddin
behavior of pjsua in selecting active media from multiple media with same types, i.e: it will select the first media (previously/1.x it will will select the last). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3711 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18Re #1346 (python test fixes): Updated string pattern constants as some pjsua ↵Nanang Izzuddin
log messages has been changed in 2.0. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3710 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-16Dummy checkin for testing the automated testing scripts..Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3707 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-16Re #1344 (automated test): make sure run_continuous.py returns correct exit codeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3704 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-16Re #1320 (misc/automated testing): enhanced run_continuous.py with: 1) ↵Benny Prijono
custom group name suffix option 2) one time check option instead of loop 3) force option. Note that this was copied from #1264 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3703 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326: Initial code integration from branch 2.0-dev to trunk as ↵Nanang Izzuddin
"2.0-pre-alpha-svn". git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Misc (re #1175): added protection against broken pipe exception in python ↵Benny Prijono
unit test when handling error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3475 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Fixed #1170 (Assertion when receiving updated SDP offer with all media lines ↵Benny Prijono
removed): - pjsua_media.c checks if audio media is present in the offer; if not, do not set any answer - sip_inv.c checks if app has supplied an answer after on_rx_offer() callback is called, and returnd 488 (Not Acceptable) if not (previously, it will return 200/OK without SDP!) - added a SIPp scenario file to reproduce this git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3383 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Re #1166 (SDP offer/answer glare): added SIPp scenario file to reproduce thisBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3382 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-16Fixed #1148:Nanang Izzuddin
- Added check in processing answer, if media offer port is zero, just skip negotiation process. - Added SIPp test scenario. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3347 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-12Re #1146: minor fix in test file commentsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3338 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-12Closed #1146: support for multipart message bodies in incoming NOTIFY requestsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3337 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-05Fix #1143:Nanang Izzuddin
- Fixed no audio bug when pjsua with SRTP optional-with-duplicated-offer calls pjsua with SRTP disabled, by updating active media index after SDP negotiation done. - Fixed bug in generating SDP, pjsua_media_channel_create_sdp(), by making sure all media in the SDP candidate are aligned with current active SDP before calling pjmedia_transport_encode_sdp(). - Fixed bug in modifying SDP for call hold, the media index to be modified was hardcoded to 0, should be active media index. - Added python tests for calls with SRTP optional-with-duplicated-offer. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3334 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-28Closed #1139 (Support for tel: URI in PJSUA-LIB):Benny Prijono
- added new PJSUA API: pjsua_verify_url() which can be used for tel: URI - modified and tested according to spec - added new PJSIP error code, PJSIP_ENOROUTESET, to indicate that route set is needed to send to tel: URI - added couple of unit tests (we can't cover the whole tel: URI scenario yet) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3323 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-08Re #1120: Fixed session timer python test scripts, pjsua app param ↵Nanang Izzuddin
--use-timer is requiring param value now. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3307 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27More on automated tests (re ticket:1111): work on Visual Studio target, and ↵Benny Prijono
added ability to disable tests in configure.py git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3300 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-26More on automated tests (re ticket:1111): added support for multiple ↵Benny Prijono
Nokia/Symbian SDK installed in one system git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3297 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-25Misc (re #1110): undo accidental checkin of run_continuous.py in previous commitBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3296 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-25Misc (re #1110): force SVN eol-style to LF for files which are to be ↵Benny Prijono
manipulated by the configure script, or otherwise the configure script on msys (mingw) will fail to update them git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3295 74dad513-b988-da41-8d7b-12977e46ad98