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
Nanang Izzuddin
acb3e3250e
Ticket #543 : Updated mod_pseq & mod_media_playrec.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2052 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 18:18:32 +00:00
Nanang Izzuddin
b40e28724f
Ticket #543 : added mod pesq & mod media playrec to runall.py, also added some more wav files
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2051 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 15:05:21 +00:00
Nanang Izzuddin
9a6e835935
Ticket #543 : added initial WAV files for test input
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2050 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 14:31:05 +00:00
Benny Prijono
0b4c57b8de
Fixed ticket #550 : PRACK is not re-sent on 401/407 challenge (thanks Josh Benson)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2049 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 10:15:01 +00:00
Nanang Izzuddin
8eb914196d
More ticket #542 : Updated default capture latency (tested OK on Vista 64bit for WMME & dsound)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2048 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-24 11:32:42 +00:00
Benny Prijono
8d67fba513
Fixed crash in ICE when adding peer reflexive candidate
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2047 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-23 22:17:26 +00:00
Benny Prijono
ed416b59dc
Fixed bug in TURN when sending Send Indication
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2046 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-21 18:30:47 +00:00
Benny Prijono
8a2b59d4ac
Optimize TURN client to send Send Indication without allocating a pool
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2045 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-21 17:52:17 +00:00
Benny Prijono
074db79551
Added more API to initialize STUN message and attributes without pool
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2044 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-21 17:51:31 +00:00
Benny Prijono
b8ad0e433b
Fixed bug in ICE: packet is not sent when ICE is not running (remote has no ice) and TURN is set as default candidate
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2043 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-21 14:13:24 +00:00
Benny Prijono
d6aea36a80
Added pjnath_test, pjturn_client, and pjturn_server projects in VS6 workspace
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2042 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-21 12:41:18 +00:00
Benny Prijono
7ce74135ed
Fixed bug with authenticating STUN messages when unrecognized/unknown non-mandatory STUN attribute is present in the message
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2041 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-21 12:36:56 +00:00
Benny Prijono
3fdf3f6ec4
Peers use STUN mapped address instead of local address in TURN client sample
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2040 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-21 10:18:49 +00:00
Benny Prijono
32177c0418
Large changeset to replace all occurences of year 2007 with 2008 in the copyright notice
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 22:44:47 +00:00
Nanang Izzuddin
b6133fb805
More ticket #543 : added PESQ test
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2038 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 21:45:50 +00:00
Benny Prijono
5b64b8df4b
Updated doxygen documentations
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2037 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 21:39:02 +00:00
Nanang Izzuddin
e6f85fb750
More ticket #543 : added SRTP tests on scripts-sendto
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2036 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 17:43:55 +00:00
Benny Prijono
df008d3e28
Make SDP parser more lenient by ignoring first newlines.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2035 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 00:31:49 +00:00
Benny Prijono
3190f69413
Set svn attributes on new test script files
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2034 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 00:29:17 +00:00
Benny Prijono
7d578a7bd5
More ticket #543 : added mod_sendto.py to send arbitrary INVITE request
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2033 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 00:25:55 +00:00