Commit Graph

136 Commits

Author SHA1 Message Date
Benny Prijono 2225d01c96 Updated project dependencies to pjnath
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1130 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 18:46:06 +00:00
Benny Prijono 33fcaa03c4 Fixed warnings/errors when logging is disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1113 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 20:17:04 +00:00
Benny Prijono a6bd758a9d Updated projects and Makefiles with the new pjnath library
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1111 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 15:49:48 +00:00
Benny Prijono b681a2f671 ICE (work in progress): use single socket for all candidates in component, and implemented IP interface enumeration on Win32
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1104 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-25 18:44:51 +00:00
Benny Prijono ebbf68973c Added generic DNS SRV resolution in pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1102 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-24 17:37:25 +00:00
Benny Prijono c27512bd35 Added/updated VS8 projects for pjnath
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1100 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 20:12:45 +00:00
Benny Prijono 0923717c82 (big patch) Added top-level pjnath project and moved STUN related files to this new project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1062 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-14 11:52:13 +00:00
Benny Prijono d59717461e Completed and tested (simple test) the TURN server and command line STUN/TURN client
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1054 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-10 23:15:36 +00:00
Benny Prijono e4c40200de Started working on sample TURN client
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1053 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-10 11:19:11 +00:00
Benny Prijono 62923f2a90 Today's work on TURN server. All looks to be implemented
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1052 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-09 23:25:11 +00:00
Benny Prijono e631558f81 A really initial implementation on STUN server
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1049 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-08 18:58:04 +00:00
Benny Prijono 7cd1622fe5 Implemented new STUN server framework
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1040 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-05 00:58:24 +00:00
Benny Prijono 044eb088c3 Fixed warnings in STUN
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1039 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-04 18:29:10 +00:00
Benny Prijono d8672d85e6 Fixed STUN client/server authentication
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1038 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-03 19:35:34 +00:00
Benny Prijono cc8febb812 Committed today's work on STUN
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1037 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-03 02:16:36 +00:00
Benny Prijono 055ae9fa57 Finishing up client-side STUN authentication, a simple STUN client, and simple STUN server
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1034 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-02 19:06:05 +00:00
Benny Prijono 963c4da841 Removed C++ style comment from dns.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1032 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-02 14:46:15 +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 4df6261759 More STUN work
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1030 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-01 23:39:08 +00:00
Benny Prijono c5ee091edd More work on STUN session framework
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1021 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-01 00:08:27 +00:00
Benny Prijono f83dc1d706 Fixed build error for recent STUN modifications on Unix
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1016 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-28 14:35:50 +00:00
Benny Prijono cf77042064 Moved stun_session from client to library
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1008 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-26 23:49:48 +00:00
Benny Prijono e329ef8816 Renamed pjstun_srv to pjstun_srv_test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1005 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-26 22:38:46 +00:00
Benny Prijono b6f7aed7f7 Renamed pjstun_srv to pjstun_srv_test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1004 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-26 22:37:29 +00:00
Benny Prijono 8fe2ed5fed Finishing up STUN server side authentication
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1003 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-26 22:31:06 +00:00
Benny Prijono 3dc1f40410 Added CRC32 code to pjlib-util, and implemented STUN FINGERPRINT and MESSAGE-INTEGRITY
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1002 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-26 02:33:14 +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 d0a3585420 Ticket #121 and #122: Initial implementation of generic STUN transaction, with Binding request as an example
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@996 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-23 01:07:54 +00:00
Benny Prijono 91169ac202 Continuing work on the new STUN framework, partly implemented the client session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@993 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-22 02:09:23 +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 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 8f6c89f6f2 Minor change in resolver: added current TTL value when entry is picked up from the cache
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@965 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 00:10:00 +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 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 5fb99e5045 Fixed several compilation warnings with MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@897 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 04:17:56 +00:00
Benny Prijono f792bef52a Removed duplicated stun.o in pjlib-util Makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@805 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-17 13:44:16 +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 c3a5f421b5 Fixed title mismatch in PJLIB-UTIL HTML header
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@755 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08 14:22:19 +00:00
Benny Prijono 04d9576b30 Added pjlib-util/config.h and pjlib-util/types.h to put
together common settings, and updated Doxygen documentation
for PJLIB-UTIL.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@754 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08 13:56:07 +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 d424f5bc49 Added initial implementation of low-level DNS packetization
and parsing functions in PJLIB-UTIL/dns.h. Errors codes
added for DNS formatting related errors.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@745 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-30 11:39:17 +00:00
Benny Prijono 4e5519f42f Fix STUN client when handling unknown attributes. Before it failed the transaction, now it simply just ignores it.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@711 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 21:56:11 +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 15bbb38b33 Change unescaping function in scanner and string.c to NOT unescape when '%' is not followed by hex digits.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@654 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 14:11:52 +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 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 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 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 e1f1e38e55 Fixed bugs in scanner: (1) pj_cis_match() takes int argument, so when ASCII character above 127 is given, it will access the array with negative index, and (2) pj_scan_get_newline() may incorrectly eat two newlines when the second newline is a header continuation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@570 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02 09:29:09 +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 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 385153d476 Cleanup warnings with MSVC 2003
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@472 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-24 10:25:34 +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 4a194157ce Removed pj_opterr from getopt.h as it is currently not supported
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@405 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-20 11:11:34 +00:00
Benny Prijono 448fc064c6 Moved getopt from pjsua-lib to pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@359 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-24 20:43:23 +00:00
Benny Prijono 4fca27bee4 Fixed misc warnings/errors in Solaris build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@355 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-23 18:04:15 +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 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 0e152fff6f Added PJLIB_UTIL_EINXML in errno
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@264 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-02 21:13:10 +00:00
Benny Prijono dce7b11e51 Found out what has been causing the slow performance.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@262 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-01 23:37:06 +00:00
Benny Prijono 2eb5dd62f0 Added errno.c in Makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@240 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-27 00:40:01 +00:00
Benny Prijono bece36aea3 Started errno framework in pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@217 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-22 22:10:42 +00:00
Benny Prijono d1bfc627ff Added support for <! element
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@200 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-19 15:36:21 +00:00
Benny Prijono 0cdba29e36 Added pj_xml_clone()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@194 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-19 01:29:42 +00:00
Benny Prijono c0a9586adf Ported to WinCE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@185 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-14 21:17:46 +00:00
Benny Prijono 1819dc9a75 Removed default CFLAGS=-O2 -g in Makefiles
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@154 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-08 11:15:20 +00:00
Benny Prijono 8fa234f774 Fixed minor typo in Makefile comments
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@146 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07 20:57:14 +00:00
Benny Prijono 4d95efec88 Fixed Makefile and warnings in cygwin/mingw
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@142 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07 19:01:58 +00:00
Benny Prijono 728a905193 Complete tsx layer selftest, implemented authentication framework
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@123 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-18 23:34:15 +00:00
Benny Prijono b77cc54089 Added pj_cis_add_cis()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@81 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-23 20:55:37 +00:00
Benny Prijono 0198612aa5 Dont skip whitespace after newline in pj_scan_skip_line
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@79 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-23 11:24:16 +00:00
Benny Prijono cec5f4ae2c More optimizations for msg parser etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@77 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-22 23:51:50 +00:00
Benny Prijono de5f4643c3 Scanner optimization and added cis_uint backend
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@73 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 17:06:21 +00:00
Benny Prijono 9033e31911 Set svn:eol-style for all files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@66 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 02:08:39 +00:00
Benny Prijono 5dcb38d909 Set svn:eol-style property
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@65 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 01:55:47 +00:00
Benny Prijono fd39486532 Added character (un)escaping utilities in string.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@63 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-20 19:57:22 +00:00
Benny Prijono d4afc90b46 Fixed compile error in scanner
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@56 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-19 13:19:49 +00:00
Benny Prijono e0312a7f30 Pretty comments
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@51 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-18 00:16:43 +00:00
Benny Prijono e722461aef Applying license to pjproject
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@49 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-13 19:40:44 +00:00
Benny Prijono f010e69c41 First clean compile of pjsip
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@43 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-11 19:01:31 +00:00
Benny Prijono 9551df1a80 Fixed missing .exe extension in pjlib-util MSVC projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@34 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08 11:59:40 +00:00
Benny Prijono 9a65621ab4 MSVC projects for pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@33 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08 11:55:27 +00:00
Benny Prijono e91bf77a9f Initial configuration for pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@32 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08 11:31:55 +00:00
Benny Prijono f2afa6caef Renamed pjutil subdirs to pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@31 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08 09:54:02 +00:00
Benny Prijono b3abf49f5a Rename pjutil to pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@30 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08 09:52:29 +00:00