Commit Graph

532 Commits

Author SHA1 Message Date
Sauw Ming 6d3b427f93 Re #1516: Build system for Android
How to use:
 * export ANDROID_NDK=/path_to_android_ndk_dir
 * Run ./configure-android



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/android@4192 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-03 07:46:49 +00:00
Sauw Ming e9915d8380 Changed version to 2.0.1-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4191 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-03 06:41:46 +00:00
Sauw Ming 2faa365bcb Changed version to 2.0.1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4189 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-03 03:11:24 +00:00
Benny Prijono 30154d3fbc Re #1527: added debugging facility to the timer heap. By enabling PJ_TIMER_DEBUG, application can use pj_timer_heap_dump() or pjsip_endpt_dump() to dump the timer entries along with the source location where it is scheduled from. The macro will also enable dumping the timer heap entries when the SIP endpoint is being destroyed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4154 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-05 10:41:17 +00:00
Nanang Izzuddin 2cc31c9a07 Fix #1522:
1. Updated the 'shifter' (expected max openssl reason code) to 1200.
 2. Done, added pj_ssl_sock_info::last_native_err. Also fixed pjsip/sip_transport_tls.c to include TLS transport specific info in invoking transport state callback on disconnection event.
 3. Fixed.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4146 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-30 06:35:59 +00:00
Benny Prijono 9a60f7b6d8 Changed version to 2.0-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4141 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-22 11:11:08 +00:00
Benny Prijono 6b9bfb1545 Changed version to 2.0
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4139 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-22 09:52:29 +00:00
Benny Prijono cf6b2b7c8a Changed version to 2.0-rc-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4114 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-27 11:58:28 +00:00
Benny Prijono 8ec44afab2 Changed version to 2.0-rc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4112 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-27 09:47:20 +00:00
Benny Prijono 28d3c56283 Re #1474: Merged all changes from 1.12 - HEAD (from the 1.x branch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3999 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30 07:10:13 +00:00
Nanang Izzuddin 75d34e125b Changed version to 2.0-beta-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3933 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-29 05:18:39 +00:00
Nanang Izzuddin 77b532da01 Changed version to 2.0-beta
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3931 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-29 03:17:51 +00:00
Sauw Ming e7dbbc8f30 Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunk
* Backport of r3557:r3832

TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24 09:28:13 +00:00
Benny Prijono e19748990f Changed version to 2.0-alpha2-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3808 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-10 07:32:30 +00:00
Benny Prijono e1c94ca738 Changed version to 2.0-alpha2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3806 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-10 06:10:39 +00:00
Benny Prijono 9cc7850153 Implemented re #1372: New log features: indentation and thread switching indication
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3752 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-18 14:38:46 +00:00
Benny Prijono 71b10fd2f7 Changed version to 2.0-alpha-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3740 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29 11:21:57 +00:00
Benny Prijono b9d2d7549f Changed version to 2.0-alpha!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3738 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29 10:01:26 +00:00
Nanang Izzuddin fe68f1dc55 Re #1326: Initial code integration from branch 2.0-dev to trunk as "2.0-pre-alpha-svn".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 03:42:28 +00:00
Sauw Ming 01095d8410 Re #1278: NSApplication and NSAutoreleasePool management for Mac OS X
Application now needs to call pj_run_app() from its main() function and pass a pointer to the application's main function. For some examples, please refer to aviplay, pjmedia_test, and pjsua.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3643 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 08:46:19 +00:00
Benny Prijono 517580b290 Break the compilation in svn trunk to make people switch to new svn URL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3558 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-06 03:40:47 +00:00
Nanang Izzuddin c4d57ad0c8 Changed version to 1.10-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3556 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 10:49:02 +00:00
Nanang Izzuddin ead2bd64bb Changed version to 1.10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3554 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 09:10:15 +00:00
Nanang Izzuddin a62ffc9d03 Re #1250: Updated the year in all copyright texts with 2011!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 06:14:19 +00:00
Sauw Ming a4b628f8f6 Fixed #1246: Use CFHost for pj_getaddrinfo() on iOS
* Replace the fix for ticket #1104 with this fix
 * Modify pjturn-client/client_main's shutdown() function which conflicts with an existing function

Re-run configure-iphone to use this fix automatically.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3543 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-26 03:07:24 +00:00
Sauw Ming ae2f21303d Re #1213: Fixed error space number allocation for video devices.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3516 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-10 23:54:07 +00:00
Sauw Ming d9d2f5e932 Fixed #1221: Crash when SIP transport tried to write to a broken pipe.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3478 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23 06:08:36 +00:00
Benny Prijono 0ca45f44bd Re 1220: typo in PJ_ALIGN_DATA implementation for gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3473 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-22 10:10:30 +00:00
Nanang Izzuddin 4415031cee Close #1220:
- Added macro PJ_ALIGN_DATA for aligning data (compiler specific), currently needed by ffmpeg encoder to provide 16-bytes aligned stack for SSE/MMX operation.
 


