Commit Graph

968 Commits

Author SHA1 Message Date
Benny Prijono abd2ae9e92 Updated README.txt again
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@710 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 11:02:26 +00:00
Benny Prijono c1fe23dcd8 Set default CFLAGS in configure to -O2 -DNDEBUG
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@709 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 09:38:06 +00:00
Benny Prijono 369efaa4e1 Fixed mutex leaking in Linux: pj_mutex_destroy() will fail to destroy the 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: https://svn.pjsip.org/repos/pjproject/trunk@708 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-12 23:49:16 +00:00
Benny Prijono c341683671 Updated README.txt from using.htm
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@707 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-12 18:58:19 +00:00
Benny Prijono 5c7e10bced Added EOF callback and get_size() in pjmedia_mem_capture port.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@706 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-12 11:33:22 +00:00
Benny Prijono 5f6ef96f95 Fixed bug in media UDP transport: when transport is created with create(), no IP address is given. This caused get_info() to return 0.0.0.0 as the transport address.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@705 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11 22:56:26 +00:00
Benny Prijono 88dac53480 Added EOF callback in memory playback port.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@704 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11 19:55:41 +00:00
Benny Prijono 65b395f2a4 Fixed bug in resample port: put/get buffers are allocated with the wrong size (thanks Danya)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@703 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11 18:51:54 +00:00
Benny Prijono 8a36a0380f Now officially use the autoconf configure script; the legacy configure script is renamed to configure-legacy
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@702 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 22:33:11 +00:00
Benny Prijono c390707d4f Renamed configure to configure-legacy
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@701 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 22:31:47 +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 033d7f6efe Fixed authentication with qop: nc is not printed, and set nc length to 8 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: https://svn.pjsip.org/repos/pjproject/trunk@696 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09 16:34:30 +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 72b6104702 Added volume control to indivual tone enqueued to the tone generator.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@694 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-05 22:52:26 +00:00
Benny Prijono 7f5c12cb57 Added multi-purpose tone generator in PJMEDIA (tonegen.[hc])
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@693 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-02 23:45:18 +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 c8141a834a Added initial "norefersub" (RFC 4488) implementation in PJSUA-LIB, and also properly register all supported SIP method, accepted content type, and supported extensions to endpoint.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@688 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20 09:12:19 +00:00
Benny Prijono 3a5e1ab170 Support for PUBLISH (RFC 3903):
- 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: https://svn.pjsip.org/repos/pjproject/trunk@685 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 20:26:34 +00:00
Benny Prijono d3296a5108 Fixed yet another bug for 64bit target: error in initializing caching pool because internal pool size is too small. Increased by 256 bytes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@684 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 20:25:42 +00:00
Benny Prijono 21b9ad9ea5 Added initial PUBLISH client support, and also default account selection in pjsua/pjsua-lib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@683 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 13:11:22 +00:00
Benny Prijono fc290a6557 Set default codec to PCMU in pjsip-perf
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@676 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-13 18:20:55 +00:00
Benny Prijono f862897cb8 Improved logging consistency and added more logging info in verbosity 6
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@675 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-12 13:58:56 +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 e9db7003c3 Fixed bugs in previous deadlock workaround
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@673 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-11 12:42:50 +00:00
Benny Prijono 0016d0c021 Increased width for sender column in log message, and added additional check in pj_thread_register()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@672 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-11 12:42:06 +00:00
Benny Prijono 8eae838588 Attempt to fix the race condition in dialog locking.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@671 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-10 21:44:26 +00:00
Benny Prijono 10af18eda2 Added pjsdp in pjmedia Makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@670 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-10 14:26:15 +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 c1e263f5ce Fixed run-time bug with simple_ua and pjsip-perf sample.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@668 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-09 13:53:59 +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 2704258752 Fixed bugs in client registration (sip_regc.c): when re-registration failed to send the request, application callback is not called.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@663 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-08 14:04:21 +00:00
Benny Prijono 5b656872cf Added logging in sip_regc.c to report the error when pjsip_regc_send() fails (because no error will be logged when re-registration fails).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@662 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-08 00:41:00 +00:00
Benny Prijono 10861bc15e Fixed bug in --auto-conf option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@661 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 13:22:43 +00:00
Benny Prijono 80019eb11f Added Ctrl-C handler for pjsua Windows, and added average bps in media statistic.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@660 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 13:22:23 +00:00
Benny Prijono 7ca96da54f Added --auto-conf options in pjsua, also enable speex/3200, and set quality 5 to use large resampling filter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@659 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 12:11:40 +00:00
Benny Prijono 5da50430bb Change set_ec_tail() API to set_ec() in sound port, also change suppressor to reduce mic signal by division rather than zeroing the signal. Also moved out VAD and EC settings to config.h.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@658 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 10:24:52 +00:00
Benny Prijono f521eb0401 Fixed assertion error if ACK is received before INVITE transaction sends final response (malicious?). Also fixed misc warnings, and stress-tested on Quad Xeon
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@657 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 23:07:25 +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 3842ec4a3f Change the silence suppressor to use the adaptive silence detector.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@655 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 14:15:47 +00:00
Benny Prijono 15bbb38b33 Change unescaping function in scanner and string.c to NOT unescape when '%' is not followed by hex digits.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@654 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 14:11:52 +00:00
Benny Prijono 22dfe59f7e Change AEC into generic echo canceller framework with either AEC or simple echo suppressor backend can be selected during runtime.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@653 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 12:07:13 +00:00
Benny Prijono 7c3741fe38 Set to use PCMU and disable AEC for WinCE target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@652 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05 21:07:15 +00:00
Benny Prijono 70972993e6 AEC and sound backend fixes:
- Changed default sound backend in Windows to PortAudio
- Finalizing AEC settings on Windows:
	- default tail is 256 msec
	- write AEC configuration with "dc"



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@651 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05 11:13:58 +00:00
Benny Prijono 30bb160377 Fixed error in setting up tail length in sound_port
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@650 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 21:01:53 +00:00
Benny Prijono 52a939126b Fixed bug in pjsua_media.c because of recent AEC changes: sound device is not connected anywhere!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@649 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 20:54:37 +00:00