summaryrefslogtreecommitdiff
path: root/pjsip-apps
AgeCommit message (Collapse)Author
2006-09-24Fixed several bugs in PJSUA-API:Benny Prijono
- in some condition, when outgoing call fails, call count incorrectly decremented to -1 - introduce account priority in pjsua_acc_config, and improve the account searching for incoming calls - pjsua will hangup call after sending transfer/REFER request. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@737 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22Updated doxygen documentation for the websiteBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@736 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22In pjsua, outgoing REFER now always put Refer-Sub: falseBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@733 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19Fixed race-condition/deadlock problems in the dialog/user agent layer Benny Prijono
all the way up to PJSUA-API: - standardized locking order: dialog then user agent, and dialog then PJSUA - any threads that attempt to acquire mutexes in different order than above MUST employ retry mechanism (for an example, see acquire_call() in pjsua_call.c). This retry mechanism has also been used in the UA layer (sip_ua_layer.c) since it needs to lock user agent layer first before the dialog. - introduced pjsip_dlg_try_inc_lock() and PJSUA_TRY_LOCK() to accomodate above. - pjsua tested on Quad Xeon with 4 threads and 200 cps, so far so good. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@729 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by ↵Benny Prijono
adding a new API pj_gethostip() to resolve the default local IP address of local host. This new function will work even when local hostname resolution is not set correctly, by detecting the default IP interface in the system. Also fix compile warnings in iLBC. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Fixed WinCE compilationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@717 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Added --duration option in PJSUA to limit the maximum duration of calls. ↵Benny Prijono
Also added pjsip_generic_string_hdr_init2() to initialize temporary SIP header that is allocated in the stack. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@715 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09Fix compilation error when PJSIP_AUTH_HEADER_CACHING and ↵Benny Prijono
PJSIP_AUTH_AUTO_SEND_NEXT is disabled, and set the default for both to disabled. Also fixed the error message in pjsua when invalid arguments are specified. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@695 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-02Added multi-purpose tone generator in PJMEDIA (tonegen.[hc])Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@693 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15Support for PUBLISH (RFC 3903):Benny Prijono
- API BREAK: pjsua_pres_create_uac() API CHANGED!! Added options in the function, to allow creating SUBSCRIBE without ";id=" parameter in the Event header. - the generic event publication in pjsip-simple/publish.[hc] - split PIDF and X-PIDF body generation and parsing into pjsip-simple/presence_body.c. - allow NULL in module parameter in pjsip_endpt_add_capability() - added "--publish" option in PJSUA. - by default, PJSUA-LIB will not add ";id=" parameter in Event header in the SUBSCRIBE request since lots of server and user agents don't support this correctly. - Set version to 0.5.7.6. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@685 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15Added initial PUBLISH client support, and also default account selection in ↵Benny Prijono
pjsua/pjsua-lib git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@683 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-13Set default codec to PCMU in pjsip-perfBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@676 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-09Fixed run-time bug with simple_ua and pjsip-perf sample.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@668 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-09Changed WinCE demo app to automatically answer incoming calls.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@667 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07Fixed bug in --auto-conf option in pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@661 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07Added Ctrl-C handler for pjsua Windows, and added average bps in media ↵Benny Prijono
statistic. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@660 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07Added --auto-conf options in pjsua, also enable speex/3200, and set quality ↵Benny Prijono
5 to use large resampling filter git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@659 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07Change set_ec_tail() API to set_ec() in sound port, also change suppressor ↵Benny Prijono
to reduce mic signal by division rather than zeroing the signal. Also moved out VAD and EC settings to config.h. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@658 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06Fixed assertion error if ACK is received before INVITE transaction sends ↵Benny Prijono
final response (malicious?). Also fixed misc warnings, and stress-tested on Quad Xeon git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@657 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06Echo suppressor tuning and testing on WincE, and also added config_site_sample.hBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@656 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06Change AEC into generic echo canceller framework with either AEC or simple ↵Benny Prijono
echo suppressor backend can be selected during runtime. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@653 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05Set to use PCMU and disable AEC for WinCE target.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@652 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05AEC and sound backend fixes:Benny Prijono
- 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: http://svn.pjsip.org/repos/pjproject/trunk@651 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04More work on the AEC (including changes in PJSUA), embed the AEC in ↵Benny Prijono
sound_port, reduce DirectSound buffer from 32 to 16, and fixed ARM compilation for MSVC WinCE target. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@648 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04More experimentation with AEC: (1) added media port to create bidirectional ↵Benny Prijono
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: http://svn.pjsip.org/repos/pjproject/trunk@646 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-02Fix compilation error in MacOS because of recent changes in config.h, also ↵Benny Prijono
disable AEC by default in pjsua-lib, and added ec-tail option in pjsua git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@643 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-01Added simple WinCE application:Benny Prijono
- 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: http://svn.pjsip.org/repos/pjproject/trunk@641 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31Changed siprtp on Linux to raise the thread priorityBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@639 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31- Added iLBC codec (experimental) with the following features:Benny Prijono
- configurable default decoder mode (20 or 30), - encoder mode follows the mode specified in SDP fmtp from the remote's SDP, - silence detector uses pjmedia's, - PLC uses iLBC's PLC, - perceptual enhancement (penh) is configurable via codec param, as usual. - iLBC mode is configurable in pjsua with --ilbc-mode option. - Added packet lost simulation in pjmedia's UDP transport and in pjsua (with --rx-drop-pct and --tx-drop-pct options). - Increase default buffer count in DirectSound to 32 frames to make it more resilient to CPU disruption. - Specify and parse fmtp mode in SDP for codecs that need it. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@637 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 ↵Benny Prijono
chars (from 16), and check all those sprintf's especially the ones with "%p" format. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-27Added capability in pjsua to add application created media port to pjsua's ↵Benny Prijono
conference bridge, also capability to use custom sound device in pjsua. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@632 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-26Added --ptime and --no-vad option in pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@629 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-25Fixed minor bug in siprtp: in summary report, percentage of RX loss is ↵Benny Prijono
displayed in the TX section git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@626 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23Added 64bit Linux target (x86_64), also fixed compilation warnings when ↵Benny Prijono
compiling for this target git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@624 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23Improvement/bug fix in hash table lookup to allow user to specify the hash ↵Benny Prijono
value, and modify transaction to take advantage of this feature git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@623 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22Few changes in siprtp:Benny Prijono
(1) Added "s" command to show summary of all calls statistic (2) Media start delay changed from 1000ms to 50ms (3) Changed print_call to use LOG instead of printf, so that it can be turned off git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@621 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22pjsua application should check that the --max-calls argument does not exceed ↵Benny Prijono
compile time maximums git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@620 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18Undo modification to use timer, and back to using threads as the performance ↵Benny Prijono
is not good git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@615 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18Small improvements: (1) pjsua now responds to incoming OPTIONS request, ↵Benny Prijono
which means that some modules (evsub, invite) need to register their capabilities to the endpoint, (2) added command in pjsua to send arbitrary request git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@612 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-16Fixed crash in SIP TCP transport deinitialization, and set pjsip-perf to ↵Benny Prijono
handle INVITE request to non-standard URL call-statefully git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@605 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-14Attempt to get some applications linked for RTEMS target, just to get the ↵Benny Prijono
footprint calculation working git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@604 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-11Some minor modifications here and there in pjsip-perfBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@603 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-11Added PJSIP_MAX_NET_EVENTS configuration to pjsipBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@602 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10pjsip-perf uses 1 milisecond polling timeout because IOCP does not work ↵Benny Prijono
correctly if application does not yield the CPU git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@601 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10Fixed bug in PJSUA API re: account selection and Contact header for accountsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@597 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-09Report peak memory used upon exitingBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@595 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-08Added caching pool capacity upon exiting pjsip-perfBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@593 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-08More fine tuning on the footprint report generation scriptBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@591 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-05Some improvements in footprint generationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@586 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-04Added script, source file, and makefile to calculate PJSIP/PJMEDIA footprintBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@585 74dad513-b988-da41-8d7b-12977e46ad98