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
Benny Prijono
f20687a082
More work on the AEC (including changes in PJSUA), embed the AEC in sound_port, reduce DirectSound buffer from 32 to 16, and fixed ARM compilation for MSVC WinCE target.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@648 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 18:27:19 +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
69f7312f51
More experimentation with AEC: (1) added media port to create bidirectional port from two unidirectional ports, (2) split AEC functionality into AEC algorithm (aec.h) and AEC media port (aec_port.h), (3) Added the AEC functionality in the sound_port.c.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@646 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 11:08:00 +00:00
Benny Prijono
bb9cc5f5d5
Removed the constness of the captured frame from pjmedia_snd_rec_cb specification (experimental, to support AEC since AEC needs to modify the buffer).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@645 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 11:06:05 +00:00
Benny Prijono
c6186b6369
Experimental change in PJMEDIA dsound.c DirectSound backend: (1) Don't raise thread priority, and (2) when capturing multiple frames from the microphone, do the same in the playback direction.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@644 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 11:00:35 +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
c8e24a1e53
Added experimental AEC media port (aec_port.[hc]) based on Speex AEC in pjmedia and pjsua-lib.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@642 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-02 18:22:22 +00:00
Benny Prijono
01f0154646
Added simple WinCE application:
...
- added pjsua_wince in pjsip-apps, which is a
simple SIP UA application just to broadly test
pjsip/pjmedia on WinCE.
- Fix name conflicts in xpidf.c (e.g. ATOM variable
conflicts with ATOM type in WinCE SDK).
- Fix speex compilation errors on Wince (e.g.
inline keyword is not recognized, replaced with
PJ_INLINE).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@641 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-01 23:09:35 +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
7bef0f5d02
Changed siprtp on Linux to raise the thread priority
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@639 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 18:54:06 +00:00
Benny Prijono
c585988fb2
Really add the iLBC files into SVN now (duh!).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@638 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 15:25:14 +00:00