summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/pjsua
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-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-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-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-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-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-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-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-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-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-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-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-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-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-03Change all pj_memset to pj_bzero(), where applicableBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28Major improvements in PJSIP to support TCP. The changes fall into these ↵Benny Prijono
categories: (1) the TCP transport implementation itself (*.[hc]), (2) bug-fix in SIP transaction when using reliable transports, (3) support for TCP transport in PJSUA-LIB/PJSUA, and (4) changes in PJSIP-TEST to support TCP testing. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@563 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22Added dq command in pjsua to dump current call qualityBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@544 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22Modify all applications because of changed in WAV port API (removed ↵Benny Prijono
user_data from argument) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@541 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19Re-live --quality options in pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@528 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19Display the invalid argument in pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@526 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19Comment out PJSUA options that are no longer supported with new pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@521 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-15Fixed bug in command line parsing in pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@510 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14Fixed new pjsua build/makefilesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@508 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14Implement --null-audio, --auto-loop, etc. in pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@507 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13-- REWRITE OF PJSUA API --Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@503 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-06Another huge chunks of modifications in PJSUA API, too many things to mention!Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@492 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-01Initial work on pjsua ActiveX componentBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@487 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-28More changes in pjsua API to make it more complete high level APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@482 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-26First stage in pjsua library re-arrangements towards creating an easy to use ↵Benny Prijono
high level API git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@476 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29Improve codec handling in pjsua cmd-line options, and add URI to callBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@422 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-23Fixed misc warnings/errors in Solaris buildBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@355 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17Changed pjsip_inv_send_msg() functionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@324 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17Added feature in conference bridge to get and set the signal level of ↵Benny Prijono
individual port and individual stream direction git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@323 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-10Fixed compilation and run warnings/errors with MSVC 2005Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@315 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06Fixed warnings in Linux buildBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@301 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05Show call disconnect reasonBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@286 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-04Major modification in conference bridge to allow ports with different ptime ↵Benny Prijono
and sampling rate. Also introduced sampling rate converter git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@277 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-02Added IM and composition indication, and testedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@269 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-01Handle failure to open log fileBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@258 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-01Option to dump summary/detailBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@256 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-01Added pjsip-apps top level projectsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@254 74dad513-b988-da41-8d7b-12977e46ad98