Age | Commit message (Collapse) | Author |
|
- 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
|
|
- 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
|
|
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
|
|
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
|
|
- 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
|
|
- 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
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2965 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2964 74dad513-b988-da41-8d7b-12977e46ad98
|
|
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
|
|
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
|
|
Kovalenko for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2961 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- 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
|
|
- 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
|
|
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
|
|
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
|
|
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
|
|
before media channel initialization.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2955 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- 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
|
|
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
|
|
Robert Cichielo for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2952 74dad513-b988-da41-8d7b-12977e46ad98
|
|
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
|
|
- 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
|
|
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
|
|
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
|
|
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
|
|
John Ridges for the reports)
- set PJ_SOL_IP, PJ_SOL_TCP, and PJ_SOL_UDP to IPPROTO_IP, IPPROTO_TCP, and IPPROTO_UDP respectively on Windows
- also added PJ_TCP_NODELAY and PJ_SO_REUSEADDR
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2946 74dad513-b988-da41-8d7b-12977e46ad98
|
|
candidate has changed
- done
- added pj_ice_strans_state (to be used for informational purposes for now)
- added pjmedia ICE transport specific info, and display it in call dump output
- misc fixes (changed pjmedia_transport_info.spec_info_cnt from int to unsigned)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2945 74dad513-b988-da41-8d7b-12977e46ad98
|
|
registering timer
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2944 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- wait for unregistration to complete (or a preconfigured delay expires)
- new account config field to set the maximum delay to wait for unregistration
- rejects incoming requests (INVITE, SUBSCRIBE, and OPTIONS) when shutdown is in progress
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2943 74dad513-b988-da41-8d7b-12977e46ad98
|
|
(un)PUBLISH has completed successfully
- wait for unpublication to complete or some delay expires, before sending unregistration
- added unpublish_max_wait_time_msec field in account config to control how long to wait
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2942 74dad513-b988-da41-8d7b-12977e46ad98
|
|
when no audio device is installed.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2941 74dad513-b988-da41-8d7b-12977e46ad98
|
|
is in progress (thanks Olivier Beytrison for the report)
- enable request queueing. If PUBLISH is to be sent while another one is still in progress, queue the request and send it later when the ongoing request completes
- this behavior is controlled by new pjsip_publishc_opt structure to control session's options
- default behavior is to queue the request
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2940 74dad513-b988-da41-8d7b-12977e46ad98
|
|
previous PUBLISH is in progress):
- Crash in timer if publication session is terminated prematurely. To reproduce: publish two events in quick successions, e.g. by pressing "t" in pjsua couple of times. The publication session will be terminated with PJ_EBUSY status, and crash may occur when timer heap is polled.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2939 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- fixed misc compiler warnings with gcc on Linux
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2938 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- set default inlining behavior for all basic_op functions to disabled
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2937 74dad513-b988-da41-8d7b-12977e46ad98
|
|
parameter value as previous INVITE would raise assertion (thanks Daniel Nanassy for the report)
- also fix possible crashes when UAS transaction initialization fails for some reason
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2936 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Figueiredo for the report)
- make sure the id starts with letter
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2935 74dad513-b988-da41-8d7b-12977e46ad98
|
|
than local Min-SE) should also update local Min-SE.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2934 74dad513-b988-da41-8d7b-12977e46ad98
|
|
specified in request) in 2xx response.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2933 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- #917: CANCEL may be sent to different servers than the INVITE when DNS SRV is used (thanks Alexei Kuznetsov for the report)
- #936: CANCEL must be sent with TCP if the INVITE was sent with TCP because of 1300 bytes message size/MTU limit (thanks Johan Lantz for the report)
- #967: Wrong Route header generation in CANCEL request with strict route
Save the server address(es) found by resolution process to tx_data, which is copied to CANCEL request. CANCEL request then uses this address rather than starting a fresh server resolution.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2932 74dad513-b988-da41-8d7b-12977e46ad98
|
|
encoding SERVER-NAME or SOFTWARE attribute)
- rollback the previous fix in r2916 since it is broken. It fails various authentication scenarios due to alignment of USERNAME attribute
- this fix only applies old alignment rule to SERVERNAME attribute or when STUN magic is not used in the message
- also disabled test vectors from draft-denis-behave-rfc3489bis-test-vectors-02, it fails with this fix
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2928 74dad513-b988-da41-8d7b-12977e46ad98
|
|
rtpmap attribute for the dynamic payload type formats (thanks Andrey Kovalenko for the report)
- added SIPp scenario to test it with re-INVITE
- minor: SDP parsing allow the last line without newline (required for SIPp)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2927 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed creating media answer in SDP negotation to just clone the offer (and update media direction) when media offer specifies port 0 (media inactive).
- Added pjsua python test.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2926 74dad513-b988-da41-8d7b-12977e46ad98
|
|
WAVEFORMATEX struct size, instead of just PCMWAVEFORMAT size, as it potentially leads to WAVERR_BADFORMAT when it is used in opening audio device (thanks Johan Lantz for the report).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2925 74dad513-b988-da41-8d7b-12977e46ad98
|
|
response (thanks Rafael Maia for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2923 74dad513-b988-da41-8d7b-12977e46ad98
|
|
SERVER-NAME or SOFTWARE attribute)
- now always set string attribute's length to 4-bytes aligned
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2916 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Andrey Kovalenko for the report)
- transaction checks for the method before processing incoming ACK request
- transport layer checks the validity of status code in the response
- added SIPP scenario to reproduce the bad ACK request
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2915 74dad513-b988-da41-8d7b-12977e46ad98
|
|
codec_open() of passthrough codec.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2914 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Secure socket, generic abstraction and Symbian implementation (using CSecureSocket).
- Initial rewriting of SIP TLS transport.
- Updated symbian_ua.mmp to support SIP transport TLS (experimental).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2913 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2912 74dad513-b988-da41-8d7b-12977e46ad98
|