Commit Graph

76 Commits

Author SHA1 Message Date
Nanang Izzuddin b2b5f167fb Close #1567: Added option to use STUN2 format for resolving mapped address in pjsua_config.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4224 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-09 05:21:25 +00:00
Sauw Ming e7dbbc8f30 Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunk
* Backport of r3557:r3832

TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24 09:28:13 +00:00
Nanang Izzuddin a62ffc9d03 Re #1250: Updated the year in all copyright texts with 2011!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05 06:14:19 +00:00
Benny Prijono 00f8827827 Implemented and closed #1136: added HTTP authentication support
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3321 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-27 08:35:08 +00:00
Nanang Izzuddin cbbcb60ada Fix #1078: added XOR_MAPPED_ADDRESS parsing capability to the resolver.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3235 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-06 08:11:04 +00:00
Sauw Ming 2d674b320c Ticket #1018:
Application may now destroy pj_http_req inside on_complete callback.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3227 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-29 13:43:05 +00:00
Sauw Ming 63236bb7f5 Misc (#1018):
* httpdemo: make the 2nd parameter (output filename) optional (result will be printed to stdout if output file is not provided.
 * remove trailing "\n" from PJ_LOG.
 * change response.status_code from pj_str_t to pj_uint16_t.
 * remove PJ_EPENDING status checking from on_complete.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3089 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-05 16:03:29 +00:00
Sauw Ming d8435e6798 Implemented ticket #1018: Simple HTTP client implementation
* pjlib-util:
   * implement http_client
 * pjlib-util-test:
   * unit test for http_client
 * pjsip-apps/samples:
   * sample http client implementation
 * build:
   * added http_client support on VS6, VS2005, MMP, and Makefile 



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3087 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-04 18:29:16 +00:00
Benny Prijono ecc183e9be Ticket #868: Added functions to search XML child nodes recursively
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2727 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-01 09:28:28 +00:00
Benny Prijono 844653c1f2 Updated copyright notice in all files to Teluu Inc., and changed the year as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23 17:27:53 +00:00
Benny Prijono c693f4d6e5 Fixed ticket #686: Failure to cancel outstanding DNS SRV query job (API change)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2387 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-19 12:26:42 +00:00
Benny Prijono 41d7013ab0 Ticket #560: Optimize the memory usage of DNS resolver
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2124 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-12 09:50:48 +00:00
Benny Prijono 32177c0418 Large changeset to replace all occurences of year 2007 with 2008 in the copyright notice
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 22:44:47 +00:00
Benny Prijono 5b64b8df4b Updated doxygen documentations
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2037 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 21:39:02 +00:00
Benny Prijono 71c8395069 Ticket #537: implemented Simple DNS Server class (for testing) in pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1987 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 14:18:28 +00:00
Benny Prijono c4bb78ba5a More ticket #465: option to return UDP header in pj_pcap_read_udp(), and better RTP packet handling in pcaputil sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1769 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-02 09:12:13 +00:00
Benny Prijono 0f85672335 Ticket #465: utility to read PCAP file and sample application to read RTP files from PCAP file, decode the payload, and write the PCM output to WAV file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1765 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-01 14:59:19 +00:00
Benny Prijono a7b376bc7c Fixed doxygen comments everywhere
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1748 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-25 16:06:33 +00:00
Benny Prijono 956eb1a4d7 Fixed missing typedef keyword in pj_dns_srv_option declaration (thanks Alain Totouom)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1590 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-21 14:14:00 +00:00
Benny Prijono 444ef3f586 Ticket #419: initial support for DNS AAAA resolution
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1587 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-20 09:47:32 +00:00
Benny Prijono b071a7897d Fixed build warnings/error on Linux
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1490 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-10 13:12:37 +00:00
Benny Prijono 7977f9f7eb Ticket #396: initial implementation of digest AKA (akav1-md5) authentication for IMS/3GPP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1488 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-10 11:37:56 +00:00
Benny Prijono f1428f3e2b Fixed wrong year in copyright line, s/2005/2007 (thanks Atik Khan)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1374 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-19 09:04:58 +00:00
Benny Prijono bf56604010 Ticket #332: Enlarge default buffer size for caching DNS responses from 512 to 1000 bytes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1360 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-11 16:59:41 +00:00
Benny Prijono f5afa92fbf Ticket #330: Changed DNS SRV resolver to use the new DNS A response parser
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1357 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-11 16:51:18 +00:00
Benny Prijono 1423585417 Ticket #329: Added utility function to parse DNS A response in PJLIB-UTIL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1356 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-11 16:47:51 +00:00
Benny Prijono a53dc15455 Ticket #325: More tunable settings in DNS resolver
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1346 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-07 15:40:19 +00:00
Benny Prijono a266868de3 Fixed missing padding when calculating MESSAGE-INTEGRITY in STUN
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1265 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11 10:37:14 +00:00
Benny Prijono ba5926a822 PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing follows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 11:29:37 +00:00
Benny Prijono db6a3095e7 Ticket #208: Allow single quotes for attributes in XML (thanks Tory Patnoe)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1145 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-04 10:15:27 +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 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 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 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 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