summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-24Ticket #1032:Nanang Izzuddin
- Initial version of server domain name verification: - Updated SSL certificate info, especially identities info - Updated verification mechanism as in the specifications in ticket desc. - Added server domain name info in pjsip_tx_data. - Added alternative API for acquiring transport and creating transport of transport factory to include pjsip_tx_data param. - Server identity match criteria: - full host name match - wild card not accepted - if identity is URI, it must be SIP/SIPS URI - Initial version of transport state notifications: - Added new API to set transport state callback in PJSIP and PJSUA. - Defined states: connected/disconnected, accepted/rejected, verification errors. - Minors: - Updated SSL socket test: dump verification result, test of requiring client cert, and few minors. - Updated test cert to include subjectAltName extensions. - Added SSL certificate dump function. - Updated max number of socket async operations in Symbian sample apps (RSocketServ::Connect()) to 32 (was default 8). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3106 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-23Ticket #1031: Automatically handle 423 (Interval Too Brief) response in SIP ↵Benny Prijono
registration (thanks Tomáš Valenta for the suggestion) - implemented in sip_reg.c instead of in PJSUA-LIB, so that the functionality can be reused by non-PJSUA-LIB applications - also added several Python test scripts git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3105 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-19Misc (#1026): added svn_add.bat and svn_pset.bat, utilities to add new ↵Benny Prijono
source files to repository git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3104 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-19More ticket #1038: added to VS6 and VS2005 projectsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3103 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-19Implemented ticket #1038: null audio deviceLiong Sauw Ming
* pjmedia-audiodev: * implement null audio device * build: * added null audio support on MMP, and Makefile (TODO: vs6 and vs2005) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3102 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-18Fixed minor bug (#1026): custom ICE priority table must not assign greater ↵Benny Prijono
priority for SRFLX than PRFLX candidate type (thanks Saúl Ibarra Corretgé for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3101 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-17More ticket #1028: fixed compile error caused by corrupted version of ↵Benny Prijono
passthrough.c when re-commiting r3074 (in r3078). (note: this changeset was originally done by nanang, recheckedin due to moving svn repository) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3100 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-12More ticket #1009: Initial support for IPP on MacBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3099 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-11More ticket #1018:Liong Sauw Ming
* Immediately process response body after receiving the header. * Fix GET method when Content-Length header is not specified. * Fix checking when HTTP request is cancelled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3098 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-10Ticket #1009: Support for IPP 6.1 on LinuxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3097 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-10Ticket #995: Send un-PUBLISH when pjsua_acc_set_registration(FALSE) is ↵Benny Prijono
called (thanks Johan Lantz for the suggestion) - in this implementation, when pjsua_acc_set_registration(FALSE) is called, the un-REGISTER request will be sent immediately after un-PUBLISH, unlike the process during shutdown where the un-REGISTER request will be sent only after un-PUBLISH transaction is complete git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3096 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-10More ticket #1018: fixed some more warnings about pointer conversions, or ↵Benny Prijono
errors if the library is compiled in C++ mode (thanks Atik Khan for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3095 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-10Fixed ticket #1011: "Invalid operation step" assertion when TCP is usedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3094 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-10Misc (#1026): swap the order fo --dis-codec and --add-codec execution in ↵Benny Prijono
pjsua, so that user can now enable specific codecs git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3093 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-10More ticket #1018: fixed warning about incompatible pointer typesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3092 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-09Fixed ticket #1034: Crash on accepting a call with no codec in the SDP offerBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3091 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-08More ticket #1033:Benny Prijono
- fixed the problem that caused ACK not to be sent. This happened when TCP switching is used, and the TCP fails to send the request. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3090 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-05Misc (#1018):Liong Sauw Ming
* httpdemo: make the 2nd parameter (output filename) optional (result will be printed to stdout if output file is not provided. * remove trailing "\n" from PJ_LOG. * change response.status_code from pj_str_t to pj_uint16_t. * remove PJ_EPENDING status checking from on_complete. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3089 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-05Misc (#1026): PJLIB does not return the correct error code when TCP ↵Benny Prijono
connection fails on Linux git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3088 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-04Implemented ticket #1018: Simple HTTP client implementationLiong Sauw Ming
* pjlib-util: * implement http_client * pjlib-util-test: * unit test for http_client * pjsip-apps/samples: * sample http client implementation * build: * added http_client support on VS6, VS2005, MMP, and Makefile git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3087 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-03Ticket #998:Nanang Izzuddin
- Updated pjmedia_sdp_parse() to apply direction attribute in session to each media that has no direction attribute (no overriding). - Added python tests. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3086 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-01Ticket #766:Nanang Izzuddin
- Applied patch provided by Bram Kuijvenhoven related to truncation issue in floating-point to integer type-casts in pjmedia components. - Original patch proposal and description can be found here: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-January/010258.html. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3085 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-29More ticket #1033:Benny Prijono
- fix for r3071: added protection for case when TSX_HAS_PENDING_TRANSPORT flag is set to the transaction but pending_tx is NULL, causing crash git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3084 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-29Ticket #1028:Nanang Izzuddin
- Updated codecs docs, more detail info about codec settings. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3083 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-29More ticket #1037:Benny Prijono
- bug in aligning pointer if sizeof(long) is less than sizeof(void*). Thanks John Ridges for pointing this out git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3082 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-29Fixed ticket #1037: Memory pool alignment error when alignment is set to be ↵Benny Prijono
greater than the default (thanks John Ridges for the report): - fixed the pool allocation routines in PJLIB, - add alignment test in pjlib-test (only useful if PJ_POOL_ALIGNMENT is configured in config_site.h), - fixed other pool tests in pjlib-test which are broken when PJ_POOL_ALIGNMENT is enlarged git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3081 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-28Ticket #1028 (minor):Nanang Izzuddin
- Fixed missing pjmedia_codec_mgr_destroy() in pjmedia_endpt_destroy(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3080 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-27Initial implementation of ticket #1016: Native Linux ALSA audio device ↵Benny Prijono
backend implementation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3079 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-27Ticket #1028: Recommit r3074 with updated codec.h.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3078 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-27Fixed ticket #1036: Stray timer may be registered by SIP TCP and TLS ↵Benny Prijono
transport in destroy routine, which could crash the program on Symbian (thanks Tamàs Solymosi for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3077 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-27Fixed ticket #1035: Crash in timer heap cleanup sequence on Symbian if the ↵Benny Prijono
pool for the timer entry is released beforehand (thanks Tamàs Solymosi for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3076 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-26Undo r3074 for ticket #1028 as it is missing updated codec.h hence causing ↵Benny Prijono
build errors (thanks Michael Bradley Jr for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3075 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-26Ticket #1028:Nanang Izzuddin
- Added new API pjmedia_codec_mgr_set_default_param() to set/update default codec parameter and implemented pjsua_codec_set_param() based on it. - Added mutex in codec manager to protect states manipulations. - Modified API pjmedia_codec_mgr_init() to add pool factory param. - Added new API pjmedia_codec_mgr_destroy(). - Updated passthrough codec AMR to regard peer's mode-set setting. - Fixed VAS audio device to apply AMR encoding bitrate setting. - Fixed IPP codec codec_open() to update AMR bitrate info (for stream) when AMR encoding bitrate is not using the default, e.g: requested by peer via format param 'mode-set' in SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3074 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-25Misc fix (#1026): incoming call event is not detected by PocketPJ sample ↵Benny Prijono
application git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3073 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-25Misc (#1026): missed PLC availability check in stream get_frame_ext().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3072 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-25Initial commit for #1033: Assertion error when shutting down PJSIP while ↵Benny Prijono
TCP/TLS connect is in progress and a transaction is waiting git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3071 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-21Misc (#1026): initialize display field of SIP name address to NULL, as some ↵Benny Prijono
libc library (mingw with gcc4, msvcrt) has some problem with sprintf with zero length and invalid pointer (thanks Klaus Darilion for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3070 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-21Fixed ticket #1030: Missing To tag in out-of-dialog response (thanks Rui ↵Benny Prijono
Macedo for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3069 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-21Ticket #1029: Fix support for multiple (event) subscriptions in a single ↵Benny Prijono
dialog (thanks Wang Eric for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3068 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-21Related to #969: make maximum PLC generated frames configurable ↵Benny Prijono
(PJMEDIA_MAX_PLC_DURATION_MSEC) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3067 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-20Ticket #1026: Wrong endianness detection for Motorola m68k architecture in ↵Benny Prijono
pj/config.h (thanks Andreas Wehrmann for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3066 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-20Ticket #969:Nanang Izzuddin
- implemented progressive discard algorithm, discard rate is calculated from ratio of effective size to effective burst level. - updated jbuf to clarify prefetch and burst level distinction, previously they are stored in same var, i.e: prefetch, while the semantic is actually different. - updated STABLE_HISTORY_LIMIT in jbuf, it is now 20 (was 100), to adjust burst level faster. - added test case of periodic-spike-burst-case in jbtest.dat for testing the new algorithm. - updated stream to limit the rate of jbuf empty/lost log messages, it will only log first empty/lost event, then log again once jbuf returning normal frame (also counter of previous empty/lost frames). - minor updates on jbuf.c: variable names, logs, added burst to jbuf state. - minor updates on jbuf_test.c: handle comment in test session header, seq jump is now 20 (was 5000). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3065 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-15Small bug in ticket #1025, which caused build error related to PortAudio in ↵Benny Prijono
Mac OS X git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3064 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-15Ticket #694: work on 'make install':Benny Prijono
- adhere to --prefix - header and lib files installation - pkgconfig creation - also added version.mak to fill in with the correct version git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3063 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-14More #1025 (support for using external third party libraries): Benny Prijono
- support for using external libspeex and libgsm - replaced --with-pa-path with --with-external-pa git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3062 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-14Ticket #1027: Fixed stream to skip (frame.buf!=NULL) checking when frame ↵Nanang Izzuddin
type is PJMEDIA_FRAME_TYPE_EXT before passing the frame to encoder. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3061 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-14Misc (#1026): remove the code that silently set SO_SNDBUF/SO_RCVBUF as it's ↵Benny Prijono
not that useful and it would print error message on many platforms that don't support it, causing many questions from users git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3060 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13Initial fixes for #993 (OpenSolaris issues)Benny Prijono
- configure script patch for FIONBIO and SIOCGIFFLAGS errors git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3059 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13Ticket #1025: Support for using different PortAudio installation/pathBenny Prijono
- added --with-pa-path configure option - remove the use of PaUtil_SetDebugPrintFunction() since this is not always available across all PA versions (?) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3058 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13Initial OpenBSD fixes (#994):Benny Prijono
pjlib: - Autoconf fixes in detecting header availability - Undefined sched_get_priority_max() and sched_get_priority_min() - protect with #ifdef _POSIX_PRIORITY_SCHEDULING, and - return hardcoded (0, 31) if __OpenBSD__ macro is declared - Better GUID generation pjlib-test: - Reduce the loop in PJILB activesock test - Fixed bug in ioqueue unregistration test which caused assertion error in destroying mutex pjlib-util-test: - Fixed bug in pjlib-util resolver test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3057 74dad513-b988-da41-8d7b-12977e46ad98