Commit Graph

577 Commits

Author SHA1 Message Date
Benny Prijono ee73871ef3 Implemented ticket #185: Added pj_file_flush() to file I/O API to flush file buffers
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1074 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-16 09:25:47 +00:00
Benny Prijono de47956784 Fixed ticket #177: RTP port number is not reset in pjsua media (thanks Binu KS)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1066 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-15 10:23:55 +00:00
Benny Prijono 914754490a Fixed DNS test error because of recent changes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1035 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-03 02:13:55 +00:00
Benny Prijono cc3a9a9b0e Fixed ticket #156: Not enough memory to parse DNS packets in resolver (thanks Frank Wiersma)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1031 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-02 14:35:57 +00:00
Benny Prijono 7e17074b6b Fixed ticket #153: UAC dialog doesn't update route_set when calling RFC 2543 UAS (thanks Binu K S)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1026 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-01 18:39:37 +00:00
Benny Prijono 23be3382f0 Fixed ticket #145: pj_ioqueue_poll() blocks forever because of invalid timeout value (thanks Igor S)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1017 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-28 15:36:19 +00:00
Benny Prijono 015cbfdfec Updated VS8 and EVC4 project with new STUN files and added SHA1, HMAC-MD5, and HMAC-SHA1 encryption
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1001 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-25 15:38:32 +00:00
Benny Prijono 8c6e884046 Fixed ticket #136: Invalid presence entity ID when URI is specified in name-addr format
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1000 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-24 15:33:54 +00:00
Benny Prijono 8b6834fd00 Fixed ticket #90: PUBLISH is rejected with 404 when REGISTER is challenged with 401/407
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@998 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-24 13:29:22 +00:00
Benny Prijono 20d3672c3f Fixed ticket #132: dialog automatically insert Contact header when sending 3xx response (thanks Hozjan Vladimir for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@995 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-22 14:52:24 +00:00
Benny Prijono 14c2b8609d Merged the ICE branch into the trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@992 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-21 00:40:05 +00:00
Benny Prijono 392983fb7d Fixed (and tested) ticket #112: Workaround for forking
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@989 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-20 18:53:14 +00:00
Benny Prijono 4624994b03 Fixed ticket #114: INVITE transaction is not destroyed immediately when ACK has the same branch as the INVITE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@982 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 22:23:14 +00:00
Benny Prijono c111069d16 Fixed ticket #111: workaround for forking dialog
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@979 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 16:55:42 +00:00
Benny Prijono a771a51a61 Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with 2007 in copyright notice in all sources
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 01:13:53 +00:00
Benny Prijono 8c7a6176a7 Fixed invalid URI typecasting in Contact header generation in PJSUA-LIB
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@971 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 21:17:46 +00:00
Benny Prijono fc49359549 Check for non-SIP URI in buddy URL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@969 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 20:56:32 +00:00
Benny Prijono f4721ca8b9 Fixed test.h to include all tests in pjsip test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@962 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 19:40:06 +00:00
Benny Prijono 53cfa71562 Fixed ticket #104: pjsip_ctype_hdr_clone() doesn't duplicate media subtype
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@952 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-16 11:29:16 +00:00
Benny Prijono cba59d9d05 Ticket #102: use PJSUA_MAX_PLAYERS and PJSUA_MAX_RECORDERS instead of hardcoded value in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@949 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-16 09:22:56 +00:00
Benny Prijono e347cb07fc Fixed ticket #101: PJSUA transport is not updated with correct port number if application specifies port is zero
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@947 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14 14:36:13 +00:00
Benny Prijono f5443b2e7e Implement ticket #99: a more generic mechanism to implement UAC transaction timeout after provisional response is received
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@942 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-13 02:52:37 +00:00
Benny Prijono f90ef4ffcd Fixed ticket #98: Error binding transports to specific interface in PJSUA-API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@941 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-12 14:59:57 +00:00
Benny Prijono 9c1528fadb Related to ticket #97: make name_addr handling more robust against possibility of bugs that someone may put another name_addr inside a name_addr
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@939 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-10 19:22:25 +00:00
Benny Prijono c2daf784d5 Fixed ticket #97: bug with URI/name-addr copying in strict route handling routine
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@938 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-10 18:56:52 +00:00
Benny Prijono 0f35f91aec Fixed ticket #89: implement transaction timeout in REGISTER request (thanks Frank Wiersma for reporting the problem)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@932 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-05 18:59:31 +00:00
Benny Prijono ebdf87742d Implement the missing pjsua_get_snd_dev() function
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@925 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01 19:25:50 +00:00
Benny Prijono 5ff6187f32 Fixed ticket #84: pjsua_transport_close() doesn't properly close transport (especially TLS)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@923 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01 03:37:11 +00:00
Benny Prijono e6ead5425d Updated PJSUA-API docs for Python and some bug fixes in Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@918 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-31 20:53:31 +00:00
Benny Prijono ed7a5a7be3 Some simple call testing to py_pjsua and bug fixes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@916 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-29 18:36:38 +00:00
Benny Prijono fc24e6929d Fixed various gcc warnings especially related to ticket #82 when particular codecs are disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@911 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-27 18:31:51 +00:00
Benny Prijono f265180088 Fixed ticket #81: registration refresh crashed when NIC is plugged-off
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@908 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-26 17:13:56 +00:00
Benny Prijono 403e24c7cb Ticket #78: increased PTIME in pjsua_media.c to 20ms (from 10ms) because of the noisy audio problem
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@906 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-25 17:13:34 +00:00
Benny Prijono e80cdf0b87 Updated doxygen documentation to version 0.5.10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@905 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-25 01:38:03 +00:00
Benny Prijono 32e4f4910c Implement ticket #77: allow specifying multiple files in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@903 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-24 00:44:26 +00:00
Benny Prijono fbce9d0c06 Support for Visual Studio 2005 workspace
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@898 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 05:35:36 +00:00
Benny Prijono a66c331766 Implement ticket #67: added WAV playlist feature to PJMEDIA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@895 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 23:12:40 +00:00
Benny Prijono e960bb54f9 Fixed gcc warnings, especially about dereferencing type-punned pointer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@893 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 17:53:39 +00:00
Benny Prijono 922933b3c1 Fixed ticket #68: pjsua account is not completely invalidated
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@892 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 16:23:56 +00:00
Benny Prijono 5899023486 Fixed ticket #73: regc does not respond to 401/407 challenge after it has been marked for deletion
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@891 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 16:11:18 +00:00
Benny Prijono df2b71e7e5 Fixed ticket #65: broken pjsip-test compilation because of recent changes in transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@890 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 19:17:47 +00:00
Benny Prijono b43bad7147 Fix ticket #71: When host doesn't have any NIC interfaces, pj_gethostip() should return 127.0.0.1 instead of error
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@885 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 05:11:08 +00:00
Benny Prijono 87ef89a592 Continuing work on ticket #50: make explicit transport selection works for sending response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@882 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-14 00:39:45 +00:00
Benny Prijono 62c5c5b23b More work on ticket #50: binding of PJSUA-API account to specific transport, and minor fixes in PJSIP core implementation. Tested okay.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@881 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-13 23:22:40 +00:00
Benny Prijono c505570c58 Removed trailing space for invite's CONFIRMED state name
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@880 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-13 23:20:18 +00:00
Benny Prijono 720d0a8365 Workaround for ticket #50: added API to lock/bind transaction, dialog, and regc to a specific transport/listener
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@879 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-12 06:37:35 +00:00
Benny Prijono f77ba882da Added simple_pjsua example
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@876 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-08 01:20:07 +00:00
Benny Prijono b5388cfa9c Just updated and improved the doxygen documentations all over the place
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@875 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-04 22:45:08 +00:00
Benny Prijono 4b96675fa2 Fixed TLS transport when IOCP is used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@872 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-29 02:25:03 +00:00
Benny Prijono 7e8ef1cbc3 Fixed ticket #25: Authentication loops forever when server keeps rejecting request with stale=true
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@871 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-29 00:13:10 +00:00
Benny Prijono e18574cdce Fixed ticket #42: duplicate hash entry when TCP/TLS connection is created while previous one is shutting down
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@866 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 03:56:29 +00:00
Benny Prijono 469b1522a8 (Ticket #52) Added functions to retrieve media port of player and recorder in PJSUA-API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@865 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 03:05:17 +00:00
Benny Prijono 6dd967c9ac Ticket #51: Added audio level adjustment to PJSUA-API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@864 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 02:27:14 +00:00
Benny Prijono 0875ae8c4e Added DTMF callback support all the way to PJSUA API (ticket #48)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@863 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 00:11:48 +00:00
Benny Prijono 7e0d75ff3d Added TLS support in Makefiles (see ticket #3)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@862 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-25 20:34:14 +00:00
Benny Prijono f3bbc139b5 Major TLS work (ticket #3): asynchronous socket, rather complete TLS options, and pjsua integration. The TLS support should work in both client and server mode.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@861 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-25 06:43:59 +00:00
Benny Prijono ba4aedb0c8 More TLS fixes (ticket #3), it should work now in blocking mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@858 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-24 04:34:50 +00:00
Benny Prijono 95df86abfe Fixed ticket #45: Accept, Allow, and Supported header may contain empty sequence
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@854 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-15 11:33:34 +00:00
Benny Prijono 6f0a3d717a Added debugging info setting in Visual Studio project in Release mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@853 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-11 09:52:20 +00:00
Benny Prijono 52cf013a3c More testing with TLS implementation (ticket #3), we can send outgoing request but somehow connection gets closed by server after the request is sent
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@852 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-11 09:32:57 +00:00
Benny Prijono 6e0e54bff3 Initial implementation of TLS transport for ticket #3 (still not working at all)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@849 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-08 21:58:31 +00:00
Benny Prijono 320fa4d35f Fixed ticket #38: misleading error message when destination URI is not valid when making outgoing call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@847 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-07 10:09:16 +00:00
Benny Prijono dfc4c48d45 Fixed ticket #36: pjsip_regc_unregister() SHOULD NOT unregister all contacts 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: https://svn.pjsip.org/repos/pjproject/trunk@843 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-02 07:25:29 +00:00
Benny Prijono 25a86c7225 Fixed ticket #34: unable to send REGISTER in the registration callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@841 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01 20:50:01 +00:00
Benny Prijono f762ee7376 Fixed ticket #29: calling pjsua_init() to reinitialize the whole libraries after pjsua_destroy() is called
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@839 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01 11:14:37 +00:00
Benny Prijono 75862ec87a Fixed ticket #28: bug in Replaces header parsing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@834 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-27 11:10:52 +00:00
Benny Prijono c53c6d706e Display actual sound device name in conference bridge port zero
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@833 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-27 09:54:03 +00:00
Benny Prijono 4be63b5a58 Print media statistic when call is disconnected in pjsua, to assist tracing media problems
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@831 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25 14:50:25 +00:00
Benny Prijono 572d485316 Updated Python project with base PJSUA API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@824 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 21:50:02 +00:00
Benny Prijono d2990b9b96 Updated Speex to their latest SVN (1.2-beta). AEC seems
to work much better now and take less CPU, so I increased
default tail length in PJSUA to 800ms.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@823 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 10:19:46 +00:00
Benny Prijono 12a669c7a6 Worked on the AEC. Apply constant delay bufferring for the AEC,
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: https://svn.pjsip.org/repos/pjproject/trunk@822 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 07:32:13 +00:00
Benny Prijono 1f7cf1500b Fixed mutex leak in SIP endpoint: timer heap was not destroyed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@818 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 18:41:47 +00:00
Benny Prijono af1bb1e09f Fixed handles leak upon program exit, by introducing pj_shutdown() and pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 12:39:31 +00:00
Benny Prijono 1d0ca0ca86 Added jitter buffer settings in PJSUA-API media config
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@813 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 09:06:47 +00:00
Benny Prijono 094d3adb7f Fixed sound device ID bug: application was unable to use device ID zero because this caused pasound.c to autodetect default device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@812 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:41:00 +00:00
Benny Prijono 07113c97a4 Fixed compilation error if C++ application tries to include pjsua_internal.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@811 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:38:00 +00:00
Benny Prijono 19993c6af6 Fixed handles leak in SIP endpoint: ioqueue is not freed, causing PJ_IOQUEUE_MAX_HANDLES mutex to leak during program exits
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@810 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:37:17 +00:00
Benny Prijono 45c206fadb Fixed minor memory leak in SIP TCP transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@808 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-19 21:46:29 +00:00
Benny Prijono f538d2d77f Fixed bug in parser: clone_data member of message body is not set.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@801 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-15 14:38:55 +00:00
Benny Prijono 8fc6de0270 Add pjsip_regc_add_headers() APi to set headers to be added
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: https://svn.pjsip.org/repos/pjproject/trunk@799 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 21:25:55 +00:00
Benny Prijono 053f522223 Attended call transfer implementation. The changes involves:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@797 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 16:16:04 +00:00
Benny Prijono 3647cbd05c Changed svn:eol-style to CRLF for Visual Studio projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@794 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-08 09:08:02 +00:00
Benny Prijono eba441ad84 Removed multiple Via headers checking in transport, as
proxies will receive multiple Via headers.
Thanks Aldo <acampi at deis.unibo.it>.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@792 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-06 13:19:20 +00:00
Benny Prijono 8f31052c5a Changed the processing of mp3 _options in mp3 writer with regard to bit_rate 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: https://svn.pjsip.org/repos/pjproject/trunk@785 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-20 11:08:49 +00:00
Benny Prijono b3cdb2bdb7 Support for MP3 recording for Win32 target. Also added "--rec-file" and "--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: https://svn.pjsip.org/repos/pjproject/trunk@783 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19 15:49:47 +00:00
Benny Prijono 1ebd614540 Fixed miscellaneous warnings with gcc compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@782 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19 15:48:02 +00:00
Benny Prijono dfb7d48871 Changed temporary buffer size for duplicating contact info in pjsua-lib to 1024 from 512
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@781 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 20:35:14 +00:00
Benny Prijono 4ddad2c1fc Some changes to REFER handling in PJSUA-LIB:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@780 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 17:16:34 +00:00
Benny Prijono 27f01ddebf FIXED BUG: pjsip_endpt_send_request() SHOULD DELETE THE REQUEST REGARDLESS OF THE STATUS!!!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@777 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 21:07:19 +00:00
Benny Prijono 197cabf52b Fixed bug in client registration when pjsip_endpt_send_request() returns immediate error
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@776 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 20:05:27 +00:00
Benny Prijono e1a8badcde Fixed possible small memory leak in PJSUA registration
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@769 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13 17:45:38 +00:00
Benny Prijono 658a1c5681 Fixed bug in pjsua_media.c: when sound device is created with different sampling rate than the clock rate configuration, resampling port needs to be created.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@765 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 21:56:16 +00:00
Benny Prijono 26056d8883 Changed pjsua_media.c to try different clock rates when opening sound device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@763 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 16:03:41 +00:00
Benny Prijono 84864dac96 Modify sip_transaction.c to send ACK first before notifying upper layer about the failure (so that ACK is transmitted first before next INVITE is sent).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@756 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08 16:59:38 +00:00
Benny Prijono fa9e5b1a6c Major addition to support DNS SRV resolution in PJSIP:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@753 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08 12:39:34 +00:00
Benny Prijono 0a5cad8dec Added support for specifying IP address in PJSUA-LIB/pjsua.
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: https://svn.pjsip.org/repos/pjproject/trunk@742 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-26 13:21:02 +00:00
Benny Prijono 1d9b9a4996 Tests with other user agents revealed some bugs which
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: https://svn.pjsip.org/repos/pjproject/trunk@738 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25 13:40:12 +00:00
Benny Prijono 093d3022e3 Fixed several bugs in PJSUA-API:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@737 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-24 00:07:11 +00:00
Benny Prijono 5ee1f2eb96 Updated doxygen documentation for the website
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@736 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 20:43:00 +00:00
Benny Prijono e74a941e40 Handle incoming empty packets sent by some user agents (to refresh NAT)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@735 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 18:42:09 +00:00
Benny Prijono dc752ca112 Fixed few bugs that seem to have been introduced by new dialog
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: https://svn.pjsip.org/repos/pjproject/trunk@734 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 16:55:42 +00:00
Benny Prijono d524e82949 In pjsua, outgoing REFER now always put Refer-Sub: false
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@733 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 12:48:18 +00:00
Benny Prijono 669643c95c Automatically suspend AEC when nothing is connected to the sound port in the bridge, and resume as soon as frames are transmitted.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@731 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-20 20:02:18 +00:00
Benny Prijono 148c9dd37a Fixed race-condition/deadlock problems in the dialog/user agent layer
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: https://svn.pjsip.org/repos/pjproject/trunk@729 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19 13:37:53 +00:00
Benny Prijono bc331ca8dc Fixed misc compilation warnings (mostly about unused variables)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@728 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19 13:32:05 +00:00
Benny Prijono 594e4c5f29 Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by 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: https://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 18:51:01 +00:00
Benny Prijono 2461a14b2e Added pjsip_transport_register_type() API to register new transport type.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@720 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 16:07:49 +00:00
Benny Prijono 903155197a Added account ID in pjsua_call_info.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@719 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 16:05:16 +00:00
Benny Prijono afcd6cce11 Updated the doxygen comments for PJSIP_EFAILEDCREDENTIAL and PJSIP_ENOCREDENTIAL, since these are queried often.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@718 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 16:03:42 +00:00
Benny Prijono 39ea7f0e32 Fixed WinCE compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@717 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 13:52:29 +00:00
Benny Prijono 804ff0aa0c Added --duration option in PJSUA to limit the maximum duration of calls. Also added pjsip_generic_string_hdr_init2() to initialize temporary SIP header that is allocated in the stack.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@715 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 11:17:48 +00:00
Benny Prijono 4093f7c448 Fixed bug in client REGISTER: crashed when application calls pjsip_regc_register()/pjsip_regc_send() while previous REGISTER request has not been answered with final response. This occurs for example when pjsip_regc_register() is called in quick successions.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@714 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 23:48:45 +00:00
Benny Prijono ea4296c385 SIP methods are now compared case-sensitively (previously it was case-insensitive) because the standard says so. There's no ill effect of the old behavior, but it's still important that we do things according to what the standard says.
Also a little change in string implementation (use memcmp() instead of strncmp()), an increase the version number from 0.5.7.6 to 0.5.7.7.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@713 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 22:48:37 +00:00
Benny Prijono 736d0f7f16 Fixed bug in event subscription: for event subscriptions established by non-SUBSCRIBE method (such as REFER), the method to refresh/unsubscribe subscription would still be SUBSCRIBE, not the initial method to establish subscription. There's no known ill effect of this bug (that I know of), but it's still important that this one has been fixed.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@712 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 22:45:38 +00:00
Benny Prijono 033d7f6efe Fixed authentication with qop: nc is not printed, and set nc length to 8 bytes (sipcenter proxy server complained about this). It's now working fine with or without qop. Default caching and auto_send still set to disabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@696 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09 16:34:30 +00:00
Benny Prijono d6388acc29 Fix compilation error when PJSIP_AUTH_HEADER_CACHING and 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: https://svn.pjsip.org/repos/pjproject/trunk@695 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09 13:23:09 +00:00
Benny Prijono a3cbb1c4bb Yet another documentation/doxygen update
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@691 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-25 12:41:05 +00:00
Benny Prijono 97b87175bc Just updated doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@690 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-24 14:25:14 +00:00
Benny Prijono c4c61d0216 Finishing autoconf work, also fixed compilation error in publish.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@689 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20 20:47:34 +00:00
Benny Prijono c8141a834a Added initial "norefersub" (RFC 4488) implementation in PJSUA-LIB, and also properly register all supported SIP method, accepted content type, and supported extensions to endpoint.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@688 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20 09:12:19 +00:00
Benny Prijono 3a5e1ab170 Support for PUBLISH (RFC 3903):
- 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: https://svn.pjsip.org/repos/pjproject/trunk@685 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 20:26:34 +00:00
Benny Prijono 21b9ad9ea5 Added initial PUBLISH client support, and also default account selection in pjsua/pjsua-lib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@683 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 13:11:22 +00:00
Benny Prijono f862897cb8 Improved logging consistency and added more logging info in verbosity 6
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@675 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-12 13:58:56 +00:00
Benny Prijono e9db7003c3 Fixed bugs in previous deadlock workaround
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@673 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-11 12:42:50 +00:00
Benny Prijono 8eae838588 Attempt to fix the race condition in dialog locking.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@671 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-10 21:44:26 +00:00
Benny Prijono 2704258752 Fixed bugs in client registration (sip_regc.c): when re-registration failed to send the request, application callback is not called.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@663 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-08 14:04:21 +00:00
Benny Prijono 5b656872cf Added logging in sip_regc.c to report the error when pjsip_regc_send() fails (because no error will be logged when re-registration fails).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@662 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-08 00:41:00 +00:00
Benny Prijono 80019eb11f Added Ctrl-C handler for pjsua Windows, and added average bps in media statistic.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@660 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 13:22:23 +00:00
Benny Prijono 7ca96da54f Added --auto-conf options in pjsua, also enable speex/3200, and set quality 5 to use large resampling filter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@659 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 12:11:40 +00:00
Benny Prijono 5da50430bb Change set_ec_tail() API to set_ec() in sound port, also change suppressor to reduce mic signal by division rather than zeroing the signal. Also moved out VAD and EC settings to config.h.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@658 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 10:24:52 +00:00
Benny Prijono f521eb0401 Fixed assertion error if ACK is received before INVITE transaction sends final response (malicious?). Also fixed misc warnings, and stress-tested on Quad Xeon
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@657 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 23:07:25 +00:00
Benny Prijono 22dfe59f7e Change AEC into generic echo canceller framework with either AEC or simple echo suppressor backend can be selected during runtime.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@653 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 12:07:13 +00:00
Benny Prijono 70972993e6 AEC and sound backend fixes:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@651 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05 11:13:58 +00:00
Benny Prijono 52a939126b Fixed bug in pjsua_media.c because of recent AEC changes: sound device is not connected anywhere!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@649 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 20:54:37 +00:00
Benny Prijono f20687a082 More work on the AEC (including changes in PJSUA), embed the AEC in sound_port, reduce DirectSound buffer from 32 to 16, and fixed ARM compilation for MSVC WinCE target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@648 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 18:27:19 +00:00
Benny Prijono d79f25c3aa Fix compilation error in MacOS because of recent changes in config.h, also disable AEC by default in pjsua-lib, and added ec-tail option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@643 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-02 19:41:37 +00:00
Benny Prijono c8e24a1e53 Added experimental AEC media port (aec_port.[hc]) based on Speex AEC in pjmedia and pjsua-lib.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@642 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-02 18:22:22 +00:00
Benny Prijono 01f0154646 Added simple WinCE application:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@641 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-01 23:09:35 +00:00
Benny Prijono 00cae61f5e - Added iLBC codec (experimental) with the following features:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@637 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 15:19:36 +00:00
Benny Prijono e85bc4114b Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 chars (from 16), and check all those sprintf's especially the ones with "%p" format.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29 20:29:24 +00:00
Benny Prijono e909eac609 Added capability in pjsua to add application created media port to pjsua's conference bridge, also capability to use custom sound device in pjsua.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@632 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-27 22:04:56 +00:00
Benny Prijono 0a12f00fc3 Added --ptime and --no-vad option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@629 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-26 17:05:39 +00:00
Benny Prijono 7db431e40c Added 64bit Linux target (x86_64), also fixed compilation warnings when compiling for this target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@624 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23 14:38:49 +00:00
Benny Prijono b699fe28f2 Improvement/bug fix in hash table lookup to allow user to specify the hash value, and modify transaction to take advantage of this feature
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@623 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23 10:10:35 +00:00
Benny Prijono 92ac447ad2 Changed all public header files to compile correctly when -ansi and -pedantic is used, also when g++ is used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@622 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 13:42:56 +00:00
Benny Prijono 86b73d555a Fixed bug in tel: URI unescaping code
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@619 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 12:47:40 +00:00
Benny Prijono 179efb0cb4 Fixed compilation error when -ansi and -pedantic flags are used (the // style comment in sip_config.h)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@617 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-21 13:24:25 +00:00
Benny Prijono 9b44622ced Fixed error in tel: URI test in pjsip-test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@613 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 16:08:50 +00:00
Benny Prijono 563156189c Small improvements: (1) pjsua now responds to incoming OPTIONS request, 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: https://svn.pjsip.org/repos/pjproject/trunk@612 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 14:39:40 +00:00
Benny Prijono c570f2d768 More intelligent PJSUA-LIB in selecting the appropriate address for Contact header
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@611 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 00:33:02 +00:00
Benny Prijono 2bbd710f64 Fixed several bugs related to TCP:
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@610 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 00:10:53 +00:00
Benny Prijono 02b1023ade Bug fix of previous bug fix
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@608 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-17 11:24:45 +00:00
Benny Prijono 62026bbf96 Syntax error in tel URI parsing (oops)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@607 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-17 10:19:16 +00:00
Benny Prijono f55c02f886 Fixed bugs with the parsing (re: allowable chars): (1) Parameters in URI and header should have different spec. URI should use paramchar spec while header should use token spec (thanks Jeroen van Bemmel) (2) The same rule applies when escaping the parameters during printing process (3) While we're on it, also fixed the tel-URI parser to automatically unescape the parameter values.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@606 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-17 10:04:12 +00:00
Benny Prijono dcc0cbf0be Fixed crash in SIP TCP transport deinitialization, and set pjsip-perf to handle INVITE request to non-standard URL call-statefully
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@605 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-16 10:40:37 +00:00
Benny Prijono ceb12607c8 Attempt to get some applications linked for RTEMS target, just to get the footprint calculation working
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@604 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-14 15:20:00 +00:00
Benny Prijono 775a1b2268 Added PJSIP_MAX_NET_EVENTS configuration to pjsip
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@602 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-11 09:53:27 +00:00
Benny Prijono 5ae86f6c33 Fixed several bugs with TCP transport: (1) Handle crash in transaction, possibly because of transport error, (2) TCP accept() does not work correctly with IOCP because IOCP needs different buffer each time WSAAcceptEx() is called, (3) increase verbosity to warning on transport related errors in transaction
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@600 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10 21:37:53 +00:00
Benny Prijono 3242575737 Do several ioqueue poll in one go in pjsip_endpoint, because IOCP can only report one event at a time
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@598 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10 21:30:34 +00:00
Benny Prijono b4a17c942d Fixed bug in PJSUA API re: account selection and Contact header for accounts
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@597 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10 14:40:21 +00:00
Benny Prijono 973d3f9b39 Fix minor bug in displaying invalid message (previously the whole TCP packet was printed while it should only print the message chunk)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@596 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-09 10:11:43 +00:00
Benny Prijono 1ef06dfc33 Report peak memory used upon exiting
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@595 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-09 10:06:44 +00:00
Benny Prijono fe9c9b66b7 Fixed link errors in ioqueue epoll backend
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@590 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-06 20:43:07 +00:00
Benny Prijono 95c63482b1 Set the caching pool workspace size in pjsip-test to 2MB (configurable)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@589 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-06 14:28:45 +00:00
Benny Prijono ed76f51d2e Fixed SIP parsing bugs when in-place escaping is enabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@587 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-05 21:42:45 +00:00
Benny Prijono b6eab2cc6d Various performance improvements in PJSIP: (1) optimizing for common case to minimize stricmp() calls (header names, method, URI schemes), (2) added functionality in scanner to parse and unescape in-place, (3) etc..
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@583 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 22:08:47 +00:00
Benny Prijono ac623b3bca Change all pj_memset to pj_bzero(), where applicable
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 15:19:31 +00:00
Benny Prijono 1479b65e53 Fixed minor bug in pool_caching.c that prevent pool from being reused if the capacity has changed when the pool is released
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@581 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 14:18:17 +00:00
Benny Prijono 7012722f11 Final changeset from the PROTOS testing, fixed misc. crashes. See
mailing list archive for the details

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@576 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02 14:53:05 +00:00
Benny Prijono 4c55ba0ef6 Fixed minor bug in SIP transaction: transaction should verify that the method specified in CSeq header in the incoming request matches the method of the request (otherwise it will trigger assertion failure in dialog later)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@575 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02 14:26:43 +00:00
Benny Prijono a38ada0d1a Disconnect call when failed to start media when sending 200/OK response in pjsua, also pjsua should not try to force terminate dialog after sending 500 response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@574 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02 14:22:35 +00:00
Benny Prijono b12106f981 Improvements in PJMEDIA to support RFC 3605 (RTCP attribute in SDP) and other changes to improve RTCP communication behind NAT. Also fixed bug related to RTCP reporting changes in revision 565
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@568 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 14:45:17 +00:00
Benny Prijono f901651255 Fixed minor bug in the display of packet loss percentage
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@565 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 09:41:34 +00:00
Benny Prijono e93e287b5c Major improvements in PJSIP to support TCP. The changes fall into these 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: https://svn.pjsip.org/repos/pjproject/trunk@563 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28 16:46:49 +00:00
Benny Prijono 8d36869046 Enhancements and minor bug-fix in SIP UDP transport: (1) application may specify NULL address when creating the UDP transport, to allow the transport to choose arbitrary port, and (2) receive data buffers were not freed when UDP transport is closed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@562 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28 16:23:23 +00:00
Benny Prijono f171a380fb Removed mutex protection in pjsip_endpt_create_pool() since the pool factory is already thread-safe
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@561 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28 16:14:17 +00:00
Benny Prijono 704f7620ae Fixed bug in transaction: ACK message is not deleted
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@556 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-27 12:15:56 +00:00
Benny Prijono 02b8fd8579 Bring the dead pjsip-test up to date with latest pjsip
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@555 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-26 15:12:55 +00:00
Benny Prijono efc9585a73 Finished initial SIP TCP transport support
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@554 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-26 10:05:37 +00:00
Benny Prijono c7da68c54e Removed PDF docs from the SVN tree!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@551 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-24 11:00:02 +00:00
Benny Prijono 478d431cbd Renamed pjsip_transport_unregister() to pjsip_transport_destroy(), also initial implementation of TCP transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@550 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-23 15:04:54 +00:00
Benny Prijono 2e507c2ab2 Fixed 1st response time not initialized for UAS call in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@549 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-23 15:04:11 +00:00
Benny Prijono 733c67a090 Fixed pjsip-test and added msg_err_test.c for testing parsing errors
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@547 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-23 01:03:52 +00:00
Benny Prijono 240b5f738a Fixed bug in sip_transport_udp: socket is closed after unregistered from ioqueue
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@543 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 22:29:12 +00:00
Benny Prijono 18e4982b6e Changed default media quality to 3
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@542 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 22:28:28 +00:00
Benny Prijono 6fd4b8f213 Modify all applications because of changed in WAV port API (removed user_data from argument)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@541 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:51:50 +00:00
Benny Prijono 7eaa0fd360 Added the error code into error messages
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@534 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:30:13 +00:00
Benny Prijono 1ec70b3082 Yet again large diffs because of documentation/doxygen update
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@531 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-20 15:39:07 +00:00
Benny Prijono 0498d902ee Re-live --quality options in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@528 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 14:49:14 +00:00
Benny Prijono 7c00a8fdca Increase default max SIP packet size to 2000 (from 1500), since SIP PDU containing presence info can be quite large
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@520 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 12:06:02 +00:00
Benny Prijono e682155fef Changed in presence: incoming NOTIFY without body will not change presence status (previously it will set status to closed)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@519 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 12:03:35 +00:00
Benny Prijono 312aff9600 Modifications all over the place, but mainly only to update Doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@515 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-17 04:08:30 +00:00
Benny Prijono c78c3a3544 Optimizations mostly in the conference bridge (gained more than 3x faster)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@513 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-16 15:54:43 +00:00
Benny Prijono 6f9794149e Fixed couple of bugs in pjsua API: (1) server presence subscription not setting credentials, and (2) incorrect account status is reported when registration failed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@512 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-15 12:25:46 +00:00
Benny Prijono d841053682 Cleanup misc compilation warnings with gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@509 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-15 11:04:33 +00:00
Benny Prijono 172cd7322c Fixed new pjsua build/makefiles
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@508 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14 20:22:31 +00:00
Benny Prijono 22a300a401 Implement --null-audio, --auto-loop, etc. in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@507 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14 20:04:55 +00:00
Benny Prijono eebe9af098 -- REWRITE OF PJSUA API --
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@503 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13 22:57:13 +00:00
Benny Prijono ddd45557c1 Fixed bugs in client authentication: (1)tx_data in reinit_req() is not invalidated, and (2)caching caused multiple identical authorization headers to be sent in one request
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@502 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13 22:25:05 +00:00
Benny Prijono 0b6340cd04 Added status_text and cause_text in dialog and transaction to capture the real status text in the final response (instead of just the code)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@500 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13 22:21:23 +00:00
Benny Prijono d185dbd592 Fixed bug in generating CANCEL request when the INVITE request contains Route headers
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@499 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13 21:48:06 +00:00
Benny Prijono d9ed706c16 Updated pjsua Makefile with recent changes in pjsua-lib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@493 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-07 10:49:39 +00:00
Benny Prijono 8b1889bdd2 Another huge chunks of modifications in PJSUA API, too many things to mention!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@492 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-06 18:40:40 +00:00
Benny Prijono 571401f6a8 More information in error reporting on parsing error
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@491 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-06 17:04:30 +00:00
Benny Prijono b9b32abf60 Initial work on pjsua ActiveX component
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@487 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-01 12:28:44 +00:00
Benny Prijono 8c634f4b5a Added pjsip_endpt_handle_events2(), which has an additional argument to report how many events are caught in the poll
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@486 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-01 11:41:38 +00:00
Benny Prijono 9fc735d65f More changes in pjsua API to make it more complete high level API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@482 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-28 14:58:12 +00:00
Benny Prijono 0c59feaf87 Added README-RTEMS and tweaked the makefiles
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@477 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-27 13:11:32 +00:00
Benny Prijono dc39fe8a2f First stage in pjsua library re-arrangements towards creating an easy to use high level API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@476 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-26 12:17:46 +00:00
Benny Prijono 4100342690 Removed VSS traces from .dsp files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@458 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-19 21:06:04 +00:00
Benny Prijono d489300934 Changed the way Content-Type is written. Whitespace is now written before the number because some UAs are protesting otherwise
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@453 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-17 21:24:14 +00:00
Benny Prijono b04c9e0072 Major modification in pjmedia to split stream transport into separate functionality, to allow using custom transports with streams
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@452 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-17 17:17:39 +00:00
Benny Prijono f996213fe2 Rearrange transaction statefull stuffs in SIP so that it will not be linked when transaction is disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@448 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-16 13:20:00 +00:00
Benny Prijono 9e1def0edf Fixed bug in UAS dialog (remote.info_str was taken from local info)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@446 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-16 10:19:50 +00:00
Benny Prijono 65382dba06 Set default sound backend in Win32 to own DirectSound, and changed conference clock to 10ms (from 20ms)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@443 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 18:50:09 +00:00
Benny Prijono da1c3e11b8 Change how --add-codec works in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@441 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 10:55:14 +00:00
Benny Prijono 8befd9fe99 Another major modifications in PJMEDIA:
- handle multiple frames in one packet
- split stream creation into two steps to allow customization
- PLC framework and implementation with G.711 and speex
- stream returns NO_FRAME correctly.
- added ptime argument in pjsua



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@438 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-13 22:46:23 +00:00
Benny Prijono 0382cd8135 Updated Makefiles, defined $TARGET as shortcut for ($MACHINE_NAME-$OS_NAME-$CC_NAME)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@431 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-04 08:43:02 +00:00
Benny Prijono 1d8d6087c1 Fixed bug in event subscription when it is challenged/authenticated
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@424 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29 12:38:25 +00:00
Benny Prijono b8c251830a Improve codec handling in pjsua cmd-line options, and add URI to call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@422 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29 08:31:09 +00:00
Benny Prijono 835ab76937 Fixed compatibility problem (missing From tag) with RFC 2543 compliant UAs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@416 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-28 14:46:57 +00:00
Benny Prijono 159530153a Initial support for stereo codecs, and added L16 codecs. Also better handling for case remote media is restarted
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@412 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-27 22:37:08 +00:00
Benny Prijono 52f07b9b5e Added missing error texts in sip_errno.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@406 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-20 11:12:00 +00:00
Benny Prijono 1a61cb18d3 Fixed bug: credentials are not copied properly in set_credentials()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@401 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-14 08:55:39 +00:00
Benny Prijono e21e784674 Added call duration in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@398 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-09 16:46:05 +00:00
Benny Prijono e7483e5fcd Fixed RTCP compilation warnings with gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@393 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-06 21:08:35 +00:00
Benny Prijono 6996823860 Integrate (stream) quality monitoring into RTCP framework, and update all RTCP clients accordingly
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@390 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-06 19:29:03 +00:00
Benny Prijono 1f79fd08cc Removed some UDP socket warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@377 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-04 13:11:34 +00:00
Benny Prijono 64158afc10 Changed pjsip_dlg_send_request() API to NOT return transaction as it is not safe against race condition
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@376 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-04 11:06:34 +00:00
Benny Prijono 94e0103dc2 Fixed crashed bug when pjsua failed to initialize. Also fixed PortAudio error msg in pjmedia_strerror()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@370 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-31 00:59:16 +00:00
Benny Prijono 080a2c4ce9 Removed continuous warnings in handle_events in pjsua_core, and temporarily set default ioqueue in Linux to use select instead of epoll
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@369 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-30 20:55:20 +00:00
Benny Prijono 46ecff8ab1 Support for alternate pool backend
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@368 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-30 16:46:36 +00:00
Benny Prijono e0f70aa08b Fixed crash bug with poll_reset() in rdata
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@367 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-30 16:46:07 +00:00
Benny Prijono fce4b5c723 Moved getopt from pjsua-lib to pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@360 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-24 20:43:37 +00:00
Benny Prijono 275fd68d29 Redesign RTP/RTCP stuffs so that stream does not create thread implicitly. Changed pjmedia_endpt_create() API.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@350 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-22 11:59:11 +00:00
Benny Prijono fa137ca7cf Added clock-rate options in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@343 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20 17:42:37 +00:00
Benny Prijono 11852996f5 Fixed or added misc flags to enable build selection via compile time macro
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@331 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-18 12:28:03 +00:00
Benny Prijono 3ba816ebd0 Added option to disable error message altogether, to save space footprint
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@330 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-18 12:26:55 +00:00
Benny Prijono a9edfbb23f Fixed bug in --rtp-port argument parsing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@325 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17 17:58:44 +00:00
Benny Prijono e8b0d3b0a6 Changed pjsip_inv_send_msg() function
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@324 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17 17:57:52 +00:00
Benny Prijono b100d69072 Added feature in conference bridge to get and set the signal level of individual port and individual stream direction
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@323 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17 00:16:01 +00:00
Benny Prijono d0659a3264 Support for stereo audio (or N audio channels, for that matter)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@322 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-16 19:03:07 +00:00
Benny Prijono 101a78b027 Added sound port (sound_port.h/c), and changed sound and RTCP names from pj_* to pjmedia_*
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@321 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-16 18:52:55 +00:00
Benny Prijono 4381efe1db Added misc flags and modify Makefiles to allow exclusion of PortAudio and specific codec during compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@320 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-16 14:24:26 +00:00
Benny Prijono de38058342 Added Null port, and changed conference so that it does not call port get_frame() when there is no listener on the port
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@318 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-15 19:32:41 +00:00
Benny Prijono ed811d7b04 Fixed compilation and run warnings/errors with MSVC 2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@315 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-10 12:57:12 +00:00
Benny Prijono 8e3344c41d Added options to disable microphone device, usefull for streaming server (some systems only have sound player)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@312 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-08 12:37:22 +00:00
Benny Prijono 36d69416e8 Updated dev-guide pdf to 0.5.4
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@308 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-07 16:01:57 +00:00
Benny Prijono 441ce00f86 Updated evsub to sync with the doc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@306 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-07 15:15:01 +00:00
Benny Prijono 105217fbee Added --uas-duration and --uas-refresh option (the later is broken)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@305 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 16:25:59 +00:00