summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-25Version 0.5.8 web releasev0.5.8Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/tags/0.5.8@741 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25Fixed misleading log message from the sound port about EC being suspended ↵Benny Prijono
when actually there's no EC being used. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@740 74dad513-b988-da41-8d7b-12977e46ad98
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-25Tests with other user agents revealed some bugs whichBenny Prijono
have been fixed below: - some UAs sends "telephone-event/8000/1" instead of "telephone-event/8000", which caused SDP negotiation to fail. Fixed in sdp_neg.c. - codec name was (incorrectly) compared case-sensitively, causing negotiation to fail. Fixed in sdp_neg.c. - Also improved error reporting in SDP negotiation by introducing few more error codes. - Added Warning header in Not Acceptable response sent by pjsip_inv_session when SDP negotiation fails. - PJSUA-LIB will try to negotiate both SDPs before sending 100 response. - Fixed bug in iLBC codec when setting the mode to 30. Also: - Echo cancellation by default is disabled now since it doesn't seem to work. Further investigation needed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@738 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-24Fixed several bugs in PJSUA-API:Benny Prijono
- in some condition, when outgoing call fails, call count incorrectly decremented to -1 - introduce account priority in pjsua_acc_config, and improve the account searching for incoming calls - pjsua will hangup call after sending transfer/REFER request. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@737 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22Updated doxygen documentation for the websiteBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@736 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22Handle incoming empty packets sent by some user agents (to refresh NAT)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@735 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22Fixed few bugs that seem to have been introduced by new dialog Benny Prijono
locking algorithm: - Fixed crash in PJSUA-API when initiating client subscription - Fixed another crash in PJSUA-API when hanging-up call Also fixed SDP negotiator: - add a=inactive when rejecting media line Also increase maximum log size from 1500 to 2000 since some SIP packet is quite large. A little bit of Warning: ** THIS MAY AFFECT APPLICATION'S STACK USAGE ** git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@734 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-21Fixed capture device enumeration bug in DirectSound, and changed SDP ↵Benny Prijono
generation to put the IP address instead of hostname in the SDP origin field since hostname may not be setup correctly. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@732 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-20Automatically suspend AEC when nothing is connected to the sound port in the ↵Benny Prijono
bridge, and resume as soon as frames are transmitted. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@731 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19Fixed race condition bug when initializing SDP parser on multi-processor machineBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@730 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19Fixed race-condition/deadlock problems in the dialog/user agent layer Benny Prijono
all the way up to PJSUA-API: - standardized locking order: dialog then user agent, and dialog then PJSUA - any threads that attempt to acquire mutexes in different order than above MUST employ retry mechanism (for an example, see acquire_call() in pjsua_call.c). This retry mechanism has also been used in the UA layer (sip_ua_layer.c) since it needs to lock user agent layer first before the dialog. - introduced pjsip_dlg_try_inc_lock() and PJSUA_TRY_LOCK() to accomodate above. - pjsua tested on Quad Xeon with 4 threads and 200 cps, so far so good. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@729 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19Fixed misc compilation warnings (mostly about unused variables)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@728 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-18Support for reading non-canonical WAV file in WAV file player port.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@727 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17Fixed incorrect cross compilation settings with the autoconf script.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@726 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-17Now really checked in the new PLC software!Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@724 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17Removed G.711 Annex I PLC from the source (because of possible ↵Benny Prijono
licensing/patent infringement issues) and replace it with Steve Underwood's PLC implementation which is distributed under dual GPL/LGPL license. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@723 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-14Added pjsip_transport_register_type() API to register new transport type.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@720 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Added account ID in pjsua_call_info.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@719 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Updated the doxygen comments for PJSIP_EFAILEDCREDENTIAL and ↵Benny Prijono
PJSIP_ENOCREDENTIAL, since these are queried often. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@718 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Fixed WinCE compilationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@717 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Fixed compilation error in Linux when the legacy configure is being used: ↵Benny Prijono
multiple declaration of socklen_t. Also does similar things with os_sunos, os_darwinos, and os_rtems git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@716 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Added --duration option in PJSUA to limit the maximum duration of calls. ↵Benny Prijono
Also added pjsip_generic_string_hdr_init2() to initialize temporary SIP header that is allocated in the stack. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@715 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13Fixed bug in client REGISTER: crashed when application calls ↵Benny Prijono
pjsip_regc_register()/pjsip_regc_send() while previous REGISTER request has not been answered with final response. This occurs for example when pjsip_regc_register() is called in quick successions. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@714 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-13Fixed bug in event subscription: for event subscriptions established by ↵Benny Prijono
non-SUBSCRIBE method (such as REFER), the method to refresh/unsubscribe subscription would still be SUBSCRIBE, not the initial method to establish subscription. There's no known ill effect of this bug (that I know of), but it's still important that this one has been fixed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@712 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13Fix STUN client when handling unknown attributes. Before it failed the ↵Benny Prijono
transaction, now it simply just ignores it. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@711 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13Updated README.txt againBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@710 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13Set default CFLAGS in configure to -O2 -DNDEBUGBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@709 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-12Updated README.txt from using.htmBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@707 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-12Added EOF callback and get_size() in pjmedia_mem_capture port.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@706 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11Fixed bug in media UDP transport: when transport is created with create(), ↵Benny Prijono
no IP address is given. This caused get_info() to return 0.0.0.0 as the transport address. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@705 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11Added EOF callback in memory playback port.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@704 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11Fixed bug in resample port: put/get buffers are allocated with the wrong ↵Benny Prijono
size (thanks Danya) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@703 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10Now officially use the autoconf configure script; the legacy configure ↵Benny Prijono
script is renamed to configure-legacy git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@702 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10Renamed configure to configure-legacyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@701 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10Fixed autoconf in various other systems (IA64, x86_64, BSD/FreeBSD)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@700 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-09-10Fixed autoconf on MacOS XBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@698 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09Added PJ_HAS_SOCKLEN_T test in configure script (some MacOS X have it, some ↵Benny Prijono
dont) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@697 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09Fixed authentication with qop: nc is not printed, and set nc length to 8 ↵Benny Prijono
bytes (sipcenter proxy server complained about this). It's now working fine with or without qop. Default caching and auto_send still set to disabled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@696 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09Fix compilation error when PJSIP_AUTH_HEADER_CACHING and ↵Benny Prijono
PJSIP_AUTH_AUTO_SEND_NEXT is disabled, and set the default for both to disabled. Also fixed the error message in pjsua when invalid arguments are specified. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@695 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-05Added volume control to indivual tone enqueued to the tone generator.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@694 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-02Added multi-purpose tone generator in PJMEDIA (tonegen.[hc])Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@693 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-25Yet another documentation/doxygen updateBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@691 74dad513-b988-da41-8d7b-12977e46ad98