summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsua-lib
AgeCommit message (Collapse)Author
2007-02-19Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with ↵Benny Prijono
2007 in copyright notice in all sources git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18Fixed invalid URI typecasting in Contact header generation in PJSUA-LIBBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@971 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18Check for non-SIP URI in buddy URLBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@969 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14Fixed ticket #101: PJSUA transport is not updated with correct port number ↵Benny Prijono
if application specifies port is zero git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@947 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-12Fixed ticket #98: Error binding transports to specific interface in PJSUA-APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@941 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-10Related to ticket #97: make name_addr handling more robust against ↵Benny Prijono
possibility of bugs that someone may put another name_addr inside a name_addr git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@939 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01Implement the missing pjsua_get_snd_dev() functionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@925 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01Fixed ticket #84: pjsua_transport_close() doesn't properly close transport ↵Benny Prijono
(especially TLS) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@923 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-29Some simple call testing to py_pjsua and bug fixesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@916 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-27Fixed various gcc warnings especially related to ticket #82 when particular ↵Benny Prijono
codecs are disabled git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@911 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-25Ticket #78: increased PTIME in pjsua_media.c to 20ms (from 10ms) because of ↵Benny Prijono
the noisy audio problem git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@906 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-24Implement ticket #77: allow specifying multiple files in pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@903 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21Implement ticket #67: added WAV playlist feature to PJMEDIABenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@895 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21Fixed ticket #68: pjsua account is not completely invalidatedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@892 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20Fix ticket #71: When host doesn't have any NIC interfaces, pj_gethostip() ↵Benny Prijono
should return 127.0.0.1 instead of error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@885 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-13More work on ticket #50: binding of PJSUA-API account to specific transport, ↵Benny Prijono
and minor fixes in PJSIP core implementation. Tested okay. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@881 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-04Just updated and improved the doxygen documentations all over the placeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@875 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26(Ticket #52) Added functions to retrieve media port of player and recorder ↵Benny Prijono
in PJSUA-API git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@865 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26Ticket #51: Added audio level adjustment to PJSUA-APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@864 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26Added DTMF callback support all the way to PJSUA API (ticket #48)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@863 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-25Major TLS work (ticket #3): asynchronous socket, rather complete TLS ↵Benny Prijono
options, and pjsua integration. The TLS support should work in both client and server mode. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@861 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-08Initial implementation of TLS transport for ticket #3 (still not working at all)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@849 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-07Fixed ticket #38: misleading error message when destination URI is not valid ↵Benny Prijono
when making outgoing call git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@847 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01Fixed ticket #29: calling pjsua_init() to reinitialize the whole libraries ↵Benny Prijono
after pjsua_destroy() is called git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@839 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-27Display actual sound device name in conference bridge port zeroBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@833 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25Print media statistic when call is disconnected in pjsua, to assist tracing ↵Benny Prijono
media problems git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@831 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23Updated Python project with base PJSUA APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@824 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Fixed handles leak upon program exit, by introducing pj_shutdown() and ↵Benny Prijono
pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Added jitter buffer settings in PJSUA-API media configBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@813 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Fixed sound device ID bug: application was unable to use device ID zero ↵Benny Prijono
because this caused pasound.c to autodetect default device git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@812 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11Add pjsip_regc_add_headers() APi to set headers to be added Benny Prijono
to the REGISTER request. This solves the problem where headers registered in the initial REGISTER request (such as User-Agent header) are not sent in subsequent reregistration request. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@799 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11Attended call transfer implementation. The changes involves:Benny Prijono
- Added support for SIP Replaces extension (RFC 3891) - Added pjsua_call_xfer_replaces() to perform attended call transfer. - PJSUA checks and process Replaces header in incoming calls - Added pjsip_ua_find_dialog() API. - Added pjsip_endpt_has_capability() API. - Added pjsip_endpt_send_response2() API. - etc. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@797 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-20Changed the processing of mp3 _options in mp3 writer with regard to bit_rate ↵Benny Prijono
and quality to comply with LAME, also changed the pjsua_recorder_create() parameter to allow specifying mp3 options in one of the parameter git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@785 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19Support for MP3 recording for Win32 target. Also added "--rec-file" and ↵Benny Prijono
"--auto-rec" option in pjsua to record voice conversion. The "--rec-file" option will record to either .WAV or .MP3 depending on the file extension. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@783 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19Fixed miscellaneous warnings with gcc compilationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@782 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18Changed temporary buffer size for duplicating contact info in pjsua-lib to ↵Benny Prijono
1024 from 512 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@781 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18Some changes to REFER handling in PJSUA-LIB:Benny Prijono
- added callback to report call transfer progress - changed the call transfer request callback name in pjsua - added "--norefersub" option in pjsua. - fixed bug when call transfer is done more than once in the same dialog (dialog usage can not be added) Also removed 7xx status from the SIP status codes. And added pjsip_parse_status_line() to parse sipfrag. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@780 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13Fixed possible small memory leak in PJSUA registrationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@769 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11Fixed bug in pjsua_media.c: when sound device is created with different ↵Benny Prijono
sampling rate than the clock rate configuration, resampling port needs to be created. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@765 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11Changed pjsua_media.c to try different clock rates when opening sound deviceBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@763 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08Major addition to support DNS SRV resolution in PJSIP:Benny Prijono
- added DNS asynchronous/caching resolver engine in PJLIB-UTIL (resolver.[hc]) - modified SIP resolver (sip_resolve.c) to properly perform DNS SRV/A resolution when DNS resolution is enabled. - added dns_test.c in PJSIP-TEST for testing the SIP resolver. - added nameserver configuration in PJSUA-LIB - added "--nameserver" option in PJSUA. - updated project/Makefiles and doxygen documentation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@753 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-26Added support for specifying IP address in PJSUA-LIB/pjsua.Benny Prijono
This option can be used for example to select the IP interface of SIP/RTP/RTCP transports, or to specify the public IP address of NAT/router in case port forwarding is used. For SIP transports, this feature works for both UDP and TCP transports. Changes: - added public_ip field in pjsua_transport_config, and change SIP and media transport creation to consider this option. - added --ip-addr option in pjsua - added pjsip_tcp_transport_start2() which allows specifying alternate TCP published address when creating TCP transports. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@742 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25Tests with other user agents revealed some bugs whichBenny Prijono
have been fixed below: - some UAs sends "telephone-event/8000/1" instead of "telephone-event/8000", which caused SDP negotiation to fail. Fixed in sdp_neg.c. - codec name was (incorrectly) compared case-sensitively, causing negotiation to fail. Fixed in sdp_neg.c. - Also improved error reporting in SDP negotiation by introducing few more error codes. - Added Warning header in Not Acceptable response sent by pjsip_inv_session when SDP negotiation fails. - PJSUA-LIB will try to negotiate both SDPs before sending 100 response. - Fixed bug in iLBC codec when setting the mode to 30. Also: - Echo cancellation by default is disabled now since it doesn't seem to work. Further investigation needed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@738 74dad513-b988-da41-8d7b-12977e46ad98
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-22Fixed few bugs that seem to have been introduced by new dialog Benny Prijono
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: http://svn.pjsip.org/repos/pjproject/trunk@734 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 account ID in pjsua_call_info.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@719 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-24Just updated doxygen documentationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@690 74dad513-b988-da41-8d7b-12977e46ad98