Commit Graph

108 Commits

Author SHA1 Message Date
Nanang Izzuddin c5da35f9a5 Re #1523: Initial version of SIPp python test module.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4147 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-31 09:51:08 +00:00
Sauw Ming e7dbbc8f30 Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunk
* 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: https://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24 09:28:13 +00:00
Nanang Izzuddin 26b7d44274 Re #1346 (python test fixes): Disabled (temporarily) {{{scripts-call/150_srtp_2_3.py}}} as this scenario requires SRTP optional-with-duplicated-media (ticket #1267).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3717 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19 12:41:40 +00:00
Nanang Izzuddin bb6f57faca Re #1346 (python test fixes): Updated test scenario that requires pjsua to generate multiple media offer using --extra-audio instead of using --use-srtp=3 (optional-with-duplicated-media).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3716 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19 12:24:48 +00:00
Nanang Izzuddin 33380c5beb Re #1346 (python test fixes): Updated test scenario involving negotiation SRTP-mandatory vs SRTP-disabled or vice-versa, call rejection is using 488 now (was using 406).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3713 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18 18:11:08 +00:00
Nanang Izzuddin a1ae1bdec4 Re #1346 (python test fixes): Updated test scenario involving sending REGISTER to pjsua, now pjsua has simple registrar so registration will be accepted (was rejected).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3712 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18 17:34:29 +00:00
Nanang Izzuddin aa967ad7da Re #1346 (python test fixes): adjust test scenario to follow the new 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: https://svn.pjsip.org/repos/pjproject/trunk@3711 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18 17:31:46 +00:00
Nanang Izzuddin 1f18daa69e Re #1346 (python test fixes): Updated string pattern constants as some pjsua log messages has been changed in 2.0.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3710 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18 17:26:11 +00:00
Benny Prijono c2997e7e85 Dummy checkin for testing the automated testing scripts..
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3707 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-16 09:17:22 +00:00
Benny Prijono 00d8e84471 Re #1344 (automated test): make sure run_continuous.py returns correct exit code
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3704 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-16 08:27:38 +00:00
Benny Prijono 304530916f Re #1320 (misc/automated testing): enhanced run_continuous.py with: 1) 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: https://svn.pjsip.org/repos/pjproject/trunk@3703 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-16 06:28:36 +00:00
Nanang Izzuddin fe68f1dc55 Re #1326: Initial code integration from branch 2.0-dev to trunk as "2.0-pre-alpha-svn".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 03:42:28 +00:00
Nanang Izzuddin a62ffc9d03 Re #1250: Updated the year in all copyright texts with 2011!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 06:14:19 +00:00
Benny Prijono a77a0da32d Misc (re #1175): added protection against broken pipe exception in python unit test when handling error
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3475 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23 03:48:13 +00:00
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