summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2009-10-15Ticket #972: setsockopt compatibility problems on Windows (thanks Yann and ↵Benny Prijono
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
2009-10-14Ticket #881: send UPDATE or re-INVITE after ICE negotiation, if the default ↵Benny Prijono
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
2009-10-14Fixed ticket #971: Assertion in ICE with regular nomination strategy when ↵Benny Prijono
registering timer git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2944 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-14Ticket #970: More gracefull PJSUA-LIB shutdown sequence. Enhancements:Benny Prijono
- 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
2009-10-13Ticket #364: Upon unregistration, (un)REGISTER should be sent only after ↵Benny Prijono
(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
2009-10-13Ticket #968: Fixed WMME factory initialization to just return PJ_SUCCESS ↵Nanang Izzuddin
when no audio device is installed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2941 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-12Ticket #411: Cannot update account presence's status while previous PUBLISH ↵Benny Prijono
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
2009-10-12Related to ticket #411 (Cannot update account presence's status while ↵Benny Prijono
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
2009-10-11Ticket #951 (misc fixes):Benny Prijono
- fixed misc compiler warnings with gcc on Linux git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2938 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-11Ticket #941: Lots of compilation wanings in libg7221 in basic_op.h with gccBenny Prijono
- 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
2009-10-10Ticket #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) - 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
2009-10-09Ticket #966: Bad RPID <person> id attribute generation (thanks Filipe ↵Benny Prijono
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
2009-10-09Ticket #954: Added missing fix in r2933, updating local SE (to a value less ↵Nanang Izzuddin
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
2009-10-09Ticket #954: Updated session timer to tolerate 'bad' SE (less than Min-SE ↵Nanang Izzuddin
specified in request) in 2xx response. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2933 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-09Fixed ticket #917, #936, and #967:Benny Prijono
- #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
2009-10-07More ticket #960: STUN compatibility problem with RFC 3489 servers (in ↵Benny Prijono
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
2009-10-06Ticket #964: Assertion when receiving SDP media with port 0 and without ↵Benny Prijono
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
2009-10-06Ticket #964:Nanang Izzuddin
- 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
2009-10-05Misc fix (#951): WMME dev should zero-fill WAVEFORMATEX as much as ↵Nanang Izzuddin
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
2009-10-01Misc (ticket #951): increase CSeq on retrying MESSAGE request due to 401/407 ↵Benny Prijono
response (thanks Rafael Maia for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2923 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-01Ticket #960: STUN compatibility problem with RFC 3489 servers (in encoding ↵Benny Prijono
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
2009-09-22Fixed ticket #959: Assertion upon receiving malformed SIP messages (thanks ↵Benny Prijono
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
2009-09-10Ticket #958: Fixed missing codec type check in initializing iLBC setting in ↵Nanang Izzuddin
codec_open() of passthrough codec. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2914 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-27Ticket #957: Initial version of TLS transport for Symbian, includes:Nanang Izzuddin
- 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
2009-08-24More #956: added admin commands and html modeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2912 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-23Ticket #956: confbot application, initial versionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2911 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-22Ticket #955 (fixes and enhancements to Python module):Benny Prijono
- allow user to specify either custom body or header in call.send_request(). Previously user has to specify both (thanks Saúl Ibarra for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2910 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-22Ticket #955 (fixes and enhancements to Python module):Benny Prijono
- added acc.send_pager() API to send IM from account to an arbitrary URI (thanks Saúl Ibarra for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2909 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-22Misc (#951): Updated the doxygen comment/documentation in pj_gethostname() ↵Benny Prijono
that specying IPv4 address will fail on some platforms (e.g. Windows). Thanks Robert Cichielo for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2908 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-21Misc (#951): r2906 accidentally left STEREO_DEMO option ON in pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2907 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-21Misc (ticket #951): fixed crash in pjsua application during shutdown with ↵Benny Prijono
STEREO_DEO (thanks Andreas Ahland for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2906 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-20Fixed ticket #953: ICE may find the wrong best candidate (thanks John Ridges ↵Benny Prijono
for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2905 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-20Ticket #952: Error in calculating RTP packet extended header (thanks Thomas ↵Benny Prijono
Falk for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2904 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-19Misc #951: use UPPERCASE characters in transport type in SIP Via header, ↵Benny Prijono
some endpoints complain about it (thanks Tzury Bar Yochay and Alain Totouom for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2903 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Changed version to 1.4-trunkBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2902 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Changed version to 1.4Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2900 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Misc fix (ticket #915): Updated VS2005 pjproject-vs8.sln removing platform ↵Nanang Izzuddin
'mixed platform'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2899 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Misc (ticket #915): removed mention of version number in PJSIP (it's written ↵Benny Prijono
0.5.9!) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2898 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #833: Updated dump-config in pjsua app to include Session Timer ↵Nanang Izzuddin
settings (and 100rel). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2897 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17More ticket #833:Benny Prijono
- special treatment in ICE media transport, since Session Timer refresh when sending re-INVITE doesn't call transport_encode_sdp(), causing the ICE media transport to mistakenly think that it's role is UAS hence it will disable current ICE session git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2896 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #866: Fixed compile error caused by implicit conversion from void* in ↵Nanang Izzuddin
test_stun_on_status(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2895 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #948: Fixed bug Replaces extension stops functioning after the ↵Nanang Izzuddin
library is restarted, by adding deinit module function and register it into atexit. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2894 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #833: Fixed bug session timer won't work properly after pjsua-lib ↵Nanang Izzuddin
restarted, by adding deinit module function for session timer and register the deinit function into atexit. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2893 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Misc (ticket #915): added reload command in pjsua to shutdown and ↵Benny Prijono
reinitialize the library git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2892 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Fixed ticket #974: SRTP stops functioning after the library is restartedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2891 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #833: Updated previous fix for Session Timer (timer callback gets ↵Nanang Izzuddin
pending INVITE is in progress), instead of just quitting the callback, it may be better to reschedule the timer (for five seconds). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2890 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #833: Fixed bug in session timer, timer callback shouldn't perform ↵Nanang Izzuddin
re-INVITE or BYE when there is pending INVITE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2889 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #946: Fixed Symbian address resolver to have PJ_HAS_IPV6 check, so it ↵Nanang Izzuddin
will not try to resolve IPv6 address family when IPv6 is not enabled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2888 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #945: Account config may not get initialized with default values if ↵Benny Prijono
pjsua_acc_config_default() is called before pjsua_init() - added call to pjsua_config_default() in init_data(), so the global config is now initialized in pjsua_create() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2887 74dad513-b988-da41-8d7b-12977e46ad98