summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-09Misc fix (#951): Fixed pjsua bug RTP timestamp & sequence resetted after ↵Nanang Izzuddin
hold-resume (thanks Nikolay Popok for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2996 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09Ticket #988: Aray bounds checking in SDP functions (thanks Mark Webster for ↵Benny Prijono
the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2995 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09More #957 (TLS): updated pj_perror() with the new PJ_PERROR() APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2994 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09More #950 (QoS): updated with the new pj_perror() syntaxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2993 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09Updated ticket #981: pj_perror() and PJ_PERROR() API:Benny Prijono
- added PJ_PERROR() macro to allow compile time omitting - changed pj_perror() API to allow formatting of the title using printf like format - added a simple test in pjlib-test - updated Doxygen documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2992 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-08Misc (#951): some fixes for pjsystest application:Benny Prijono
- added the missing build target on the Makefile build system - added alternative search path for the WAV files git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2991 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-06Ticket #957:Nanang Izzuddin
- Updated Symbian PJLIB test build setting to enable SSL sock test. - Fixed ciphers enumeration in Symbian SSL sock. - Fixed OpenSSL SSL sock to avoid initializing OpenSSL multiple times. - Fixed SSL unit test to avoid divide-by-zero in setting random seed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2990 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-06Ticket #957: Workaround fix for SSL socket specific related to ticket #985.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2989 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-06Fixed ticket #986: Assertion when authorization PJSIP_AUTH_AUTO_SEND_NEXT is ↵Benny Prijono
enabled (thanks Zhefeng Du for the report) - also added SIPp scenario for testing git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2988 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-05Ticket #954: Added sipp test scenario for issue 1 (bad SE in 200 response, ↵Nanang Izzuddin
less than min-SE in request). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2987 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-04Ticket #957:Nanang Izzuddin
- Applied workaround solution for getting local address problem with getsockname on win IOCP by using parent local address instead. - Fixed SSL socket not to return PJ_FALSE in active socket accept callback, to keep accepting connections. - Applied workaround solution for OpenSSL error mapping, as OpenSSL error codes are big numbers that won't fit pj_status_t. - Minor updates, e.g: using pj_perror(), removing some logs, OpenSSL error print callback. - Minor updates on SSL unit test, e.g: start_read() before start sending, additional ioqueue poll to cleanup sockets, add timeout feature to https client test. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2986 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-04Fixed ticket #940: Multiple header rows with the same name may not be ↵Benny Prijono
completely processed by PJSIP modules - the parser now collect and aggregate all Supported/Require header fields into single header git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2985 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-04Fixed ticket #975: Symbian timer heap implementation unable to schedule ↵Benny Prijono
duration more than 2100 seconds (thanks Nir Elkayam for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2984 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-04Misc fix (#951): Fixed possible random/unexpected pairs generated in ioqueue ↵Nanang Izzuddin
tcp unit test (such case was occured when test was performed using IOCP ioqueue on Vista). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2983 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-04More ticket #972: setsockopt options compatibility on various platforms: ↵Benny Prijono
pjlib-test failed on socket test because SOL_SOCKET is defined by Windows Platform SDK as 0xFFFF git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2982 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-03Ticket #957:Nanang Izzuddin
- Added SSL socket performance test. - Added incompatible SSL proto test. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2981 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-03Ticket #984: Minor fix of compile warning of unused arg.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2980 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-03Ticket #984: Fixed active socket to pass updated/correct descriptors in ↵Nanang Izzuddin
invoking accept callback for the application. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2979 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-30Misc fixes (#951): renamed mips variable in pjmedia MIPS test since it ↵Benny Prijono
conflicts with some internal name in MIPS target (thanks Antonio Anton for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2978 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-29Ticket #983: make native WMME the default audio device on Windows and ↵Benny Prijono
Windows Mobile: - increase default playback latency (PJMEDIA_SND_DEFAULT_PLAY_LATENCY) to 140ms for Win32 and 160ms for WM - set default PJMEDIA_SOUND_BUFFER_COUNT to (PJMEDIA_SND_DEFAULT_PLAY_LATENCY+20)/20 rather than hardcoded 6 - disable PA from audiodev on Win32 and WM git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2977 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-29More ticket #982: added MWI support for PythonBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2976 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-29Misc fix (#951): Fixed pjmedia Makefile build config to clean ↵Nanang Izzuddin
pjmedia-audiodev component properly. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2975 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-28More ticket #982: updated VS6 project with the mwi.[hc]Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2974 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-28Ticket #957: Updated PJSIP_HAS_TLS_TRANSPORT default value to refer to ↵Nanang Izzuddin
PJ_HAS_SSL_SOCK. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2973 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-28Ticket #957: Removed DTLS proto in SSL socket with OpenSSL backend as it ↵Nanang Izzuddin
hasn't been really supported yet. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2972 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-27Ticket #957: Nanang Izzuddin
- Fixed SSL socket unit test issues (mostly on Linux platform): let OS manage the binding port (specify port to 0), use pj_sockaddr_get_len() instead of sizeof() for sockaddr size, DOS eol format for certificate and private key files. - Temporary fix for SSL_CTX_use_certificate_chain_file() false error alarm (after previous OpenSSL handshake error), by clearing OpenSSL thread error queue in reset_ssl_sock_state() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2971 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-26Ticket #957:Nanang Izzuddin
- Added features in secure socket: handshake timeout timer, certificate info, renegotiation API. - Added unit test for secure socket, along with testing purpose certificate & private key. - Updated build configs for secure socket. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2970 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-26Misc fix (#951): Updated active socket to keep passing the packet pointer, ↵Nanang Izzuddin
instead of NULL, when connection is closed/error and no remainder data, as application, e.g: SSL sock, may need to have access on it. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2969 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-26Implement ticket #982: Support for SIP Message Summary/Message Waiting ↵Benny Prijono
Indication (MWI, RFC 3842) - PJSIP-SIMPLE: - implement MWI - PJSUA-LIB: - added "mwi_enabled" flag in account config - added "on_mwi_info" callback - pjsua app: - added "--mwi" option to enable MWI on account - added simple callback to log the NOTIFY message - other: - added SIPp scenario files to simulate UAS side - build: - added MWI support on VS6, VS2005, MMP, and Makefile git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2968 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25More ticket #950 (QoS):Benny Prijono
- fixed wrong DSCP field operation with sock_qos_bsd.c backend - tested on Linux for SIP (UDP/TCP), UDP RTP/RTCP, and ICE - renamed 801_1_P names to SO_PRIO - changed a bit of doxygen documentation (the title etc) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2967 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25Initial commit for ticket #950: QoS support:Benny Prijono
- implementation: - PJLIB (sock_qos*.*) - added QoS support in: - SIP UDP transport, - SIP TCP transport, - media UDP transport (done in pjsua-lib), - pjnath ICE stream transport, - pjnath STUN socket, - pjnath TURN client - added QoS options in pjsua-lib: - QoS fields in pjsua_transport_config - added "--set-qos" parameter in pjsua Notes: - QoS in TLS transport is not yet implemented, waiting for #957 - build ok on VS6, VS2005 (multiple targets), Carbide, and Mingw - no run-time testing yet git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2966 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25Ticket #981: new pj_perror() utility APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2965 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-24More ticket #972: SOL_UDP is not set properly on LinuxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2964 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-24Fixed ticket #980: Memory pool alignment error when alignment is set to be ↵Benny Prijono
greater than 4 bytes (thanks John Ridges for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2963 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-24More ticket #972: fixed compilation error on Linux due to the last ↵Benny Prijono
introduction ot PJ_TCP_NODELAY. Everyone needs to re-run configure though (thanks Dan Arrhenius for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2962 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-22Fixed ticket #979: Crash when printing Retry-After header (thanks Andrey ↵Benny Prijono
Kovalenko for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2961 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-21More #937 (presence):Benny Prijono
- added protection to not resubscribe immediately if initial SUBSCRIBE is responded with 481 for some reason git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2960 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-21More ticket #937 (presence revamping):Benny Prijono
- Added couple of SIPp scenario files to test various retry scenarios: - uas-subscribe-refresh-481.xml: client should resubscribe immediately on receiving 481 on resubscription - uas-subscribe-terminated-retry.xml: client should resubscribe upon receiving NOTIFY with some specific termination reasons - Added log message when PJSUA-LIB is resubscribing automatically due to above git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2959 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20Ticket #978: Fixed noise in APS G.729 playback/decoding on some devices by ↵Nanang Izzuddin
adopting G.729 SID/DTX frame handling from VAS implementation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2958 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20Fixed ticket #977: ICE does not change role to Controlling when talking to ↵Benny Prijono
ice-lite agents (thanks Amaresh Marekar for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2957 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20Initial commit for ticket #937: Revamping of presence management to make it ↵Benny Prijono
more efficient Presence enhancements: - finer grained buddy lock object, instead of using global PJSUA-LIB's mutex - individual resubscription timer for buddies and also add random delay interval so that resubscriptions don't happen simultaneously (may hog processing and bandwidth). - in general reduced the use of global PJSUA-LIB's mutex for more efficiency - added last termination code in buddy info - use the RPID note's text for buddy's offline status rather than the default "offline" status, if available - resubscribe automatically on several termination causes as explained in the ticket (still untested) General enhancements: - added pjsua_schedule_timer() and pjsua_cancel_timer() APIs git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2956 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20Ticket #976: Fixed pjsua_call_make_call() to associate call with account ↵Nanang Izzuddin
before media channel initialization. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2955 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20Misc (#951): added couple of SIPp scenario XML files for future use:Benny Prijono
- uac-subscribe.xml: generic subscriber - uac-options.xml: send OPTIONS git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2954 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20More ticket #965: Receiving (malformed) re-INVITE with the same Via branch ↵Benny Prijono
parameter value as previous INVITE would raise assertion (thanks Daniel Nanassy for the report) - added the SIPp XML scenario to reproduce this git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2953 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20More ticket #972: compilation problem with IPPROTO_IPV6 constant (thanks ↵Benny Prijono
Robert Cichielo for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2952 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-16Ticket #954 (issue no 2): Updated session timer to process 2xx response in ↵Nanang Izzuddin
mod_inv state handlers (was in mod_inv_on_rx_response()). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2951 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-16Ticket #957:Nanang Izzuddin
- Added SSL socket abstraction with OpenSSL backend. - Updated cipher data type and added cipher constants (Symbian SSL socket has also been updated). - Updated SIP TLS transport to allow setting certificate/credential (via file). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2950 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-15Misc (#951): pool that is used to add missing ";lr" parameter in the Route ↵Benny Prijono
URI is not destroyed in PJSUA-LIB, causing potential memory leak git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2949 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-15Fixed ticket #974: Crash if ICE session is destroyed by the application ↵Benny Prijono
inside "on_ice_complete" with an PJ_ICE_STRANS_OP_NEGOTIATION op callback (thanks John Ridges for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2948 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-15Fixed ticket #973: pj_ioqueue_accept() fails on Windows NT IOCP backend if ↵Benny Prijono
connection is immediately available and the "local" parameter is NULL (thanks John Ridges for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2947 74dad513-b988-da41-8d7b-12977e46ad98