summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
2006-12-25Added TLS support in Makefiles (see ticket #3)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@862 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-24More TLS fixes (ticket #3), it should work now in blocking modeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@858 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-15Fixed ticket #45: Accept, Allow, and Supported header may contain empty sequenceBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@854 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-11Added debugging info setting in Visual Studio project in Release modeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@853 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-11More testing with TLS implementation (ticket #3), we can send outgoing ↵Benny Prijono
request but somehow connection gets closed by server after the request is sent git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@852 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-02Fixed ticket #36: pjsip_regc_unregister() SHOULD NOT unregister all contacts ↵Benny Prijono
but rather only contact that was previously sent in the registration. In addition, added function pjsip_regc_unregister_all() to unregister all contacts git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@843 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01Fixed ticket #34: unable to send REGISTER in the registration callbackBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@841 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-27Fixed ticket #28: bug in Replaces header parsingBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@834 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-23Updated Speex to their latest SVN (1.2-beta). AEC seemsBenny Prijono
to work much better now and take less CPU, so I increased default tail length in PJSUA to 800ms. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@823 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23Worked on the AEC. Apply constant delay bufferring for the AEC,Benny Prijono
and also consider sound device latency when applying EC. It sounds like working although it still doesn't perfectly cancel the echo. EC is now by default enabled in PJSUA. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@822 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Fixed mutex leak in SIP endpoint: timer heap was not destroyedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@818 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-21Fixed compilation error if C++ application tries to include pjsua_internal.hBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@811 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Fixed handles leak in SIP endpoint: ioqueue is not freed, causing ↵Benny Prijono
PJ_IOQUEUE_MAX_HANDLES mutex to leak during program exits git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@810 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-19Fixed minor memory leak in SIP TCP transportBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@808 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-15Fixed bug in parser: clone_data member of message body is not set.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@801 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-11-08Changed svn:eol-style to CRLF for Visual Studio projectsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@794 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-06Removed multiple Via headers checking in transport, asBenny Prijono
proxies will receive multiple Via headers. Thanks Aldo <acampi at deis.unibo.it>. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@792 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-16FIXED BUG: pjsip_endpt_send_request() SHOULD DELETE THE REQUEST REGARDLESS ↵Benny Prijono
OF THE STATUS!!! git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@777 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16Fixed bug in client registration when pjsip_endpt_send_request() returns ↵Benny Prijono
immediate error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@776 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-08Modify sip_transaction.c to send ACK first before notifying upper layer ↵Benny Prijono
about the failure (so that ACK is transmitted first before next INVITE is sent). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@756 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-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-22Handle incoming empty packets sent by some user agents (to refresh NAT)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@735 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-20Automatically suspend AEC when nothing is connected to the sound port in the ↵Benny Prijono
bridge, and resume as soon as frames are transmitted. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@731 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