git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3468 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-22 09:38:49 +00:00
Sauw Ming 59d2c8c271 Fixed #1211: Add pjlib API pj_gettickcount() that returns a monotonically increasing timestamp
* Changed the timer_heap to use pj_gettickcount().
 * Changed ioqueue to use pj_gettickcount().



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3456 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16 09:22:24 +00:00
Benny Prijono e3e6580803 Initial implementation for re #1202 (PJILB System Information API) for Linux/Unix
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3423 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28 07:44:19 +00:00
Benny Prijono a61c43d571 Fixed #1197: WSAECONNRESET errors on Windows 2000 or 2003 may cause UDP transport to stop working
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3408 74dad513-b988-da41-8d7b-12977e46ad98
2011-01-21 07:15:22 +00:00
Benny Prijono 027d01819b Misc (re #1134): enable doxygen documentation for pj_actievsock_set_iphone_os_bg()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3350 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-20 09:54:45 +00:00
Sauw Ming 3e310ec787 Fix #1145: API to enable/disable support for iOS BG feature during runtime
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3336 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-11 10:59:37 +00:00
Benny Prijono b8aeb9d297 Re #1134 (misc fixes): fixed various doxygen warnings, as well as added overview section in pjmedia documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3327 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-30 04:23:27 +00:00
Sauw Ming 47b77a8918 Fixed #1130
Since the problem may not be iOS4 specific, a general approach is adopted to fix the problem.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3316 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-22 13:11:11 +00:00
Sauw Ming be3771a637 Closed ticket #1107: iOS4 background feature
* pjlib:
  * add support for activesock TCP to work in background mode.
  * add feature in ioqueue to recreate closed UDP sockets.
 * pjsip-apps:
  * ipjsua: add support for iPhone OS 4 background mode
  * ipjsystest: add support for iPhone OS 4 background mode



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3299 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27 06:46:29 +00:00
Benny Prijono 949d7dc109 Misc (re #1110): modified config_site_sample.h to enable CoreAudio's iLBC codec by default for iPhone target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3279 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18 03:57:36 +00:00
Sauw Ming 9b206052c1 Misc fix (re #1068): Use default setting for path length (PJ_MAXPATH) on iPhone to accommodate long path name when running on the simulator.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3258 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-09 06:40:38 +00:00
Sauw Ming c28ecd0fb1 Re #1104: Fixed iPhone OS version detection in os_auto.h.in
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3240 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-23 04:27:32 +00:00
Sauw Ming d39818b18c Fixed #1104: Append ".local" to the system's hostname in IOS 4.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3238 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-15 13:32:11 +00:00
Benny Prijono 609fff5054 Fix #1071: Increase default maximum SIP packet size to 4000
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3182 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19 06:07:40 +00:00
Sauw Ming 7920fb2d16 Merge #1050, #1052, #1053, #1054 into the main trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3175 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17 13:07:39 +00:00
Benny Prijono cce6b9e601 Re #1050: added iPhone specific settings in config_site_sample.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/iphone@3166 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-12 10:46:02 +00:00
Benny Prijono 40168a413f Fixed ticket #1058 (Different size between pj_sockaddr_in6 and native sockaddr_in6 on 64bit systems, causing failure in using SIP IPv6 UDP transport):
- disabled u6_addr64 field in pj_in6_addr, as this seem to cause 32 byte alignment to be invoked


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3145 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-26 07:08:53 +00:00
Nanang Izzuddin 5e69da528f More ticket #1032:
- Updated transport state notification callback to return void.
 - Updated transport state enum to only contain connected and disconnected, no more bitmask value.
 - Added direction field to SIP transport.
 - Removed remote hostname hash from transport key.
 - Updated cert info dump to return -1 when buffer is insufficient.
 - Added new error code PJSIP_TLS_ECERTVERIF.
 - Updated get_cert_name() in ssl_sock_symbian.c to use heap buffer instead of stack.
 - Minors, e.g: added prefix PJ in cipher types, docs.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3110 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-25 11:58:19 +00:00
Nanang Izzuddin 2fb937eb02 Ticket #1032:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@3106 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-24 05:43:34 +00:00
Benny Prijono 16b2053b7e Ticket #1026: Wrong endianness detection for Motorola m68k architecture in pj/config.h (thanks Andreas Wehrmann for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3066 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-20 19:42:46 +00:00
Benny Prijono a1aec0ec96 Initial fixes for #993 (OpenSolaris issues)
- configure script patch for FIONBIO and SIOCGIFFLAGS errors


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3059 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13 21:28:06 +00:00
Benny Prijono caecfd4c40 Ticket #992: Symbian build issues using RVCT compiler (thanks Gabor Tanka for the fix)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3046 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-06 08:34:41 +00:00
Benny Prijono d53ed17152 Ticket #1004: Symbian timer heap fix
- timer heap now records active timers and cancel them when it's destroyed


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3034 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-16 13:30:34 +00:00
Benny Prijono 2ef519fb8c Fixed ticket #989: Issues with Windows Unicode build (thanks Michele Cicciotti for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3002 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-10 04:30:46 +00:00
Benny Prijono a25bc9dc21 Ticket #950 and #957:
- added QoS options on PJLIB/PJLIB SSL/TLS socket/transport
 - added demo in Symbian ua.cpp


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2998 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09 08:51:34 +00:00
Benny Prijono c6768e5b4e Updated ticket #981: pj_perror() and PJ_PERROR() API:
- added PJ_PERROR() macro to allow compile time omitting
 - changed pj_perror() API to allow formatting of the title using printf like format
 - added a simple test in pjlib-test
 - updated Doxygen documentation


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2992 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09 04:09:13 +00:00
Nanang Izzuddin ea6d3c4d6b Ticket #957:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2970 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-26 15:47:52 +00:00
Benny Prijono 610973a068 More ticket #950 (QoS):
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2967 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25 10:50:17 +00:00
Benny Prijono 4d79b0f7f1 Initial commit for ticket #950: QoS support:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2966 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25 09:02:07 +00:00
Benny Prijono 9055f57a83 Ticket #981: new pj_perror() utility API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2965 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25 08:46:40 +00:00
Benny Prijono 1d61ba5e51 More ticket #972: fixed compilation error on Linux due to the last introduction ot PJ_TCP_NODELAY. Everyone needs to re-run configure though (thanks Dan Arrhenius for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2962 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-24 00:00:40 +00:00
Nanang Izzuddin 006cc01eeb Ticket #957:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2950 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-16 03:06:13 +00:00
Benny Prijono db04cd5260 Ticket #972: setsockopt compatibility problems on Windows (thanks Yann and 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: https://svn.pjsip.org/repos/pjproject/trunk@2946 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-15 03:48:20 +00:00
Nanang Izzuddin 6c62bf450d Ticket #957: Initial version of TLS transport for Symbian, includes:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2913 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-27 19:55:13 +00:00
Benny Prijono 5f1991706d Misc (#951): Updated the doxygen comment/documentation in pj_gethostname() that specying IPv4 address will fail on some platforms (e.g. Windows). Thanks Robert Cichielo for the report.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2908 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-22 11:18:50 +00:00
Benny Prijono f561b7ef3b Fixed ticket #939: Throwing exception inside exception handler will cause infinite loop (thanks Roman Puls for the report)
- exception handler is now popped from the stack immediately in PJ_THROW


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2878 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-14 10:41:00 +00:00
Benny Prijono 05eb3e357e Ticket #915 (misc fixes):
- fixed wrong doxygen comment for pj_list_empty() function (thanks Roman Puls for the report!)


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2872 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12 22:31:49 +00:00
Benny Prijono 9f0ef0908f Ticket #935: new pj_sockaddr_parse2() API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2863 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12 10:56:06 +00:00
Benny Prijono b1a3e73533 Ticket #931: Logging function may infinitely recursively calls itself on Windows Mobile (thanks Emil Sturniolo for the report)
- Added feature to temporarily suspend the logging facility while we're in the pj_log() function. The suspension will be thread specific if the platform supports it.


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2853 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-05 10:58:02 +00:00
Benny Prijono 4d8846bc96 Ticket #923: New API to retrieve current jitter buffer state from a stream/session
- added pjmedia_session_get_stream_stat_jbuf() and pjmedia_session_get_stream_stat_jbuf()
 - fixed const correctness in pjmedia_jbuf_get_state(), jb_framelist_size(), and pj_math_stat_get_stddev(), 
 - modify the jitter buffer statistic log message printed by stream (it contains newlines)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2844 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-29 12:14:21 +00:00
Benny Prijono be6d5db124 Ticket #922: Option to enable mutex related logging to assist troubleshooting concurrency problems
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2843 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-22 11:12:35 +00:00
Benny Prijono f940be43f2 Ticket #921: New logging option/flag to include caller thread ID
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2842 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-21 12:20:17 +00:00
Nanang Izzuddin fc279de2ab Ticket #909:
- Added support for Nokia VAS 2.0.
 - Fixed wrong value assigned to last downstream state var in downstream callback.
 - Minor fix in config_site_sample.h related to VAS Direct setting.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2833 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-14 14:33:39 +00:00
Nanang Izzuddin d687a5028c Ticket #909:
- Added new audio device VAS for Symbian platform.
 - Updated symsndtest to use the latest audio device framework.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2821 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30 13:37:26 +00:00
Benny Prijono 7764f17927 Misc (ticket #838):
- protect pj_strdup() for case when source and destination string are the same pointer. Without this, destination string will contain garbage value.


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2749 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04 22:08:16 +00:00
Benny Prijono 0f4b9db4f4 Ticket #878: New PJLIB API to parse socket address string
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2743 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04 15:11:25 +00:00
Nanang Izzuddin c91cd64b13 Ticket #818:
- Updated config_site_sample.h to enable resampling with small filter on WM platforms. 
 - Updated quality setting in WM sample apps (PocketPJ & pjsua_wince) to use default value.
 - Updated VS projects of G722.1, Speex, libresample: turning on optimization for debug mode on WM platforms.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2678 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-06 18:59:31 +00:00
Nanang Izzuddin 494ff7f82c Ticket #818:
- Added libresample.mmp
 - Modified config_site_sample.h to enable resampling with small filter on Symbian platforms.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2676 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-06 15:37:47 +00:00
Nanang Izzuddin 2e4f03fd27 Cleaned up bunch of compile warnings. Special for libgsmcodec, its warning level is reduced from 4 to 3.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg2@2654 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27 19:18:38 +00:00
Nanang Izzuddin 8caf31cce5 Ticket #772 (misc fix): Updated floating point version of math statistic to return the rounded mean value.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2577 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06 16:41:54 +00:00
Benny Prijono f1a47b840c Ticket #764: Bug with milliseconds time resolution in WinCE/Windows Mobile targets (thanks Johan Lantz for the report)
- use QueryPerformanceCounter() (via pj_get_timestamp() API) to emulate the msec precision)
 - more strict tests in pjlib-test



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2560 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-30 18:22:16 +00:00
Benny Prijono ae53fdc951 Documentation error for pj_timer_heap_poll(): if no timer exists, the second part of timeval will be filled with PJ_MAXINT32 and not -1. Thanks Phil Torre for the report
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2512 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-13 15:49:06 +00:00
Benny Prijono d24c7aadbf Ticket #729: MacOS X endianness detection on universal build (thanks Ruud Klaver for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2510 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-13 12:15:43 +00:00
Benny Prijono 9920dc304b (Major) Task #737 and #738: integration of APS-Direct and Audiodev from aps-direct branch to trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2506 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 18:11:37 +00:00
Nanang Izzuddin da37ea3e5d - Fixed compile errors/warnings for Symbian targets.
- Updated module dependencies of symbian auddev implementations.
- Minor updates, e.g: missing update on symbian_ua UID changing, updated default log level for logfile.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2491 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-06 16:24:43 +00:00
Benny Prijono 64f9138598 Ticket #736 (aps-direct branch): implemented the compatibility layer for the old sound API
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2489 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-05 18:02:28 +00:00
Benny Prijono 8eeab0bbf5 Ticket #734: error codes in audiodev
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2488 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-04 19:00:28 +00:00
Nanang Izzuddin 90b8320681 Ticket #732:
- Added new Symbian specific API in PJLIB, pj_symbianos_set_connection_status(), to let PJLIB knows the connection status.
 - Added connection status checks before Symbian socket operations.
 - Added loop limiter in Symbian busy_sleep() to avoid the possibility of infinite loop.
 - Added sample of connection monitor in Symbian sample application (ua.cpp).




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2481 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-02 15:48:45 +00:00
Benny Prijono 5b2b445500 Minor fixes/ticket #703: added some more macros to enable software build under Apple XCode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2427 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-22 20:30:32 +00:00
Benny Prijono 95b5340fa6 Fixed unreached code, deprecated fopen(), unused arguments, and other warnings with MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2407 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 20:56:36 +00:00
Benny Prijono 844653c1f2 Updated copyright notice in all files to Teluu Inc., and changed the year as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23 17:27:53 +00:00
Benny Prijono 55c6ecc903 Ticket 685: Crash or assertion on debug mode when processing large SIP packet
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2381 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-18 13:15:32 +00:00
Benny Prijono 0789519b6a Ticket #655: Compilation error on Linux when PJ_HAS_POOL_ALT_API is used (thanks Gang Liu for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2341 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-02 22:13:01 +00:00
Benny Prijono e27461311d Fixed ticket #644 and 648 again (hopefully once and for all): build error on VS6 with built-in SDK and on PocketPC 2003 SDK since they don't have multicast related socket options
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2331 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 13:16:35 +00:00
Nanang Izzuddin b79ff937ff Fixed previous accidental check in r2329.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2330 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 12:50:12 +00:00
Nanang Izzuddin fa144d5200 Fixed assertion in echo suppressor when recording and playing level is equal.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2329 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 11:53:39 +00:00
Benny Prijono 513d135f98 Fixed ticket #644 and #648: incorrect muticast related socket constant names, missing ws2tcpip.h include causing build error on Mingw, and error building on Visual Studio 6 due to PJ_SOCK_HAS_GETADDRINFO being declared accidentally.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2327 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 09:35:34 +00:00
Benny Prijono d61e532783 More ticket #639: fixed warning with gcc about comparison always true
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2307 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-23 09:11:20 +00:00
Benny Prijono 54f938956f Ticket #639: Assertion in <ctype.h> functions with Visual Studio 2005 when handling non-ASCII characters
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2302 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-21 21:11:49 +00:00
Nanang Izzuddin 57dd8e0e0b Ticket #636: Fixed linux compilation issue when autoconf is not used (thanks Seth Hinze for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2289 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-17 12:55:26 +00:00
Nanang Izzuddin b76154ed03 Ticket #629: Added IGMPv2 multicast socket options (thanks David Parker for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2283 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-16 16:11:44 +00:00
Benny Prijono 0ab816ffc8 Ticket #612: division by zero in pjlib stddev calculation causes crash/floating point exception in pjsua "dq" command on ARM platform
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2263 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-05 13:35:01 +00:00
Benny Prijono 36e76ef160 Ticket #594: Improvements in PocketPJ Windows Mobile application: added TCP option, VAD option, option to select codec priority order, and auto-answer option
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2211 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-13 13:56:24 +00:00
Benny Prijono 37fc9de7fd Fixed build error on FreeBSD (cannot use <netinet/ip.h> if <netinet/in_systm.h> is not included)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2190 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 14:45:02 +00:00
Benny Prijono bd344ff0ba Added new active socket API's to specify application buffers in start_read() and start_recv() functions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2187 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 09:59:02 +00:00
Benny Prijono 417d6054a7 Initial work for ticket #579: added option to make the active socket sends all the (TCP) data before calling completion callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2185 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-29 20:15:15 +00:00
Benny Prijono 901a2c3f8d Added PJ_LOG_HAS_LEVEL_TEXT logging flag to display the log verbosity level (thanks Ondrej Sterbak for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2181 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28 21:15:04 +00:00
Benny Prijono 1dd5420a03 Fixed linking errors in pjnath when TCP is disabled in PJLIB
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2177 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-25 10:45:34 +00:00
Benny Prijono 6ee5fb133e pj_strtoul() should stop the conversion as soon as it finds a non-digit character in the input
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2169 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-23 13:26:33 +00:00
Benny Prijono b726d268a6 Fixed build error with some Mingw configuration related to socklen_t
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2160 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 18:05:04 +00:00
Benny Prijono d6e362a2b5 Ticket #571: Coloring for logs in Linux/UNIX, two more spaces in logs and runtime log colors configuration (thanks Ondrej.Sterbak)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2159 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 17:53:47 +00:00
Benny Prijono 40032fd449 More ticket #559: added PJ_POOL_SIZE macro in pool_alt.h to make it work with some pjlib-test files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2137 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-14 16:48:13 +00:00
Benny Prijono d7c6d050a5 Ticket 559 (minor): Update the pool alternative API (pool_alt.h) with the latest pool API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2123 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-12 09:31:34 +00:00
Benny Prijono 90cc76e9ac Fixed gcc function is not a prototype warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2121 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-11 00:56:07 +00:00
Benny Prijono 1d6b8955c6 Configuration option to include/exclude loopback interface in enum_ip_interface(), and always include loopback address in the proxy sample (thanks Filippo Zangheri for the suggestion)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2112 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-07 21:31:02 +00:00
Benny Prijono 32177c0418 Large changeset to replace all occurences of year 2007 with 2008 in the copyright notice
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 22:44:47 +00:00
Benny Prijono 5b64b8df4b Updated doxygen documentations
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2037 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 21:39:02 +00:00
Benny Prijono ba5d8e06b1 Clarified in the pj_create_random_string() comment that the output string is not NULL terminated
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2030 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-19 13:49:20 +00:00
Nanang Izzuddin 9dbad15b00 Updated default speex quality settings and reenabled pjsua to set Speex codec quality based on media quality config
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2004 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-10 18:56:10 +00:00
Benny Prijono ea8e436fe1 More ticket #531: added user_data parameter in activesocket creation API to make it more robust against programming errors
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1986 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 14:12:23 +00:00
Nanang Izzuddin 6a6392f927 More ticket #61: enabled SRTP on Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1979 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-02 18:30:15 +00:00
Nanang Izzuddin 1ec45bf00a Added another WSOLA implementation, PJMEDIA_WSOLA_IMP_WSOLA_LITE, this is used by small devices by default (replacing PJMEDIA_WSOLA_IMP_NULL)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1971 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-30 11:24:37 +00:00
Nanang Izzuddin 829ac0206e Changed build optimizations settings for Speex, pjmedia, and symbian_sound for Symbian. Speex/8000 now also runs on Symbian!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1965 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-27 00:24:26 +00:00
Nanang Izzuddin 2d4ee7d379 More on ticket #535: updated files using and related to math.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1961 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-17 14:54:18 +00:00
Nanang Izzuddin 415fc6fedf Ticket #535: added initial source of math.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1960 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-17 14:43:46 +00:00
Benny Prijono b58b3e420e Modified pj_list_size() to take const argument instead
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1958 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-16 13:27:46 +00:00
Benny Prijono 4bac2c1389 Implement ticket #531: active socket abstraction to make ioqueue programming easier
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1953 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-11 18:12:16 +00:00
Benny Prijono 842754c26e Added pj_sockaddr_cp()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1952 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-11 18:11:32 +00:00
Benny Prijono 93713fb585 Added nios2 processor settings PJLIB in config.h (thanks F)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1949 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-07 13:28:06 +00:00
Benny Prijono 6780ae0251 More ticket #497: added configuration to disable WSOLA and set default to disabled on WinCE and Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1941 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-23 16:07:37 +00:00
Benny Prijono 36922711b4 Removed setting PJ_IOQUEUE_HAS_SAFE_UNREG to zero in config_site_sample.h as it is currently not supported
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1911 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-07 13:25:49 +00:00
Benny Prijono a95e929199 Changed PJ_IOQUEUE_MAX_HANDLES count when PJ_CONFIG_MINIMAL_SIZE is set from 16 to 32 as it caused assertion in sock_select.c on Maemo
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1910 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-07 13:16:02 +00:00
Benny Prijono 9969d18114 Ticket #520: Race condition may cause ioqueue corruption (thanks Philippe Leuba)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1905 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-02 18:36:35 +00:00
Benny Prijono 7ffd7752fd Ticket #507: committed and tested g722 patch on Windows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1870 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-17 14:07:53 +00:00
Benny Prijono 6111193217 Added missing PJ_INT64() macro for Symbian compilers
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1858 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-11 13:38:37 +00:00
Benny Prijono 8f7adf70cf Ticket #500: Added function to set thread priority in PJLIB
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1841 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-04 14:45:19 +00:00
Benny Prijono 8389c31c97 Ticket #412: increased randomness of guid_simple.c to 192-bits, and seed random number generator in pjsua_core.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1815 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-21 21:36:34 +00:00
Benny Prijono 57affd0332 Build error when PJ_IOQUEUE_MAX_HANDLES is declared to large value on Visual Studio (thanks Truong Thanh Quang)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1803 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-18 12:22:15 +00:00
Benny Prijono 0e2c646639 Ticket #475: ported GSM codec to Symbian OS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1793 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-14 13:39:24 +00:00
Benny Prijono e3f79fd62c Ticket #474: option in ioqueue to control concurrency (to allow/disallow simultaneous/multiple callback calls)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1789 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-13 15:17:28 +00:00
Benny Prijono 40fe908e12 More ticket #472: Fixed problem when building on Mingw. Now PJ_FD_SETSIZE_SETABLE is only enabled when winsock.h is present
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1788 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-08 15:21:41 +00:00
Benny Prijono c2e348130d More ticket #470: semaphore got disabled on Mingw because semaphore.h is not present
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1787 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-08 15:18:20 +00:00
Benny Prijono aa99eef0c4 Related to ticket #61: disable SRTP on Symbian while it is not ported yet
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1784 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-08 08:49:24 +00:00
Benny Prijono 1c5f4e479e Ticket #470, #471, and #472: Compile error when semaphore.h is not present, Compilation error if pthread_mutexattr_set_type() is not present, and Problem with setting up FD_SETSIZE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1783 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-07 13:11:39 +00:00
Benny Prijono bc2219bc48 Added pj_strstr() and pj_stristr() in pjlib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1757 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-26 10:45:52 +00:00
Benny Prijono a7b376bc7c Fixed doxygen comments everywhere
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1748 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-25 16:06:33 +00:00
Benny Prijono 1d481ab125 More ticket #61: SRTP will try to use /dev/urandom as RNG if fcntl.h and unistd.h is present. If it fails, it will fallback to using rand()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1738 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-24 15:27:30 +00:00
Benny Prijono fdafd40578 Merged from SRTP branch: added stdint.h header detection in autoconf. Result is in PJ_HAS_STDINT_H macro
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1729 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-23 14:34:46 +00:00
Benny Prijono 22e6832b94 Tweak config_site_sample.h for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1650 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-02 07:57:23 +00:00
Benny Prijono 467edf0aea Added PJ_OS_HAS_CHECK_STACK default configuration in pjlib/config.h, at least to document it in doxygen
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1649 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-02 07:56:38 +00:00
Benny Prijono 5df8bb65f0 Ticket #435: Fixed and tested audio on Symbian device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1641 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-28 18:55:02 +00:00
Benny Prijono ab168dd878 Add doxygen comment in pj_log_func() to inform that the data is NULL terminated
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1627 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-12 14:06:31 +00:00
Benny Prijono 40c2633fc6 More ticket #415: Added pj_sockaddr_cmp(), pj_sockaddr_copy_addr(), and pj_sockaddr_print()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1613 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-03 14:33:39 +00:00
Benny Prijono 1d65f70709 Fixed IP interface enumeration Linux to work with IPv6 (see ticket #415)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1612 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-03 04:03:17 +00:00
Benny Prijono 7ebdb3e3ba Fixed compilation errors/warnings on Linux with the recent IPv6 commits
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1611 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-03 00:40:58 +00:00
Benny Prijono 80025dbdb8 More ticket #415: Added pj_sockaddr_get_len() and pj_inet_ntop2(), and fixed Symbian combilation warnings with gcce
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1608 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-02 15:36:46 +00:00
Benny Prijono 62b86ebd8f More ticket #415: more IPv6 and some reorganization of the source codes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1601 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-01 08:52:57 +00:00
Benny Prijono 4c8fb53749 Fixed pj_gethostip() returns 0.0.0.0. Also how it returns the first interface if else fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1599 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-26 05:36:18 +00:00
Benny Prijono 31ff4d3ed1 Added information about building pjsip as DLL in the doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1595 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-23 03:49:20 +00:00
Benny Prijono 83c3897fa0 Ticket #417: added pjlib API to retrieve the native thread handle from pj_thread_t
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1589 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-21 14:12:01 +00:00
Benny Prijono c16c6e34ae Ticket #415: implement IPv6 support in PJLIB
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1585 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-18 14:53:47 +00:00
Benny Prijono 0ae59ae610 Ticket #414: Implement IP interface enumeration on Linux/Unix with SIOCGIFCONF ioctl() call to a socket
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1584 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-17 10:27:34 +00:00
Benny Prijono 225b22252a Fixed bug in PJ_DECL_NO_RETURN macro which prevents building libraries as DLL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1581 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-16 03:49:01 +00:00
Benny Prijono ccc313c6ef Updated doxygen documentation to 0.8.0
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1580 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-12 13:56:41 +00:00
Benny Prijono e285e05e72 Changed version to 0.8.0
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1576 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-11 09:00:22 +00:00
Benny Prijono 337fb5e986 Fixed warnings in PJLIB string_i.h about variable may not get initialized
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1527 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 09:02:28 +00:00
Benny Prijono 7d3e12c860 Ticket #403: Ability to specify RConnection instance etc in PJLIB Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1525 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 05:25:35 +00:00
Benny Prijono 19a351710a Fixed build warnings/errors for Symbian target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1504 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-17 06:21:44 +00:00
Benny Prijono 4ab9fbbd57 Ticket #399: Initial implementation of tool to perform NAT type detection/classification
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1495 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-12 12:14:27 +00:00
Benny Prijono 1f7767b66e Ticket 5: Support for SIP UPDATE (RFC 3311) and fix the offer/answer negotiation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1469 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-03 18:28:49 +00:00
Benny Prijono 2501e1345a Ticket #382: Updated ICE from draft-ietf-mmusic-ice-14 to ice-18 specification, and also done some other tweaks as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1450 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-24 19:46:41 +00:00
Benny Prijono 1f61a8f8af Ticket #354: continuing work to port the Symbian libraries to .DSO format
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1417 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-16 10:11:44 +00:00
Benny Prijono d51a37a496 Continue work on ticket #354: changed pjlib-util and pjnath libraries to .DSO (DLL) in Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1410 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-28 02:44:55 +00:00
Benny Prijono 8ab968fd0d Ticket #354: build PJLIB as dynamic libraries (.DSO) in Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1405 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-20 08:08:30 +00:00
Benny Prijono 18a051b8c0 Fixed ticket #348: various bugs in string comparison functions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1397 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-28 00:50:10 +00:00
Benny Prijono aae2b1cab1 Implement ticket #315: ability to override pj_assert()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1334 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-01 09:58:57 +00:00
Benny Prijono ba4abc9de1 Implement ticket #314: Added PJ_SAFE_POOL configuration in PJLIB to track down memory corruptions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1333 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-01 07:26:21 +00:00
Benny Prijono 17e58ed63a Fixed ticket #304: Memory alignment error for hash entry buffer causing crash on ARM (thanks ChenHuan)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1307 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-28 11:49:46 +00:00
Benny Prijono 4e48b516da Fixed ticet #277: GUID generation cannot generate more than 2^16 unique numbers (thanks Igor Sobinov)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1282 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-16 13:41:00 +00:00
Benny Prijono 06ac3cf05b Define PJSIP_SAFE_MODULE=0 for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1270 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-12 16:38:06 +00:00
Benny Prijono a0c8b5cef4 Symbian fixes to compile on GCCE (nested callbacks etc)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1269 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-12 15:03:23 +00:00
Benny Prijono 14d3f411c6 Added null_audio project for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1253 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-04 15:12:42 +00:00
Benny Prijono b2c9682de8 Implemented ticket #246, #247, #261, #268, #250 for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1246 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-03 13:31:21 +00:00
Benny Prijono 72a81aad63 More Symbian fixes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1245 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 23:06:11 +00:00
Benny Prijono 5d54264893 Errno and memory size tweaking for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1244 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 18:54:19 +00:00
Benny Prijono ba5926a822 PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing follows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 11:29:37 +00:00
Benny Prijono 5feee2eb30 PJSDP port to Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1240 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-01 16:54:54 +00:00
Benny Prijono f260e46ce4 Initial Symbian integration to trunk for pjlib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1235 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-30 21:03:32 +00:00
Benny Prijono c7434f6699 Ticket #223: Added pj_strtoul2()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1194 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-15 09:58:48 +00:00
Benny Prijono 6f86e7ce96 Added pj_cmp_timestamp()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1124 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 11:28:41 +00:00
Benny Prijono b681a2f671 ICE (work in progress): use single socket for all candidates in component, and implemented IP interface enumeration on Win32
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1104 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-25 18:44:51 +00:00
Benny Prijono b01897b505 Changed pj_sockaddr structure and added pjnath project for ICE/STUN stuffs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1080 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-18 17:39:27 +00:00
Benny Prijono ee73871ef3 Implemented ticket #185: Added pj_file_flush() to file I/O API to flush file buffers
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1074 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-16 09:25:47 +00:00
Benny Prijono bd09302551 Fixed link error (multiple symbols) with pj_log_max_level with C++ build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1061 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-14 11:50:02 +00:00
Benny Prijono d59717461e Completed and tested (simple test) the TURN server and command line STUN/TURN client
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1054 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-10 23:15:36 +00:00
Benny Prijono 505e82ef0d Optimization on the log and add tracing on mutex trylock
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1042 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-05 21:08:01 +00:00
Benny Prijono 7cd1622fe5 Implemented new STUN server framework
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1040 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-05 00:58:24 +00:00
Benny Prijono 14c2b8609d Merged the ICE branch into the trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@992 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-21 00:40:05 +00:00
Benny Prijono 54a4f3d728 Fixed ticket #117: Bug in pj_array_insert() when position is equal to count-1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@986 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-20 14:58:40 +00:00
Benny Prijono a771a51a61 Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with 2007 in copyright notice in all sources
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 01:13:53 +00:00
Benny Prijono 87a0089345 Implement ticket #83: socket TOS abstraction
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@920 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01 00:33:12 +00:00
Benny Prijono e80cdf0b87 Updated doxygen documentation to version 0.5.10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@905 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-25 01:38:03 +00:00
Benny Prijono a66c331766 Implement ticket #67: added WAV playlist feature to PJMEDIA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@895 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 23:12:40 +00:00
Benny Prijono c357d64b0a Fixed ticket #70: Frame timestamp not propagated correctly in PJMEDIA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@887 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 05:14:24 +00:00
Benny Prijono ad91043089 Ticket #66: fix broken compilation with gcc 2.9x.x or older
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@884 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-18 17:33:31 +00:00
Benny Prijono 08b5309793 Fix compilation error when _CRT_SECURE_NO_DEPRECATE is already declared by other project in pj/compat/cc_msvc.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@883 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-16 03:30:42 +00:00
Benny Prijono 472f2f51d4 64bit fix for pool.h (thanks HARDOUIN Briac)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@877 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-09 15:02:00 +00:00
Benny Prijono b5388cfa9c Just updated and improved the doxygen documentations all over the place
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@875 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-04 22:45:08 +00:00
Benny Prijono 57dc48b582 In relation to ticket #49: fix support for recv() flags such as PJ_MSG_PEEK and PJ_MSG_OOB etc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@860 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-25 06:39:33 +00:00
Benny Prijono f762ee7376 Fixed ticket #29: calling pjsua_init() to reinitialize the whole libraries after pjsua_destroy() is called
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@839 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01 11:14:37 +00:00
Benny Prijono 4a92299d8e Updated footprint script to include new stuffs such as echo canceller and tone generator
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@826 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24 09:31:22 +00:00
Benny Prijono 8badb013ee Fixed pj_list_merge_last and pj_list_merge_first
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@820 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-22 14:47:45 +00:00
Benny Prijono af1bb1e09f Fixed handles leak upon program exit, by introducing pj_shutdown() and pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 12:39:31 +00:00
Benny Prijono 31333b6667 Fixed minor memory leak in caching pool (one malloc is not freed)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@809 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:36:12 +00:00
Benny Prijono 33cb24a868 Fix compilation error with memchr() on VS2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@790 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-01 07:13:45 +00:00
Benny Prijono 4e05b47e23 Added logging in pjsua wince
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@774 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 15:52:31 +00:00
Benny Prijono ba74777cfc Fixed another typo in pj\types.h comment [thanks Tomasz Ostrowski]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@764 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 16:37:02 +00:00
Benny Prijono 4784d77264 Fixed typos in pj_*int*_t's comments [thanks Tomasz Ostrowski].
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@758 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-09 20:11:31 +00:00
Benny Prijono 3059eb6a44 Fixed compilation errors when threading is disabled (PJ_HAS_THREADS=0) and safe ioqueue unregistration is disabled (PJ_IOQUEUE_HAS_SAFE_UNREG=0). Also increase PJ_IOQUEUE_MAX_HANDLES for minimum config to 16 in config_sample.h [thanks Olivier Gournet].
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@750 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-04 20:46:27 +00:00
Benny Prijono 3ae5f064d2 Fixed bug in the hash table size calculation. The hash table creation API (pj_hash_create()) suggests that the size should be 2^n-1, and when the size is not 2^n-1, it will be rounded-up to the nearest 2^n-1, except when the size is exactly 2^n, then it will be rounded-down to 2^n-1.
The bug caused the hash table size to be doubled when application gives 2^n size (instead of rounding it down to 2^n-1).

Nothing dangerous happened because of the bug, it just caused hash table size to be doubled the requirement.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@748 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-03 17:13:22 +00:00
Benny Prijono e71c360511 Fixed minor error in pj_thread_is_registered() API. The return value should be pj_bool_t instead of pj_status_t. (Note: this change should not break anything).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@746 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-03 17:00:00 +00:00
Benny Prijono d424f5bc49 Added initial implementation of low-level DNS packetization
and parsing functions in PJLIB-UTIL/dns.h. Errors codes
added for DNS formatting related errors.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@745 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-30 11:39:17 +00:00
Benny Prijono 5ee1f2eb96 Updated doxygen documentation for the website
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@736 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 20:43:00 +00:00
Benny Prijono dc752ca112 Fixed few bugs that seem to have been introduced by new dialog
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: https://svn.pjsip.org/repos/pjproject/trunk@734 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 16:55:42 +00:00
Benny Prijono 7d93d4e8b5 Added pool for allocating memory from the stack buffer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@725 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17 19:54:23 +00:00
Benny Prijono cca32816b5 Applied temporary fix to error code returned by pj_gethostbyname(). Under *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: https://svn.pjsip.org/repos/pjproject/trunk@722 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 21:16:11 +00:00
Benny Prijono 594e4c5f29 Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by 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: https://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 18:51:01 +00:00
Benny Prijono 893628d18b Fixed compilation error in Linux when the legacy configure is being used: multiple declaration of socklen_t. Also does similar things with os_sunos, os_darwinos, and os_rtems
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@716 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 11:26:37 +00:00
Benny Prijono ea4296c385 SIP methods are now compared case-sensitively (previously it was 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: https://svn.pjsip.org/repos/pjproject/trunk@713 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 22:48:37 +00:00
Benny Prijono 1d97162692 Fixed autoconf in various other systems (IA64, x86_64, BSD/FreeBSD)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@700 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 22:27:40 +00:00
Benny Prijono c5b6dbf81f Fixed autoconf in mingw
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@699 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 16:33:48 +00:00
Benny Prijono b466e23e8f Fixed autoconf on MacOS X
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@698 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 08:53:59 +00:00
Benny Prijono 30f85c66a6 Added PJ_HAS_SOCKLEN_T test in configure script (some MacOS X have it, some dont)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@697 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09 20:05:33 +00:00
Benny Prijono d6388acc29 Fix compilation error when PJSIP_AUTH_HEADER_CACHING and 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: https://svn.pjsip.org/repos/pjproject/trunk@695 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09 13:23:09 +00:00
Benny Prijono a3cbb1c4bb Yet another documentation/doxygen update
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@691 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-25 12:41:05 +00:00
Benny Prijono 97b87175bc Just updated doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@690 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-24 14:25:14 +00:00
Benny Prijono c4c61d0216 Finishing autoconf work, also fixed compilation error in publish.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@689 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20 20:47:34 +00:00
Benny Prijono d6b90f5082 Added pj_thread_is_registered
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@674 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-11 19:25:17 +00:00
Benny Prijono 411b2bef82 Removed copyright info from pj_timer_heap [hc], and explain more about ACE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@669 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-10 08:45:17 +00:00
Benny Prijono fd27c6699a Changed WinCE demo app to automatically answer incoming calls.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@667 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-09 11:59:26 +00:00
Benny Prijono edba079f23 Echo suppressor tuning and testing on WincE, and also added config_site_sample.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@656 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 18:23:56 +00:00
Benny Prijono 8f9faaea40 Fixed complilation error in config.h for ARM target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@647 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 17:18:37 +00:00
Benny Prijono d79f25c3aa Fix compilation error in MacOS because of recent changes in config.h, also disable AEC by default in pjsua-lib, and added ec-tail option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@643 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-02 19:41:37 +00:00
Benny Prijono c4c8f24cb4 Fix PJLIB on WinCE:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@640 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-01 23:01:55 +00:00
Benny Prijono d345a65007 Fixed bug in registring external thread: thread descriptor is not large enough because of recent enlargement on PJ_MAX_OBJ_NAME.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@636 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 15:10:36 +00:00
Benny Prijono e85bc4114b Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 chars (from 16), and check all those sprintf's especially the ones with "%p" format.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29 20:29:24 +00:00
Benny Prijono a9b372ae96 Added initial implementation of autoconf script (aconfigure)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@625 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-24 02:07:11 +00:00
Benny Prijono 7db431e40c Added 64bit Linux target (x86_64), also fixed compilation warnings when compiling for this target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@624 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23 14:38:49 +00:00
Benny Prijono 92ac447ad2 Changed all public header files to compile correctly when -ansi and -pedantic is used, also when g++ is used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@622 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 13:42:56 +00:00
Benny Prijono 2bbd710f64 Fixed several bugs related to TCP:
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@610 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 00:10:53 +00:00
Benny Prijono ceb12607c8 Attempt to get some applications linked for RTEMS target, just to get the footprint calculation working
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@604 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-14 15:20:00 +00:00
Benny Prijono c6e165f8d1 Added feature to report peak memory used in caching pool
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@594 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-09 10:05:46 +00:00