Commit Graph

94 Commits

Author SHA1 Message Date
Benny Prijono c45d951901 Migration of current video works from private repository to this repository. This closed #1176
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3392 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-10 11:04:30 +00:00
Benny Prijono 0324ba5b56 Fixed #1170 (Assertion when receiving updated SDP offer with all media lines 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: https://svn.pjsip.org/repos/pjproject/trunk@3383 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02 10:41:46 +00:00
Benny Prijono 964bbf6f0a Re #1166 (SDP offer/answer glare): added SIPp scenario file to reproduce this
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3382 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02 10:13:46 +00:00
Nanang Izzuddin 7d242bccbb Fixed #1148:
- Added check in processing answer, if media offer port is zero, just skip negotiation process.
 - Added SIPp test scenario.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3347 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-16 04:40:01 +00:00
Benny Prijono 2e4d89bc5f Re #1146: minor fix in test file comments
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3338 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-12 11:43:14 +00:00
Benny Prijono f279c0937d Closed #1146: support for multipart message bodies in incoming NOTIFY requests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3337 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-12 11:35:55 +00:00
Nanang Izzuddin 1e952a88ad Fix #1143:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@3334 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-05 16:32:04 +00:00
Benny Prijono c754578e5d Closed #1139 (Support for tel: URI in PJSUA-LIB):
- 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: https://svn.pjsip.org/repos/pjproject/trunk@3323 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-28 07:43:18 +00:00
Nanang Izzuddin 3387a8e3c1 Re #1120: Fixed session timer python test scripts, pjsua app param --use-timer is requiring param value now.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3307 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-08 05:38:49 +00:00
Benny Prijono 1f3c1b0771 More on automated tests (re ticket:1111): work on Visual Studio target, and added ability to disable tests in configure.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3300 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27 13:27:55 +00:00
Benny Prijono dc4cccad1d More on automated tests (re ticket:1111): added support for multiple Nokia/Symbian SDK installed in one system
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3297 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-26 08:17:01 +00:00
Benny Prijono 6efbf41268 Misc (re #1110): undo accidental checkin of run_continuous.py in previous commit
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3296 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-25 12:57:53 +00:00
Benny Prijono 719e574c09 Misc (re #1110): force SVN eol-style to LF for files which are to be manipulated by the configure script, or otherwise the configure script on msys (mingw) will fail to update them
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3295 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-25 12:51:29 +00:00
Benny Prijono c7d28601b6 re ticket:1111 (more on automated test): added symbian target in prepare.xml@
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3294 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-25 03:53:52 +00:00
Benny Prijono e00f82225c re #1111 (more on automated tests): added prepare.xml scenario to rebuild the test scripts before performing the tests to make sure that they are up to date
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3293 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-25 02:43:56 +00:00
Benny Prijono a991260166 Re #1111 (more on automated tests): another fix on run_continuous.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3291 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-23 15:36:04 +00:00
Benny Prijono 457e18e0ba Re #1111 (more on automate test): small fix on the delay in run_continuous.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3290 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-23 15:34:19 +00:00
Benny Prijono a10b3ddde6 re #1111 (more on automated tests): added delay option in run_continuous.py to prevent more than one scripts from running simultaneously on a single host
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3289 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-23 09:16:03 +00:00
Nanang Izzuddin 878eda4fd6 Automated test (re #1111): fixed test scenario 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: https://svn.pjsip.org/repos/pjproject/trunk@3287 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18 14:30:17 +00:00
Benny Prijono 777cc68e0f Automated test (re #1111): decrease Speex PESQ threshold as it is not always able to achieve that, possibly depending on the host activity
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3286 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18 14:30:15 +00:00
Benny Prijono 1fdc07ce88 Automated test (re #1111): workaround for failed Speex PESQ test caused by progressive discard in the jitter buffer: disable the VAD for the Speex tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3285 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18 11:41:30 +00:00
Benny Prijono 3332e7cbc9 More automated test (re #1111): added simple recvfrom test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3284 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18 07:38:48 +00:00
Benny Prijono 5ba2a9b02d Misc (re #1110): fixed bug in the python unit test that caused tests to run for much longer than needed because it unnecessarily waits for incoming message until timeout occurs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3283 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18 07:37:29 +00:00
Benny Prijono 4b172709a0 Added README.txt in tests/automated directory (re #1111)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3282 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18 04:48:18 +00:00
Benny Prijono 1de150f130 Automated test (re #1111): modified configure.py to detect GNU host instead of always presenting vs (visual studio) as the default host
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3281 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18 04:16:04 +00:00
Benny Prijono 602d27baca Automated test (re #1111): added iPhone test scenario XML file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3280 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18 03:59:36 +00:00
Benny Prijono 20c26f0598 Automated test (re #1111): modified run_continuous.py script to also do Nightly build every day at 00:00 GMT
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3278 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18 03:18:24 +00:00
Benny Prijono a72cdcaefa Automated testing (re #1111): changed continuous monitoring interval from 1 to 5 minutes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3277 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-17 14:53:09 +00:00
Benny Prijono 6272b1a5fd Automated test (re #1111): small fix for make file based test scenarios
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3276 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-17 12:31:56 +00:00
Benny Prijono 4adead2f5d Dummy commit (re #1110)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3270 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-16 12:33:52 +00:00
Benny Prijono a6b3e7cfb5 Automated test (re: #1111): added script to run the test continuously
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3269 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-16 12:18:20 +00:00
Benny Prijono eefb8dab58 Automated testing (re #1111): added -Wno-unused-label in CFLAGS for automated test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3268 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-16 05:58:54 +00:00
Nanang Izzuddin 4cfda67104 Misc (re #1068): fix python self-test module 'mod_recvfrom.py':
- increased message waiting timeout to 30s (was 10s)
 - added call_id check in retransmision detection



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3259 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-09 07:31:34 +00:00
Benny Prijono ceb8d3d51a Misc (re #1068): fix the misleading alien socket error from the SIP python self-test module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3252 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06 01:23:55 +00:00
Nanang Izzuddin 31facfc387 Misc (re #1068), updates in python test:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@3251 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06 01:03:33 +00:00
Nanang Izzuddin 57ab972595 Misc (re #1068): added pjsua win32 executable name list in python test driver (to look up default pjsua executable).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3248 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-05 07:24:40 +00:00
Benny Prijono 1c1d734e05 Implemented core multipart support and support in the invite session (re #1070)
- incoming multipart message will be handled automatically
 - for testing, enable HAVE_MULTIPART_TEST in pjsua_app.c


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3243 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01 09:48:51 +00:00
Benny Prijono a8f9e622f5 Fixes #1047 (Don't send UPDATE if remote doesn't support it (thanks Bogdan 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: https://svn.pjsip.org/repos/pjproject/trunk@3215 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-21 13:28:55 +00:00
Nanang Izzuddin 0fd92673c1 Fix #1045:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@3208 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-16 15:26:18 +00:00
Nanang Izzuddin 93bacd0bfe Fix #476:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@3206 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-15 09:56:39 +00:00
Nanang Izzuddin 1f2f4541fe Fix #1073:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@3195 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03 03:06:03 +00:00
Nanang Izzuddin 160a692a7a Misc (re #1068): fixed python test lib inc_sip.py, wrong member name refered in RecvfromTransaction initialization.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3194 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03 02:58:23 +00:00
Nanang Izzuddin dfe1be2189 Re #1074: Added python test for SRTP receiving too long key.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3193 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03 02:27:41 +00:00
Nanang Izzuddin d61fedcc95 Fix #1088:
- Fixed SDP negotiation to ignore disabled media (with port 0) in the answer.
 - Added a SIPp scenario for reproducing the issue.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3192 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-02 23:56:49 +00:00
Benny Prijono fb52191b3e Added exclusion pattern in the unit tests for codecs that are only available with IPP (refs #1041)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3151 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-29 02:27:23 +00:00
Benny Prijono da0f3e90e8 Refs #1061: added unit test to test handling of empty realm in 401/407 challenge
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3150 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-29 00:23:43 +00:00
Benny Prijono d9998a95d2 More ticket #1041 (unit test framework):
- added support for Intel IPP build configuration and testing


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3143 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-20 10:05:09 +00:00
Benny Prijono 4fa1602dde Misc (#1026):
- fixed wrong Unix detection in Python automated test


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3142 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-20 09:52:54 +00:00
Benny Prijono 3d71eb0fb1 More ticket #1041 (Unit test):
- 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: https://svn.pjsip.org/repos/pjproject/trunk@3131 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-30 13:02:40 +00:00
Benny Prijono 462a67c3c6 More #1041 (Unit test):
- Initial work for Symbian targets


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3125 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-27 07:49:18 +00:00