summaryrefslogtreecommitdiff
path: root/pjnath
AgeCommit message (Collapse)Author
2013-03-01Re #1604: backported to 1.xRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4409 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27Re #1620: backported to 1.xRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4407 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27Re #1610: backported to 1.xRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4400 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27Re #1559: Backported to 1.x, except r4312,r4330Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4387 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27Re #1557: backported to 1.xNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4386 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27Re #1552: backported to 1.xNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4384 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27Re #1551: backported to 1.xNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4383 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-29Fix #1471: Just return PJ_FALSE on any incoming STUN packets after the STUN ↵Nanang Izzuddin
socket has been disassociated from ICE stream transport. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3991 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-08Fix #1451: Don't hold the ICE session's mutex when calling ↵Nanang Izzuddin
pj_ice_sess_cb::on_tx_pkt() callback to avoid deadlock. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3951 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-26Fix #1449: PJ_EPENDING should not be treated as failure in sending STUN ↵Nanang Izzuddin
binding request. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3944 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-09Fixed #1416: Allow application to send data after ICE negotiation failsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3906 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-31Fixed #1409: Assertion failure if unable to resolve TURN serverLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3877 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-31Fixed #1408: Failed to authenticate to TURN client due to REALM attribute ↵Liong Sauw Ming
padding git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3876 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-22Another fix to pj_stun_sock_op_name() to support PJ_STUN_MAPPED_ADDR_CHANGE. ↵Benny Prijono
Thanks Howard Lin for the report! (re #1252 (misc)) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3765 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-21Added missing PJ_STUN_SOCK_MAPPED_ADDR_CHANGE name to pj_stun_sock_op_name. ↵Benny Prijono
Thanks Howard Lin for the report (misc, re #1252) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3760 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-22Fixed #1336 make doc now creates version specific docsPerry Ismangil
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3677 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-22Fixed #1316: Assertion when TURN session is deallocated prematurely (thanks ↵Benny Prijono
Tony Jago Million for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3596 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-26Fixed #1246: Use CFHost for pj_getaddrinfo() on iOSLiong Sauw Ming
* 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: http://svn.pjsip.org/repos/pjproject/trunk@3543 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Fix #1212:Nanang Izzuddin
- 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: http://svn.pjsip.org/repos/pjproject/trunk@3455 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-17Fixed #1158: Possible wrong multiplexing of STUN traffic inside TURN Data ↵Benny Prijono
Indication git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3369 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-23Misc (re #1134): fixed error in Makefile target for generating doxygen ↵Benny Prijono
documentation when WWWDIR is specified git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3319 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11Misc (re #1068): fixed various compilation warnings with Visual Studio 6 and ↵Benny Prijono
2005 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3262 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-19Fixed #1077: In ICE stream transport (ice_strans.c), automaticaly retry ↵Benny Prijono
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: http://svn.pjsip.org/repos/pjproject/trunk@3212 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Make TURN pool memory sizes compile-time configurable (misc, re: #1068)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3197 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-08Misc (#1026): added more documentation for PJNATH_EICEFAILED error codeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3118 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-18Fixed minor bug (#1026): custom ICE priority table must not assign greater ↵Benny Prijono
priority for SRFLX than PRFLX candidate type (thanks Saúl Ibarra Corretgé for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3101 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-08Fixed ticket #999:Benny Prijono
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: http://svn.pjsip.org/repos/pjproject/trunk@3028 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-23More #953 (ICE may find the wrong best candidate):Benny Prijono
- the sorting process may cause valid checks to point to the wrong candidate pair. This is reproducible by pjnath-test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3022 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-10Misc (#951): fixed misc compilation warnings with gccBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3005 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09More #950 (QoS): updated with the new pj_perror() syntaxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2993 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25Initial commit for ticket #950: QoS support:Benny Prijono
- 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: http://svn.pjsip.org/repos/pjproject/trunk@2966 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-15Fixed ticket #974: Crash if ICE session is destroyed by the application ↵Benny Prijono
inside "on_ice_complete" with an PJ_ICE_STRANS_OP_NEGOTIATION op callback (thanks John Ridges for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2948 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-14Ticket #881: send UPDATE or re-INVITE after ICE negotiation, if the default ↵Benny Prijono
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: http://svn.pjsip.org/repos/pjproject/trunk@2945 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-14Fixed ticket #971: Assertion in ICE with regular nomination strategy when ↵Benny Prijono
registering timer git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2944 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-11Ticket #951 (misc fixes):Benny Prijono
- fixed misc compiler warnings with gcc on Linux git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2938 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-07More ticket #960: STUN compatibility problem with RFC 3489 servers (in ↵Benny Prijono
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: http://svn.pjsip.org/repos/pjproject/trunk@2928 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-01Ticket #960: STUN compatibility problem with RFC 3489 servers (in encoding ↵Benny Prijono
SERVER-NAME or SOFTWARE attribute) - now always set string attribute's length to 4-bytes aligned git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2916 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-20Fixed ticket #953: ICE may find the wrong best candidate (thanks John Ridges ↵Benny Prijono
for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2905 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-10Ticket #916: Crash in TURN client when TCP connection is usedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2831 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-02Misc fix (#915): Moved a call to dump_check() in ice_session.c to be inside ↵Nanang Izzuddin
the log printing. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2827 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-23Ticket #894: fixed failed pjnath ice test due to too many network adapter ↵Benny Prijono
installed in the host git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2785 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22Ticket #894: pjnath test failed on ICE test if the host has three or more ↵Benny Prijono
network adapters git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2784 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-18Ticket #892: Added IPv6-enabled check (compile-time) in stun test vector ↵Nanang Izzuddin
containing IPv6 data, also added more run-time checks in stun fingerprint test internal. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2775 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Ticket #889: TURN client ignores the allocation parameter specified by ↵Benny Prijono
application git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2774 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Ticket #888: TURN client allocation failure when it receives multiple ↵Benny Prijono
438/Stale Nonce responses (thanks Peter Livesey for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2773 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-29Integration of Sipit24 branch, many tickets involved:Benny Prijono
- #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: http://svn.pjsip.org/repos/pjproject/trunk@2724 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-12Minor (#838): updated TURN compatibility to draft-ietf-behave-turn-14 (from ↵Benny Prijono
draft-turn-13) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2694 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-12Ticket #840: Update in pjnath-test to support updated TURN draftBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2693 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-12Fixed ticket #839: Crash in TURN lookup_ch_by_addr() function when sending dataBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2692 74dad513-b988-da41-8d7b-12977e46ad98