Commit Graph

1892 Commits

Author SHA1 Message Date
Benny Prijono 35f5ce9e79 Fixed compilation warnings on gcc-4.2.3
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2103 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-04 23:49:44 +00:00
Benny Prijono b1f62f4ac4 Updated mips_test.c after running on ARM
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2102 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-04 23:43:10 +00:00
Benny Prijono 0ff56dcfed Added MIPS benchmark in pjmedia-test, and loopback media transport to assist the stream testing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2101 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-04 16:45:17 +00:00
Benny Prijono 4999dbfa94 Fixed crash in stream.c when it tries to send RTCP BYE when stream initialization fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2100 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-04 16:39:58 +00:00
Benny Prijono 943ce2a5dd Fixed bug in SRTP regarding startup flags evaluation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2099 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-04 16:25:19 +00:00
Nanang Izzuddin 78238b320d Added module circular buffer (circbuf.h) to pjmedia
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2098 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-04 09:28:04 +00:00
Benny Prijono d38b414826 Fixed VS 2005 dependency for samples project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2097 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-02 15:18:13 +00:00
Benny Prijono 6ae55becaa Added gdi32.lib and advapi32.lib into pjsua VC 2005 input libraries specs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2096 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-02 15:17:48 +00:00
Benny Prijono 0e9f762648 Ticket #553: PUBLISH callback is not called when authentication fails (thanks Ruud Klaver for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2095 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-01 19:11:55 +00:00
Benny Prijono e10db84646 Ticket #552: Added TLS server name extension to support connecting to multi-hosted SIP TLS server (thanks Klaus Darilion for the suggestion)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2094 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-01 15:31:59 +00:00
Benny Prijono 6c0bdf49de Changed version to 0.9.0-trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2093 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-01 15:15:58 +00:00
Benny Prijono 149ebfe726 Updated PJ_VERSION to 0.9.0-release
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2091 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-28 21:19:27 +00:00
Benny Prijono b036fdf0b9 Fixed build error on Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2090 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-28 14:48:10 +00:00
Benny Prijono e78676b0f7 Removed old PLC setting from pjmedia/config.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2089 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-28 14:47:41 +00:00
Nanang Izzuddin ffa18c9a60 Updated PESQ test to save the WAV output on failure and report the PESQ target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2088 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-28 00:52:20 +00:00
Benny Prijono cb1185633e Updated python test readme doc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2087 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-28 00:40:17 +00:00
Benny Prijono 0fe5acff88 Fixed crash when handling incoming MESSAGE request without message body but with Content/Type set (thanks Anshuman S. Rawat)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2086 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-28 00:39:58 +00:00
Nanang Izzuddin 038effe333 Fixed wrong variable name for number of failed tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2085 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-28 00:00:10 +00:00
Benny Prijono 1e65e9ade0 Added stdout buffering option in Python tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2084 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 23:53:00 +00:00
Nanang Izzuddin e19e0e091f Removed userdata param in callback funcs of mod_media_playrec.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2083 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 22:47:33 +00:00
Nanang Izzuddin 65417bddda Updated runall.py to cleanup the 'logs' directory before test; fixed log ext name; added report num of tests performed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2082 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 22:15:41 +00:00
Benny Prijono ab8dba93e3 Added more Python tests: offer with multiple media lines
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2081 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 21:59:15 +00:00
Benny Prijono 036911bdc4 Added the ability to send a complete/arbitrary SIP INVITE message in mod_sendto.py Python test script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2080 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 21:22:12 +00:00
Benny Prijono a310bd2edd Fix handling of multiple media lines in the incoming SDP offer. Now pjsua-lib will be able to select the best media line to handle
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2079 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 21:19:44 +00:00
Nanang Izzuddin a680bd6fcc Ticket #543:
- added options to run.py
 - passing options in runall.py to run.py
 - removing userdata in module callback functions




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2078 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 21:12:12 +00:00
Benny Prijono f6a5ac5538 Media session should not reject the whole SDP when it receives SDP with unknown media
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2077 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 18:48:22 +00:00
Benny Prijono 934f03b729 Fixed assertion when parsing incoming SDP which is not properly terminated with CRLF
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2076 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 18:47:05 +00:00
Nanang Izzuddin 9869cb5cbb Ticket #543:
- Fixed bug of calculating clock interval which should include channel count
 - Added L16 codecs including stereo
 - Added WAV files for stereo tests



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2075 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 16:18:13 +00:00
Nanang Izzuddin 81e9bd52cd Fixed minor bug on ptime calculation on player creation; Updated pjsua-app info on ports ptime and default capture latency
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2074 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 12:52:51 +00:00
Nanang Izzuddin 72778f2f01 Fixed session.c incorrectly parsing channel count from SDP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2073 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 12:41:56 +00:00
Benny Prijono 129b8b06a2 Fixed extra '/' character when encoding stereo codecs (thanks Gianluca Crucillà)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2072 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 10:45:40 +00:00
Benny Prijono e4ddeecf0f python testing: fixed slow test performance due to expecting wrong text in mod_call.py, and exclude PUBLISH tests in runall.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2071 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 08:51:55 +00:00
Benny Prijono 8ca401465a Rearrange the commands in mod_pres.py to make it work
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2070 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 22:20:54 +00:00
Benny Prijono ddd02de5b5 echo command in pjsua can be used to print any text, and this is used to better synchronize stdout in Python test apps
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2069 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 22:20:11 +00:00
Benny Prijono 9bc3c18e23 Added test duration in runall.py output, and add public ICE in excluded tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2068 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 22:17:33 +00:00
Benny Prijono 4d0da3aa38 Added option to disable stdout buffering in pjsua, and adjust the python tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2067 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 20:23:47 +00:00
Benny Prijono 632be0a2f5 Added various tests with invalid SDP and other SIP parameters
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2066 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 19:51:01 +00:00
Benny Prijono 2c484e499f Fixed assertion in invite session when INVITE has bad SDP because the SDP is given without having been validated first
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2065 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 19:47:23 +00:00
Nanang Izzuddin 4375f90047 Ticket #544: Fixed SRTP on hold+reinvite scenario
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2064 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 19:12:09 +00:00
Nanang Izzuddin 9eac547221 Ticket #543: Updated PESQ to start/stop manually stream/record instead of using auto-rec/play/hangup, and also updated thresholds
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2063 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 18:52:16 +00:00
Benny Prijono 5242a423c9 Set universal_newlines=False in run.py, and added failed UPDATE scenario in mod_call.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2062 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 16:27:17 +00:00
Benny Prijono 88accae905 Specifying star in codec selection will select all codecs. Fixed the codec selection in codec.c to select all codecs when empty string is given.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2061 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 15:48:14 +00:00
Benny Prijono 2331d20dcc Fixed bug: media got deactivated when SDP negotiation fails on re-INVITE or UPDATE while it should be unaffected
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2060 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 15:46:52 +00:00
Benny Prijono 62a969c920 Added PRACK tests and ICE with public proxy tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2059 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 13:29:29 +00:00
Benny Prijono b2ad04a288 Do no disconnect invite session if authentication fails for requests within dialog. Also clears up inv->invite_tsx if re-INVITE fails with authentication error, otherwise it will not be able to send further re-INVITEs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2058 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 13:24:10 +00:00
Nanang Izzuddin 6ee166d43f Ticket #543: Updated PESQ test, sound device used only by one side to avoid contention
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2057 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 12:26:52 +00:00
Benny Prijono fd072893fe Changed log verbosity of STUN unrecognized attribute log from 4 to 5 since we now put unrecognized attribute in a generic container anyway
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2056 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 09:51:17 +00:00
Benny Prijono 8a3fc3bbf7 Replaced WAV files for automated testing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2055 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 23:26:28 +00:00
Benny Prijono a18dad99c8 Optimize the number of characters written to SDP by ICE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2054 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 21:16:46 +00:00
Benny Prijono 61fc5e6aa2 Fixed assertion error when resending re-INVITE after it is challenged with 401/407, and also fixed error when the invite session is not retrying the BYE request when it is challenged with 401/407
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2053 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 18:35:31 +00:00