summaryrefslogtreecommitdiff
path: root/pjlib/src
AgeCommit message (Collapse)Author
2006-09-25Version 0.5.8Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@739 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22In pjsua, outgoing REFER now always put Refer-Sub: falseBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@733 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17Added pool for allocating memory from the stack bufferBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@725 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Applied temporary fix to error code returned by pj_gethostbyname(). Under ↵Benny Prijono
*nix, the error code is returned in h_errno, and the error string is reported by hstrerror(). But it is a bit too complex to support this for the moment, so we just return PJ_ERESOLVE for any failure returned by gethostbyname() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@722 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by ↵Benny Prijono
adding a new API pj_gethostip() to resolve the default local IP address of local host. This new function will work even when local hostname resolution is not set correctly, by detecting the default IP interface in the system. Also fix compile warnings in iLBC. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13SIP methods are now compared case-sensitively (previously it was ↵Benny Prijono
case-insensitive) because the standard says so. There's no ill effect of the old behavior, but it's still important that we do things according to what the standard says. Also a little change in string implementation (use memcmp() instead of strncmp()), an increase the version number from 0.5.7.6 to 0.5.7.7. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@713 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-12Fixed mutex leaking in Linux: pj_mutex_destroy() will fail to destroy the ↵Benny Prijono
mutex if the mutex is currently being held. Unfortunately it is quite common in the libraries to acquire the mutex first before destroying it, causing mutexes to leak. The solution is to retry unlocking/destroying the mutex several times (currently 4) while pthread_mutex_destroy() returns EBUSY git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@708 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10Fixed autoconf in mingwBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@699 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15Support for PUBLISH (RFC 3903):Benny Prijono
- API BREAK: pjsua_pres_create_uac() API CHANGED!! Added options in the function, to allow creating SUBSCRIBE without ";id=" parameter in the Event header. - the generic event publication in pjsip-simple/publish.[hc] - split PIDF and X-PIDF body generation and parsing into pjsip-simple/presence_body.c. - allow NULL in module parameter in pjsip_endpt_add_capability() - added "--publish" option in PJSUA. - by default, PJSUA-LIB will not add ";id=" parameter in Event header in the SUBSCRIBE request since lots of server and user agents don't support this correctly. - Set version to 0.5.7.6. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@685 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15Fixed yet another bug for 64bit target: error in initializing caching pool ↵Benny Prijono
because internal pool size is too small. Increased by 256 bytes. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@684 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-12Improved logging consistency and added more logging info in verbosity 6Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@675 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-11Added pj_thread_is_registeredBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@674 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-11Increased width for sender column in log message, and added additional check ↵Benny Prijono
in pj_thread_register() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@672 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-10Removed copyright info from pj_timer_heap [hc], and explain more about ACEBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@669 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07Added --auto-conf options in pjsua, also enable speex/3200, and set quality ↵Benny Prijono
5 to use large resampling filter git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@659 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-01Fix PJLIB on WinCE:Benny Prijono
- Added CPU and OS autodetection feature in config.h. For target CPU type, now we don't need to specify PJ_M_* anymore. - Fix stricmp_alnum() link error on WinCE - Exclude error message test on WincE, since WinCE doesn't have full error reporting capability as Win32. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@640 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 ↵Benny Prijono
chars (from 16), and check all those sprintf's especially the ones with "%p" format. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23Added 64bit Linux target (x86_64), also fixed compilation warnings when ↵Benny Prijono
compiling for this target git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@624 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23Improvement/bug fix in hash table lookup to allow user to specify the hash ↵Benny Prijono
value, and modify transaction to take advantage of this feature git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@623 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18Increased version number to 0.5.7!Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@614 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18Fixed several bugs related to TCP:Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@610 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10Fixed several bugs in WinNT IOCP: (1) accept() does not return correct ↵Benny Prijono
addresses, (2) handle error condition when accept() returns -1 as the new socket git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@599 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10Fixed bug in PJSUA API re: account selection and Contact header for accountsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@597 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-09Added feature to report peak memory used in caching poolBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@594 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-08Attempted to fix epoll for LinuxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@592 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-06Fixed link errors in ioqueue epoll backendBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@590 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-06Improve the search for correct size in caching poolBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@588 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03Various performance improvements in PJSIP: (1) optimizing for common case to ↵Benny Prijono
minimize stricmp() calls (header names, method, URI schemes), (2) added functionality in scanner to parse and unescape in-place, (3) etc.. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@583 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03Change all pj_memset to pj_bzero(), where applicableBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03Fixed minor bug in pool_caching.c that prevent pool from being reused if the ↵Benny Prijono
capacity has changed when the pool is released git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@581 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03PJLIB will print the exception name when there is an unhandled exceptionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@577 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28Major improvements in PJSIP to support TCP. The changes fall into these ↵Benny Prijono
categories: (1) the TCP transport implementation itself (*.[hc]), (2) bug-fix in SIP transaction when using reliable transports, (3) support for TCP transport in PJSUA-LIB/PJSUA, and (4) changes in PJSIP-TEST to support TCP testing. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@563 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28Fixed bug in ioqueue IOCP: accept() callback is called with new socket ↵Benny Prijono
handle already reset to -1 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@559 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28Fixed bug in sockaddr_in: the sin_zero part of the sockaddr_in is not ↵Benny Prijono
zeroed, causing SIP transport hash table to behave erraticly git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@557 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-26Added Winsock error code to the error messageBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@552 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22Fixed bug: ioqueue should return error when send()/sendto() is called while ↵Benny Prijono
previous operation on the same op_key has not finished git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@536 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22Added the error code into error messagesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@534 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19Set log message level to error (=1) when message is too longBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@522 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-17Modifications all over the place, but mainly only to update Doxygen ↵Benny Prijono
documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@515 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-15Cleanup misc compilation warnings with gccBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@509 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13-- REWRITE OF PJSUA API --Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@503 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-21Fixed MacOS X buildBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@468 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14Changed default sound back-end on Win32 to own DirectSoundBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@445 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-13Another major modifications in PJMEDIA:Benny Prijono
- handle multiple frames in one packet - split stream creation into two steps to allow customization - PLC framework and implementation with G.711 and speex - stream returns NO_FRAME correctly. - added ptime argument in pjsua git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@438 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-11Removed rwmutex implementation to os_rwmutex.cBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@434 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-10Merge-in RTEMS port patch by Phil Torre <ptorre@zetron.com>, alpha release.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@433 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29Fixed bug in event subscription when it is challenged/authenticatedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@424 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29Released version 0.5.5Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@423 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29Improve codec handling in pjsua cmd-line options, and add URI to callBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@422 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-28Increase the maximum number of formats in SDP media line (from 16 to 32)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@419 74dad513-b988-da41-8d7b-12977e46ad98