summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2010-08-18Automated test (re #1111): modified run_continuous.py script to also do ↵Benny Prijono
Nightly build every day at 00:00 GMT git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3278 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-17Automated testing (re #1111): changed continuous monitoring interval from 1 ↵Benny Prijono
to 5 minutes git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3277 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-17Automated test (re #1111): small fix for make file based test scenariosBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3276 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-16Dummy commit (re #1110)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3270 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-16Automated test (re: #1111): added script to run the test continuouslyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3269 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-16Automated testing (re #1111): added -Wno-unused-label in CFLAGS for ↵Benny Prijono
automated test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3268 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-09Misc (re #1068): fix python self-test module 'mod_recvfrom.py':Nanang Izzuddin
- increased message waiting timeout to 30s (was 10s) - added call_id check in retransmision detection git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3259 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06Misc (re #1068): fix the misleading alien socket error from the SIP python ↵Benny Prijono
self-test module git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3252 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06Misc (re #1068), updates in python test:Nanang Izzuddin
- increased receive buffer size in python test driver function inc_sip.Dialog.wait_msg_from(), the previous buffer size (2048) caused socket exception in receiving large SIP packet. - updated verification regex in scripts-sendto/330_srtp_prefer_rtp_savp.py (related to changes in #668: omitting media attribute in disabled/rejected media). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3251 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-05Misc (re #1068): added pjsua win32 executable name list in python test ↵Nanang Izzuddin
driver (to look up default pjsua executable). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3248 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01Implemented core multipart support and support in the invite session (re #1070)Benny Prijono
- incoming multipart message will be handled automatically - for testing, enable HAVE_MULTIPART_TEST in pjsua_app.c git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3243 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-21Fixes #1047 (Don't send UPDATE if remote doesn't support it (thanks Bogdan ↵Benny Prijono
Krakowski for the report)) and fixes #1097 (Support sending UPDATE without SDP). Details: - Session timer fixes: - will look at remote capability in Allow header - if UPDATE is supported, will send UPDATE without SDP first. If this fails, will send UPDATE with SDP - otherwise will send re-INVITE - PJSUA-LIB will look at dialog's remote capability to determine whether re-INVITE or UPDATE should be sent to change default addresses after ICE negotiation. - pjsip_inv_update() now allows NULL offer, in which case the UPDATE will be sent without SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3215 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-16Fix #1045:Nanang Izzuddin
- Fixed invite module to reset SDP negotiator state after incomplete SDP offer-answer in re-INVITE/UPDATE. - Added some SIPp test scenarios. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3208 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-15Fix #476:Nanang Izzuddin
- Added lock codec feature to make sure that only one codec is active, by updating media session using UPDATE (if remote supports it) or re-INVITE. - Added few SIPp test scenarios. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3206 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Fix #1073:Nanang Izzuddin
- Fixed SDP negotiation in processing answer: when the answer has less media count, generate disabled-media to match the media count. - Added python test. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3195 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Misc (re #1068): fixed python test lib inc_sip.py, wrong member name refered ↵Nanang Izzuddin
in RecvfromTransaction initialization. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3194 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Re #1074: Added python test for SRTP receiving too long key.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3193 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-02Fix #1088:Nanang Izzuddin
- Fixed SDP negotiation to ignore disabled media (with port 0) in the answer. - Added a SIPp scenario for reproducing the issue. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3192 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-29Added exclusion pattern in the unit tests for codecs that are only available ↵Benny Prijono
with IPP (refs #1041) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3151 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-29Refs #1061: added unit test to test handling of empty realm in 401/407 challengeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3150 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-20More ticket #1041 (unit test framework):Benny Prijono
- added support for Intel IPP build configuration and testing git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3143 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-20Misc (#1026):Benny Prijono
- fixed wrong Unix detection in Python automated test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3142 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-30More ticket #1041 (Unit test):Benny Prijono
- Symbian testing (plain, APS/Direct, VAS/Direct) - some MMPs need to be modified to support automated configuration - renamed Write to FileWrite command in scenario files - support for Visual Studio 2010 detection in configure script git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3131 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-27More #1041 (Unit test):Benny Prijono
- Initial work for Symbian targets git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3125 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-27Ticket #1041 (Unit test):Benny Prijono
- Initial Windows/MSVC work git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3122 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-23Ticket #1041:Benny Prijono
- initial work for GNU targets git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3120 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-23Ticket #1031: Automatically handle 423 (Interval Too Brief) response in SIP ↵Benny Prijono
registration (thanks Tomáš Valenta for the suggestion) - implemented in sip_reg.c instead of in PJSUA-LIB, so that the functionality can be reused by non-PJSUA-LIB applications - also added several Python test scripts git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3105 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-03Ticket #998:Nanang Izzuddin
- Updated pjmedia_sdp_parse() to apply direction attribute in session to each media that has no direction attribute (no overriding). - Added python tests. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3086 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-10Misc (#951): Fixed wrong media order in SDP response checking in python test ↵Nanang Izzuddin
script sendto/126. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3011 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-06Fixed ticket #986: Assertion when authorization PJSIP_AUTH_AUTO_SEND_NEXT is ↵Benny Prijono
enabled (thanks Zhefeng Du for the report) - also added SIPp scenario for testing git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2988 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-05Ticket #954: Added sipp test scenario for issue 1 (bad SE in 200 response, ↵Nanang Izzuddin
less than min-SE in request). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2987 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-04Fixed ticket #940: Multiple header rows with the same name may not be ↵Benny Prijono
completely processed by PJSIP modules - the parser now collect and aggregate all Supported/Require header fields into single header git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2985 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-26Implement ticket #982: Support for SIP Message Summary/Message Waiting ↵Benny Prijono
Indication (MWI, RFC 3842) - PJSIP-SIMPLE: - implement MWI - PJSUA-LIB: - added "mwi_enabled" flag in account config - added "on_mwi_info" callback - pjsua app: - added "--mwi" option to enable MWI on account - added simple callback to log the NOTIFY message - other: - added SIPp scenario files to simulate UAS side - build: - added MWI support on VS6, VS2005, MMP, and Makefile git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2968 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-21More ticket #937 (presence revamping):Benny Prijono
- Added couple of SIPp scenario files to test various retry scenarios: - uas-subscribe-refresh-481.xml: client should resubscribe immediately on receiving 481 on resubscription - uas-subscribe-terminated-retry.xml: client should resubscribe upon receiving NOTIFY with some specific termination reasons - Added log message when PJSUA-LIB is resubscribing automatically due to above git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2959 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20Misc (#951): added couple of SIPp scenario XML files for future use:Benny Prijono
- uac-subscribe.xml: generic subscriber - uac-options.xml: send OPTIONS git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2954 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20More ticket #965: Receiving (malformed) re-INVITE with the same Via branch ↵Benny Prijono
parameter value as previous INVITE would raise assertion (thanks Daniel Nanassy for the report) - added the SIPp XML scenario to reproduce this git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2953 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-06Ticket #964: Assertion when receiving SDP media with port 0 and without ↵Benny Prijono
rtpmap attribute for the dynamic payload type formats (thanks Andrey Kovalenko for the report) - added SIPp scenario to test it with re-INVITE - minor: SDP parsing allow the last line without newline (required for SIPp) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2927 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-06Ticket #964:Nanang Izzuddin
- Fixed creating media answer in SDP negotation to just clone the offer (and update media direction) when media offer specifies port 0 (media inactive). - Added pjsua python test. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2926 74dad513-b988-da41-8d7b-12977e46ad98
2009-09-22Fixed ticket #959: Assertion upon receiving malformed SIP messages (thanks ↵Benny Prijono
Andrey Kovalenko for the report) - transaction checks for the method before processing incoming ACK request - transport layer checks the validity of status code in the response - added SIPP scenario to reproduce the bad ACK request git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2915 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Misc (#915): several fixes on the python unit tests on Linux:Benny Prijono
- added Makefile for cmp_wav and modified the test script - test 999: MESSAGE without body is now allowed git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2884 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-11Ticket #833:Nanang Izzuddin
- Initial version of Session Timers (RFC 4028). - Added new options in pjsua app to configure Session Timers settings. - Added python tests for Session Timers. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2858 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-16Ticket #920: New pjsystest application for testing target system/device. ↵Benny Prijono
Initial work on Win32 and WM git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2835 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30Related to #911:Benny Prijono
- added SIPp scenario for scenario when the first NOTIFY immediately terminates the subscription git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2823 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30Ticket #911: Crash when receiving NOTIFY after subscription is terminated ↵Benny Prijono
(thanks Johan Lantz for the report) - fixed the bug by not processing the NOTIFY if the subscription is already terminated - also added SIPp scenario to reproduce the bug git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2822 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Ticket #862: Updated pjsua python test for srtp with crypto tag zero.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2765 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-28Ticket #760: Enhancements to PUBLISH management (thanks Johan Lantz for the ↵Benny Prijono
suggestion) - Changes in PJSUA-LIB - retry with fresh request on 412/Conditional Request Failed response - changed default Expires in PUBLISH request to none (we will not put Expires), to avoid getting 423/Interval Too Brief response - if the PUBLISH fails for any reason, it will be retried on every PJSUA_PRES_TIMER (default 300 seconds), similar to how failed SUBSCRIBE will be retried - Changes to publish.h: - added API to add headers in every PUBLISH request - Added test scenario in Python unit tests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2661 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27Ticket #693: Allow incoming MESSAGE request without message bodyBenny Prijono
- also added SIPp scenario to test this git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2651 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27Ticket #798: UAC disconnect call when receiving BYE in early state (thanks ↵Benny Prijono
Gang Liu for the suggestion) - UAC now handles the BYE, and treat it as out-of-order disconnect request, meaning that it will disconnect the call - it will also activate timer to terminate the INVITE transaction, in case final response never arrives - added SIPp UAS scenario to test this - also added forked 200/OK response SIPp scenario, - and fixed the prack_fork.xml SIPp scenario git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2650 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-26Fixed ticket #503: Handle the case when CANCEL is responded with 200/OK but ↵Benny Prijono
487 is not sent - added new API pjsip_tsx_set_timeout() - set 64*T1 timeout after CANCEL is initiated - also added SIPp scenario to simulate the UAS git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2646 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06Misc (ticket #772): added SIPp scenario for forked PRACKBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2576 74dad513-b988-da41-8d7b-12977e46ad98