Commit Graph

418 Commits

Author SHA1 Message Date
Sauw Ming 22532b6a85 Re #1972: ICE initialization issues when creating a component/candidate fails.
Fixed ICE stuck if TURN creation fails in resolved state, assertions when trying to access other components/candidates, and crash when trying to access destroyed TURN socket.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5474 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-28 03:57:55 +00:00
Nanang Izzuddin 4b6835c9b8 Re #1971: Updated TURN session to add REQUEST-ADDRESS-FAMILY/REQ-ADDR-TYPE attribute in Allocate of IPv6 relay request.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5469 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-24 07:20:36 +00:00
Nanang Izzuddin 984a7fbdbe Fix #1972: Update ICE candidate status to non-PJ_EPENDING after TURN server name resolution fails.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5465 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-21 06:38:16 +00:00
Sauw Ming b86d83f88f Fixed #1957: ICE stagnation when connectivity check fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5427 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-25 01:32:42 +00:00
Nanang Izzuddin bf599934e7 Misc (re #1928): Fixed possible stuck issue in pjnath-test caused by blocking recvfrom() upon concurrent socket events.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5388 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-18 11:02:02 +00:00
Riza Sulistyo acb57f2daa Re #1933: Handle link-local address that cause the test to fail.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5387 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-15 15:02:09 +00:00
Nanang Izzuddin 2545ac9127 Re #1933: Updated pjnath sess_auth.c test to use loopback address on IPv6.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5385 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-15 02:56:21 +00:00
Nanang Izzuddin 7df7703982 Re #1942:
- Reverted back r5375, otherwise retrying next server will not work as it is using the ALLOCATING -> RESOLVED.
 - Don't set state to RESOLVED when pj_stun_session_send_msg() fails to avoid infinite loop, simply return the error code and let application destroy the TURN client session (which is already done by TURN socket).
 - Handle allocation error when delayed allocation fails (otherwise TURN client session may never get destroyed?).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5380 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-13 09:57:26 +00:00
Nanang Izzuddin 978e5ef6dd Fix #1942: TURN socket should not start TURN allocation in state PJ_TURN_STATE_RESOLVED when previous state is already PJ_TURN_STATE_ALLOCATING.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5375 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-04 13:12:24 +00:00
Nanang Izzuddin 0d27f4a1f3 Misc (re #1928): Fixed various compile warnings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5366 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29 05:53:10 +00:00
Riza Sulistyo f350bf39ef Re #1928: Avoid assertion when using STUN on NAT64.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5363 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-29 02:21:00 +00:00
Sauw Ming b4e1c4800c Re #422: IPv6 support for NAT detect
Add API pj_stun_detect_nat_type2()



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5359 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-28 06:33:20 +00:00
Riza Sulistyo e1eb84ed83 Re #1933: Update pjnath-test for IPv6 support.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5350 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-21 06:55:10 +00:00
Nanang Izzuddin 2273c779cd Close #1927: IPv6 support in DNS SRV:
- support DNS A and AAAA resolution for each target in DNS SRV record
 - support fallback to DNS A and DNS AAAA resolution when DNS SRV record is not available
 - support IPv6 nameservers.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5349 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-20 10:10:42 +00:00
Nanang Izzuddin 5518959bd5 Re #422: Enable IPv6 in ICE transport in pjsua-lib:
- currently only IPv6 host candidate will be generated, still not sure whether IPv6 NAT is really used in real world
 - if the account enables IPv6 media and the host has IPv4 address, ICE will generate IPv4+IPv6 candidates, it should be very useful in NAT64 environment, and should not add delay in ICE nego in IPv6 only environment (note: candidate check pair must have same IP address family).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5342 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-13 07:11:41 +00:00
Nanang Izzuddin bb4ffeca43 Re #422: Omit IPv6 link-local address in gathering ICE candidate.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5340 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-08 08:52:18 +00:00
Nanang Izzuddin 4d07fcf756 Re #422: Added IPv6 support to PJNATH, changes:
- Deprecated 'pj_ice_strans_cfg.af', if set, the value will be ignored, address family setting is now specified via transport setting, i.e: 'pj_ice_strans_cfg.stun_tp/turn_tp'.
 - Deprecated 'pj_ice_strans_cfg.stun/turn', for backward compatibility, this field value will be checked if 'pj_ice_strans_cfg.stun_tp_cnt/turn_tp_cnt' is set to zero.
 - Added 'pj_ice_strans_stun_cfg' & 'pj_ice_strans_stun_cfg' and the corresponding 'pj_ice_strans_stun/turn_cfg_default()'
 - Added 'pj_ice_strans_cfg.stun_tp/turn_tp' as replacement of 'pj_ice_strans_cfg.stun/turn', it is now an array so app can have multiple STUN/TURN transports.
 - Added macro PJ_ICE_MAX_STUN/TURN to specify maximum number of STUN/TURN transports in each ICE component in compile-time.
 - Miscellaneous: fixed socket number limit in concurrency test in pjnath-test, updated pjsua_media.c to use new 'pj_ice_strans_cfg' setting.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5339 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-08 03:17:45 +00:00
Sauw Ming 3733338bc1 Re #1922: Replace IPv4 specific APIs as per Apple's recommendations
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW27



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5311 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-20 04:17:00 +00:00
Sauw Ming 48b7909aed Re #1917 (misc): Fixed memory leak in pj_stun_sock_start() if pj_getaddrinfo() fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5296 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-13 07:46:17 +00:00
Sauw Ming 0ced8c9cdd Fixed #1913: Add callback for address change notification from STUN keep alive
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5282 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-09 03:29:28 +00:00
Riza Sulistyo ff0f0ba6e8 Re #1903: Fix crash when cleaning STUN response cache.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5233 74dad513-b988-da41-8d7b-12977e46ad98
2016-01-05 14:34:22 +00:00
Sauw Ming b3b6caa2cf Re #1882 (misc): Fixed potential out-of-bound array access in ice_session.
Thanks to Dusan Klinec for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5221 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-30 03:44:12 +00:00
Riza Sulistyo c20e1c8d3c Re #1882 (misc): Check for duplicate entry when building list of ICE host candidate. Thanks to Dusan Klenic for the original patch.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5215 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-16 03:58:09 +00:00
Riza Sulistyo e67887e55e Re #1900: Initial implementation with pjsua cli/telnet sample app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/uwp@5210 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-10 01:58:38 +00:00
Nanang Izzuddin bc2f742bbf Misc (re #1882): Added include header guard to pjnath.h.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5203 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-01 07:04:45 +00:00
Nanang Izzuddin 7cbdf0bcb1 Fix #1891: Also match base address in find local candidate after receiving ICE check response.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5184 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-01 04:43:28 +00:00
Riza Sulistyo 5a5522dc6e Re #1881: Add filters file.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5181 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-21 05:25:04 +00:00
Nanang Izzuddin 88358fd268 Re #1881: Fixed compile warnings on VS2015 about declaration hides previous declaration.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25 08:45:46 +00:00
Riza Sulistyo bcfe1aea76 Re #1881: Add Visual Studio 2015 support.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5168 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21 14:58:04 +00:00
Sauw Ming 52d41c713a Fixed #1877: Race condition between stopping ICE and sending data in ICE stream transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5151 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-07 05:44:40 +00:00
Sauw Ming 54183315ca Fixed #1869: Destroy STUN session when cleaning up STUN server resolution
Thanks to Itay Bianco for the patch



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5133 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-14 01:18:19 +00:00
Nanang Izzuddin bdbd3f2720 Fixed #1844: Replaced assertion check of component ID range with normal check.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5070 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-15 00:38:54 +00:00
Nanang Izzuddin 663d8e0dea Misc (re #1782): Fixed various compile warnings on MSVC.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5045 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-06 06:13:51 +00:00
Nanang Izzuddin b20d77c49f Re #1828: Fixed misc compile warnings (on iOS).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5035 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-27 06:17:27 +00:00
Sauw Ming dc2989d9c1 Fixed #1818: Fixed destruction of locked mutex (thanks to Denis Poltorak for the Helgrind report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4987 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-03 02:41:27 +00:00
Sauw Ming 7e067e0ca7 Fixed #1815: Race condition of STUN transaction destruction
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4983 74dad513-b988-da41-8d7b-12977e46ad98
2015-02-13 11:34:26 +00:00
Riza Sulistyo 4baa476078 Misc (re #1751): fixed printing value issue when using %02X format. (Thanks Itay Bianco for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4910 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-01 06:32:50 +00:00
Nanang Izzuddin 2af6664626 Misc (re #1751): fixed occasional failure in pjsip-test & pjnath-test caused by resource leak.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4898 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-21 03:43:11 +00:00
Benny Prijono 30b3ed7079 Fixed #1780: Bug: STUN string attribute has zero length
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4895 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-20 10:35:29 +00:00
Benny Prijono d1803e61dd Re #1751: fixed miscellaneous gcc warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4890 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-19 00:54:34 +00:00
Benny Prijono 241474d94d Misc (re #1630): Fixing warnings about variable set but not used with recent gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4728 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04 10:13:56 +00:00
Sauw Ming 4bf06e69fa Re #1519 (commited to SVN trunk): Add lib target to build system to enable building the library only (without the executables)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4727 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04 07:39:55 +00:00
Nanang Izzuddin bd187283ee Fix #1726: Added check in assertion line for transmitting STUN message without incrementing retransmission count.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4717 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-29 06:33:38 +00:00
Nanang Izzuddin 93252d7e89 Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir Cohen for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23 08:13:11 +00:00
Nanang Izzuddin 288461dd42 Misc (re #1630): Fixed GCC build warnings (thanks Tzafrir Cohen for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4712 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23 08:09:29 +00:00
Benny Prijono f912318dd8 Fixed #1713: Enable building the libraries as shared libraries/DLLs for GNU targets
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4656 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-23 07:13:40 +00:00
Sauw Ming f68beb9682 Re #1630 (misc): Prevent retransmit timer cancellation during retransmission of STUN request.
This is related to ticket #1620: Fix the calculation of transmission count during retransmission of STUN request. If mod_count is set to PJ_FALSE, retransmit timer shouldn't be cancelled.
 



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4652 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-14 09:36:05 +00:00
Sauw Ming fc1fb24b87 Re #1630 (misc): Use the right compiler and flags to compile C++ (.cpp) files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4637 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-24 07:12:39 +00:00
Sauw Ming fdd63c3b60 Fixed #1707: Add support for paralel build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4632 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-23 06:39:47 +00:00
Benny Prijono 6e2e6e27e6 Re #1703 General bug fixes: fixed some wrong null checking order
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4615 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 11:14:42 +00:00
Benny Prijono 58dba631ff Re #1703: fixing general bugs. First installment: correct handling of snprintf return value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4613 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08 09:08:13 +00:00
Sauw Ming a179899278 Fixed #1674: Deadlock when third party media employs external lock and ICE is active
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4606 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-01 05:00:57 +00:00
Nanang Izzuddin 1c3e8fbdf1 Fix #1700: Added PJ_ICE_CAND_TYPE_MAX to represent the number ICE candidate types.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4602 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-25 04:57:26 +00:00
Nanang Izzuddin 264ace7579 Fix #1695: use pj_ice_sess_send_data() only when state is RUNNING.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4585 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-03 03:08:32 +00:00
Nanang Izzuddin 9e2e5ad78a Misc (re #1630): Fixed bug of overlapping dst & src buffer for strcpy() in ice_session.c, reported to cause crash on iOS7.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4582 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-12 11:28:33 +00:00
Nanang Izzuddin ec90a69ac3 Fix #1691: Apply group lock mechanism in NAT detect to avoid deadlock.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4573 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-24 08:06:59 +00:00
Nanang Izzuddin d24fad9ff9 Fix #1685: When TURN destroy is requested in state RESOLVING, pending the destroy until resolver callback is invoked.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4551 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-05 08:00:06 +00:00
Nanang Izzuddin 69498fb477 Close #1681:
- Added compile-time settings PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE and PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE. The default values are both 64 KB when PJMEDIA_HAS_VIDEO is set, otherwise just zero (socket buffer size uses OS default). The settings will be applied to media transport UDP and ICE.
 - Also added run-time settings so_sndbuf_size and so_rcvbuf_size into ICE stream transport, STUN socket, and TURN socket. Default values are all zero.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4538 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19 09:06:55 +00:00
Riza Sulistyo 25b575b336 Re #1680: Add initial support for Win64
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19 06:47:43 +00:00
Sauw Ming d4f0ba486a Re #1616: Fixed assertion trying to release group lock when STUN transaction is already destroyed in the callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4413 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 06:29:15 +00:00
Riza Sulistyo 152b642843 Misc (re #1559): fixed compile errors/warnings on MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4412 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 03:12:32 +00:00
Nanang Izzuddin 414d34ca74 Misc (re #1559): fixed compile errors/warnings on Symbian platform.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4411 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-04 04:34:38 +00:00
Riza Sulistyo bd537010a1 Re #1617: added concur_test.c to visual studio pjnath_test project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4372 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27 05:36:26 +00:00
Benny Prijono 6357137c68 Re #1617: prevent TURN session from sending anything once it is in deallocating state
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4368 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 21:53:28 +00:00
Benny Prijono 199d0148bb Re #1624: fixed representation in ICE to make it more IPv6 ready
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4365 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 18:06:51 +00:00
Benny Prijono e00cbe02e9 Fixed #1617: major synchronization fixes in PJNATH with incorporation of group lock to avoid deadlock and crashes due to race conditions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4360 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 11:26:35 +00:00
Benny Prijono 349d800c4d Fixed #1621: Handle the case when ICE session cannot create valid checklist
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4357 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 20:05:59 +00:00
Sauw Ming 462e6c18f5 Fixed #1620: Fix the calculation of transmission count during retransmission of STUN request
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4352 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 14:37:28 +00:00
Nanang Izzuddin 82d1fee083 Re #1610: Workaround for crash in sess_on_send_msg() callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4344 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-08 07:33:23 +00:00
Nanang Izzuddin a2174066e7 Close #1602: configurable local port range for ICE transport.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4343 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-07 09:35:34 +00:00
Benny Prijono 919fff2d5f Re #1610: workaround for crash in on_data_sent()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4324 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-18 07:52:51 +00:00
Benny Prijono b5c51b65ae Fixed #1610: Workaround for reported crash on stun_sock's on_data_recvfrom() callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4321 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-17 09:45:32 +00:00
Nanang Izzuddin 12c4fdce15 Fix #1604: crash caused by double destructions in ICE stream transport.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4314 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-11 04:10:08 +00:00
Sauw Ming 6abce2c0b8 Re #1559: Fix dependencies when running parallel make (thanks Shaun Ruffell for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4308 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-13 06:37:05 +00:00
Sauw Ming dfda40baee Fixed #1577: assertion when TURN session is already destroyed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4207 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-17 12:45:39 +00:00
Benny Prijono 752983a236 Fixed #1554: Assertion in ICE when STUN resolution yields a same address as one of the host candidate and there is only one host candidate exists (thanks Claudio De Angelis for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4205 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-14 12:49:36 +00:00
Benny Prijono 6ae8f2d479 Fixed #1552: Possible crash if media transport stop() is called on ICE transport while ICE is not created (thanks Iliya Prince for the fix)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4203 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-12 06:39:36 +00:00
Benny Prijono 9fefe7a4bf Fixed #1551: Assertion in TURN code when shutdown or destroy is called more than once (thanks Guilherme Balena Versiani for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4201 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-09 08:18:58 +00:00
Nanang Izzuddin 1e42a67b06 Re: Added compile-time setting PJNATH_STUN_SOFTWARE_NAME to specify SOFTWARE attribute for STUN sessions.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4199 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-05 10:52:55 +00:00
Nanang Izzuddin 3bb260a28d Fix #1547:
- Added PJMEDIA_MAX_MRU to specify maximum packet size in receiving direction.
 - Added max_pkt_size into pj_turn_sock_cfg, default is PJ_TURN_MAX_PKT_LEN.
 - Fixed hardcoded MTU settings in media transport SRTP.
 - Added MIN_CHUNKS_PER_FRM constant in video stream.

Notes:
 - PJMEDIA_MAX_MTU & PJMEDIA_MAX_MRU to specify max packet size for TX and RX dir.
 - For ICE media transport, TURN session limits outgoing packet size to PJ_TURN_MAX_PKT_LEN (the size of internal buffer for inserting TURN overheads).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4197 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-05 07:26:29 +00:00
Benny Prijono 8534076c29 Re #1548: Crash due to racing condition in timer when call is disconnected quickly (thanks Joshua Colp for the report!)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4196 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-05 07:02:50 +00:00
Benny Prijono fe9bf3079b Fixed #1512: added Option to continue ICE operation even when STUN resolution fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4133 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-21 14:00:17 +00:00
Benny Prijono 28d3c56283 Re #1474: Merged all changes from 1.12 - HEAD (from the 1.x branch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3999 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30 07:10:13 +00:00
Benny Prijono 0269c8e42f Fixed #1399: Assertion failure if unable to resolve TURN server
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3844 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24 15:03:43 +00:00
Benny Prijono 2761067eae Fixed #1389: Failed to authenticate to TURN client due to REALM attribute padding
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3843 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24 14:13:35 +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
Sauw Ming 848742fe2c Re #1266: Fixed failed automated tests for ICE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3775 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-28 04:20:30 +00:00
Benny Prijono b90fd3879d Modified the libraries to use the new log indentation feature re #1372
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3753 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-18 14:59:56 +00:00
Perry Ismangil c2f2e5550c Re #1254 Doxygen configuration and makefile changes to support version specific documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3669 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 21:42:58 +00:00
Nanang Izzuddin fe68f1dc55 Re #1326: Initial code integration from branch 2.0-dev to trunk as "2.0-pre-alpha-svn".
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 03:42:28 +00:00
Perry Ismangil ebf16b053e Really fixed #1296 deleting VS6 workspaces and projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3602 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-30 12:53:51 +00:00
Perry Ismangil 1fef1f9b59 Fixed #1296 deleting VS6 workspaces and projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3583 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-14 14:35:39 +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
Sauw Ming a4b628f8f6 Fixed #1246: Use CFHost for pj_getaddrinfo() on iOS
* Replace the fix for ticket #1104 with this fix
 * Modify pjturn-client/client_main's shutdown() function which conflicts with an existing function

Re-run configure-iphone to use this fix automatically.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3543 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-26 03:07:24 +00:00
Nanang Izzuddin 3a86f326d0 Fix #1212:
- Updated pj_register_strerror() to just return PJ_SUCCESS when the same range
and handler is being re-registered.
 - Removed the usage of static flag of error string handler registration in some
modules, which prevent the re-registration of the handler, e.g: in restarting
pjsua, as such flags never got reseted.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3455 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16 07:34:16 +00:00
Benny Prijono ae51ee0528 Fixed #1158: Possible wrong multiplexing of STUN traffic inside TURN Data Indication
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3369 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-17 09:00:17 +00:00
Benny Prijono 0282727447 Misc (re #1134): fixed error in Makefile target for generating doxygen documentation when WWWDIR is specified
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3319 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-23 22:46:11 +00:00
Benny Prijono 2958061f92 Misc (re #1068): fixed various compilation warnings with Visual Studio 6 and 2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3262 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11 06:03:47 +00:00
Benny Prijono 4d6ff4d62c Fixed #1077: In ICE stream transport (ice_strans.c), automaticaly retry allocation once if TURN allocation fails. If this allocation retry also fails, notify the TURN user via on_ice_complete() callback. Details:
- added new PJ_ICE_STRANS_OP_KEEP_ALIVE operation
 - also added new on_ice_transport_error() pjsua callback to allow application to react to the failure.


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3212 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-19 12:35:33 +00:00
Benny Prijono 87b347ed3b Make TURN pool memory sizes compile-time configurable (misc, re: #1068)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3197 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03 16:18:11 +00:00
Benny Prijono a6ff3af6fe Misc (#1026): added more documentation for PJNATH_EICEFAILED error code
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3118 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-08 03:25:17 +00:00
Benny Prijono bc2bec77f1 Fixed minor bug (#1026): custom ICE priority table must not assign greater priority for SRFLX than PRFLX candidate type (thanks Saúl Ibarra Corretgé for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3101 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-18 14:52:05 +00:00
Benny Prijono 41903da982 Fixed ticket #999:
Several bug fixes to the TURN client library and icedemo sample application:

 1. ICE stream transport reports ICE initialization/candidate gathering stage as successful even when TURN client TCP connection has failed.
 2. Bad ChannelData framing when TCP is used. PJNATH did not properly add padding to the TURN ChannelData packet if TCP is used and the data is not aligned to four bytes boundary. Similarly incoming ChannelData with padding (over TCP) may not be handled correctly.
 3. Incoming data over TCP may be delayed. PJNATH only processed one frame (be it request, indication, or ChannelData) on an incoming stream, so if the stream contains more than one frames, the processing of subsequent frames will be delayed until more stream is received on the TCP transport.
 4. The icedemo sample application overwrites the incoming packet buffer with NULL character ('\0') before printing the message to console. If there is another packet after current packet (as often happens when TCP is used), the subsequent packet will get corrupted. 

The combinations of bugs above may cause PJNATH to return "Invalid STUN message length (PJNATH_EINSTUNMSGLEN)" error when processing incoming TURN ChannelData message over TCP.

And a small enhancement:

  1. Add logging to file option to icedemo sample. 

Thanks Sarun Nandakumar for the report.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3028 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-08 13:11:25 +00:00
Benny Prijono 39f187cb19 More #953 (ICE may find the wrong best candidate):
- the sorting process may cause valid checks to point to the wrong candidate pair. This is reproducible by pjnath-test


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3022 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-23 15:02:18 +00:00
Benny Prijono bff0c9e7bf Misc (#951): fixed misc compilation warnings with gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3005 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-10 05:54:58 +00:00
Benny Prijono 0e61a5b9e2 More #950 (QoS): updated with the new pj_perror() syntax
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2993 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09 04:32:33 +00:00
Benny Prijono 4d79b0f7f1 Initial commit for ticket #950: QoS support:
- implementation:
     - PJLIB (sock_qos*.*)
 - added QoS support in:
     - SIP UDP transport, 
     - SIP TCP transport,
     - media UDP transport (done in pjsua-lib), 
     - pjnath ICE stream transport,
     - pjnath STUN socket,
     - pjnath TURN client
 - added QoS options in pjsua-lib:
     - QoS fields in pjsua_transport_config
 - added "--set-qos" parameter in pjsua

Notes:
 - QoS in TLS transport is not yet implemented, waiting for #957
 - build ok on VS6, VS2005 (multiple targets), Carbide, and Mingw
 - no run-time testing yet



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2966 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25 09:02:07 +00:00
Benny Prijono 3249988985 Fixed ticket #974: Crash if ICE session is destroyed by the application inside "on_ice_complete" with an PJ_ICE_STRANS_OP_NEGOTIATION op callback (thanks John Ridges for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2948 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-15 04:46:39 +00:00
Benny Prijono f5d9f1f381 Ticket #881: send UPDATE or re-INVITE after ICE negotiation, if the default candidate has changed
- done
 - added pj_ice_strans_state (to be used for informational purposes for now)
 - added pjmedia ICE transport specific info, and display it in call dump output
 - misc fixes (changed pjmedia_transport_info.spec_info_cnt from int to unsigned)


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2945 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-14 13:13:18 +00:00
Benny Prijono 43cccb99ce Fixed ticket #971: Assertion in ICE with regular nomination strategy when registering timer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2944 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-14 10:36:32 +00:00
Benny Prijono 140beae268 Ticket #951 (misc fixes):
- fixed misc compiler warnings with gcc on Linux


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2938 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-11 05:06:43 +00:00
Benny Prijono f7bcbe3bdf More ticket #960: STUN compatibility problem with RFC 3489 servers (in encoding SERVER-NAME or SOFTWARE attribute)
- rollback the previous fix in r2916 since it is broken. It fails various authentication scenarios due to alignment of USERNAME attribute
 - this fix only applies old alignment rule to SERVERNAME attribute or when STUN magic is not used in the message
 - also disabled test vectors from draft-denis-behave-rfc3489bis-test-vectors-02, it fails with this fix


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2928 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-07 08:38:02 +00:00
Benny Prijono e0351cb7c7 Ticket #960: STUN compatibility problem with RFC 3489 servers (in encoding SERVER-NAME or SOFTWARE attribute)
- now always set string attribute's length to 4-bytes aligned



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2916 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-01 06:06:01 +00:00
Benny Prijono 44afb0da30 Fixed ticket #953: ICE may find the wrong best candidate (thanks John Ridges for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2905 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-20 22:42:29 +00:00
Benny Prijono 169f92c7e0 Ticket #916: Crash in TURN client when TCP connection is used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2831 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-10 15:38:19 +00:00
Nanang Izzuddin ab2e716896 Misc fix (#915): Moved a call to dump_check() in ice_session.c to be inside the log printing.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2827 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-02 11:09:23 +00:00
Benny Prijono 2523a84c31 Ticket #894: fixed failed pjnath ice test due to too many network adapter installed in the host
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2785 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-23 12:08:20 +00:00
Benny Prijono 4fd2bfe861 Ticket #894: pjnath test failed on ICE test if the host has three or more network adapters
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2784 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22 21:17:16 +00:00
Nanang Izzuddin 60141e711a Ticket #892: Added IPv6-enabled check (compile-time) in stun test vector containing IPv6 data, also added more run-time checks in stun fingerprint test internal.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2775 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-18 14:04:44 +00:00
Benny Prijono 1572cd6e29 Ticket #889: TURN client ignores the allocation parameter specified by application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2774 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 19:20:11 +00:00
Benny Prijono d4afaaa514 Ticket #888: TURN client allocation failure when it receives multiple 438/Stale Nonce responses (thanks Peter Livesey for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2773 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17 19:14:20 +00:00
Benny Prijono 329d638568 Integration of Sipit24 branch, many tickets involved:
- #793: AMR encoder should regard 'mode-set' param specified by remote decoder.
 - #831: Automatically switch to TCP transport when sending large request
 - #832: Support for outbound proxy setting without using Route header
 - #849: Modify conference audio switch behavior in connecting ports.
 - #850: Remove 'Require=replaces' param in 'Refer-To' header (in call transfer with replaces).
 - #851: Support for regular nomination in ICE
 - #852: --ip-addr support for IPv6 for media transport in pjsua
 - #854: Adding SOFTWARE attribute in all outgoing requests may cause compatibility problem with older STUN server (thanks Alexei Kuznetsov for the report)
 - #855: Bug in digit map frequencies for DTMF digits (thanks FCCH for the report)
 - #856: Put back the ICE candidate priority values according to the default values in the draft-mmusic-ice
 - #857: Support for ICE keep-alive with Binding indication
 - #858: Do not authenticate STUN 438 response
 - #859: AMR-WB format param in the SDP is not negotiated correctly.
 - #867: Return error instead of asserting when PJSUA-LIB fails to open log file




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2724 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-29 13:04:03 +00:00
Benny Prijono ae720abe87 Minor (#838): updated TURN compatibility to draft-ietf-behave-turn-14 (from draft-turn-13)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2694 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-12 10:50:13 +00:00
Benny Prijono 7925fb330a Ticket #840: Update in pjnath-test to support updated TURN draft
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2693 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-12 10:14:52 +00:00
Benny Prijono 5c173ccba4 Fixed ticket #839: Crash in TURN lookup_ch_by_addr() function when sending data
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2692 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-12 10:11:10 +00:00
Benny Prijono 11e71230ae Minor fixes (#838): const correctness in some function call arguments@
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2691 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-12 10:01:21 +00:00
Benny Prijono dc61a2eeb9 Ticket #757:
- put the default IP as the first host candidate



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2667 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-30 17:14:50 +00:00
Benny Prijono dc8c49028e More ticket #706: renamed output names from vs8 to vc8 to make it backward compatible
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2664 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-29 15:30:38 +00:00
Nanang Izzuddin 89c273edc7 Initial VS settings for all platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg2@2649 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27 12:41:05 +00:00
Benny Prijono 8440eee1bf Part of ticket #780: enhance the PJNATH doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2642 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-22 17:20:24 +00:00
Nanang Izzuddin 0cf8d05d62 Ticket #706: Merged branch vs-reorg into trunk:
- Currently supported platforms are Win32 & WM6 std/pro.
 - Renamed project test_pjsip with pjsip_test, also source directory 'test-pjsip' to 'test'.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2638 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-22 14:27:55 +00:00
Nanang Izzuddin 5ac6cdf3a7 #792: Fixed WM6 build configs, updated svn prop for pjsua_wince & pocketpj.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2631 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 19:04:26 +00:00
Nanang Izzuddin 57ccc7ff4f #792: Updated output file name: use short platform name wm6std/pro & replace hyphen with dash.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2630 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 17:00:57 +00:00
Perry Ismangil 50a7530d1d #792 work in progress
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2629 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 14:59:35 +00:00
Nanang Izzuddin 29b6baf2c4 #792: Renamed test_pjsip to pjsip_test, updated some missing settings for Win32 platform.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2626 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 11:12:40 +00:00
Nanang Izzuddin 6ae3846f7e #792: Updated property sheet win32-common and updated some projects settings
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2625 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-20 20:11:18 +00:00
Perry Ismangil 740891ec08 #792 work in progress: all vcproj now has property sheets wired in.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2622 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-20 16:41:35 +00:00
Nanang Izzuddin a5c1abf3fb Added sample of ps inherited from another ps.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2609 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-17 13:54:57 +00:00
Perry Ismangil e6410c26ca #792 work in progress, solutions loads but then freezes VS. Trying it on other PCs.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2606 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-16 10:13:21 +00:00
Benny Prijono 181f325ff8 More ticket #780: work on CreatePermission refresh timer in the TURN session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2602 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-15 17:32:09 +00:00
Benny Prijono 70ad1d4966 More ticket #780: updated ICE to issue CreatePermission on the TURN socket before starting ICE negotiation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2599 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-15 13:36:55 +00:00
Benny Prijono d9dd8657e8 More ticket #780: fixed compilation errors due to previous modifications related to TURN
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2591 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-13 18:40:10 +00:00
Benny Prijono 295bfc1f69 More ticket #780: destroy TURN session if it receives 437 (Allocation Mismatch) response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2590 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-13 18:30:49 +00:00
Benny Prijono 0f327c95a5 Ticket #780: Update TURN from draft 09 to draft 13:
- new rules for permissions:
    - permission must be created and refreshed explicitly with CreatePermission
    - transmitting data does not refresh permission
 - attributes changed/added: XOR-PEER-ADDRESS, XOR-RELAYED-ADDRESS, EVEN-PORT, DONT-FRAGMENT
 - attribute(s) removed: REQUESTED-PROPS
 - new status codes: 401 (Forbidden), 507 (Insufficient Capacity)
 - removed status codes: 443 (Invalid IP address), 444 (Invalid Port), 508 (Insufficient Port Capacity)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2589 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-13 08:54:10 +00:00
Perry Ismangil 05d1769aaf #706 work in progress: all Win32 projects now have all 6 configs. Settings not correct yet.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2584 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-08 11:28:16 +00:00
Benny Prijono 0fc2c6bb34 Part of ticket #780 (work in progress): added IPv6 support to various STUN attributes and added the test from draft-ietf-behave-stun-test-vectors
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2580 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-07 09:42:58 +00:00
Perry Ismangil 74338058c2 Addition of Debug-Static, Debug-Dynamic, Release-Static, and Release-Dynamic build configuration for Visual Studio, for Win32 target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2559 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-30 12:15:43 +00:00
Benny Prijono f6945dddd6 Failed in pjnath-test due to ticket #742
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2523 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-18 18:56:25 +00:00
Benny Prijono 9158a3a88e Ticket #742: Change in mapped/STUN IP address does not update ICE srflx candidate (thanks Alexei Kuznetsov for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2484 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-04 12:56:32 +00:00
Benny Prijono 298c12e70e Ticket #706: Part 1 of VS 2005 projects reorganization: introduction of Windows Mobile 6 standard SDK in the build platform
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2430 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-27 10:14:52 +00:00