summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2011-09-08Added support for forking of reliable provisional response (100rel):Benny Prijono
- maintain 100rel state for each call leg (To tag) - added SIPp scenario - note that multiple SDP negotiation in 100rel response from different call leg is not supported. Especially the case when multple offers are sent in the responses are not supported (we're supposed to send answers in PRACKs, but currently we only respond to the first 100rel with SDP). This closes #1364 git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3743 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-16Dummy checkin for testing the automated testing..Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3706 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-16More re #1264 (automated tests)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3705 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-16Re #1264 (automated testing for 1.x): enhanced run_continuous.py with: 1) ↵Benny Prijono
custom group name suffix option 2) one time check option instead of loop 3) force option git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3702 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
2010-08-25re ticket:1111 (more on automated test): added symbian target in prepare.xml@Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3294 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-25re #1111 (more on automated tests): added prepare.xml scenario to rebuild ↵Benny Prijono
the test scripts before performing the tests to make sure that they are up to date git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3293 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-23Re #1111 (more on automated tests): another fix on run_continuous.pyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3291 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-23Re #1111 (more on automate test): small fix on the delay in run_continuous.pyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3290 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-23re #1111 (more on automated tests): added delay option in run_continuous.py ↵Benny Prijono
to prevent more than one scripts from running simultaneously on a single host git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3289 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Automated test (re #1111): fixed test scenario ↵Nanang Izzuddin
scripts-recvfrom/301_timer_good_retry_after_422.py to use separate transaction for ACK (pattern matching was done to ACK, instead of INVITE). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3287 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Automated test (re #1111): decrease Speex PESQ threshold as it is not always ↵Benny Prijono
able to achieve that, possibly depending on the host activity git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3286 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Automated test (re #1111): workaround for failed Speex PESQ test caused by ↵Benny Prijono
progressive discard in the jitter buffer: disable the VAD for the Speex tests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3285 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18More automated test (re #1111): added simple recvfrom testBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3284 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Misc (re #1110): fixed bug in the python unit test that caused tests to run ↵Benny Prijono
for much longer than needed because it unnecessarily waits for incoming message until timeout occurs git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3283 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Added README.txt in tests/automated directory (re #1111)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3282 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Automated test (re #1111): modified configure.py to detect GNU host instead ↵Benny Prijono
of always presenting vs (visual studio) as the default host git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3281 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Automated test (re #1111): added iPhone test scenario XML fileBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3280 74dad513-b988-da41-8d7b-12977e46ad98
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