summaryrefslogtreecommitdiff
path: root/pjsip-apps
AgeCommit message (Collapse)Author
2007-01-21Added ability to feed text file containing commands (on Windows) and sleep ↵Benny Prijono
command to pjsua. Thanks Steven Halerman. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@894 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21Fixed gcc warnings, especially about dereferencing type-punned pointerBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@893 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-14Continuing work on ticket #50: make explicit transport selection works for ↵Benny Prijono
sending response git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@882 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-08Added simple_pjsua exampleBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@876 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-28Fix eol-style in pjsua.py/py_pjsua.cBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@870 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-28 py_pjsua.c and pjsua.py updated until lib call fahris
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@869 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-22Ticket #46: added recording capability in streamutil sample applicationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@856 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-09First update on buddy APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@851 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-04Updated Python abstraction with transport and account APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@845 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-30Implement task #26: integrate table based Alaw/Ulaw/linear conversion into ↵Benny Prijono
pjmedia (thanks Toni Rutar for the original contribution) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@838 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-29Fixed sndtest bug (ticket #32): it doesn't display the correct device being ↵Benny Prijono
tested when default device is used. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@837 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-26Added 'cc x y' and 'cd x y' command in pjsua as shortcut commands for the ↵Benny Prijono
normal cc and cd command git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@832 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-25Fixed bug in siprtp: media transport was incorrectly NULL-ed after end of ↵Benny Prijono
call, causing next call to fail git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@829 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24Updated footprint script to include new stuffs such as echo canceller and ↵Benny Prijono
tone generator git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@826 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24Fixed footprint calculation scriptBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@825 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-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 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-16Added initial Python moduleBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@803 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-14Fixed transport detachment when there's no thread being used in siprtp.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@800 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11Committed what seems like what left uncommitted in previous commit ↵Benny Prijono
(pjsua_app.c and pj/config.c) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@798 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-10-20Fixed bug in siprtp in SDP generation because of recent change in SDP ↵Benny Prijono
attribute value git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@784 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-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-16Added logging in pjsua winceBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@774 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16Changed siprtp to bind to specific address (instead of 0.0.0.0) when -i ↵Benny Prijono
option is specified in the command line git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@771 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-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