* nua: NUTAG_AUTOACK(0) is now obeyed always when media is disabled
Ignore-this: c5960a8330904eae5a1428158e4498c7
If media is enabled, stack autoacks 2XX responses to re-INVITEs unless
NUTAG_AUTOACK(0) is set on handle.
Also documenting NUTAG_AUTOACK() behaviour with re-INVITEs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13320 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_session.c: include Session-Expires to session refresh requests
Thanks for Linus Surguy for reporting the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13318 d0543943-73ff-0310-b7d9-9358b9ac24b2
* check_session.c: added yet another test case for re-INVITE glare
S2_CASE("2.6.5", "Re-INVITE glare and 500 Retry-After",
"NUA receives re-INVITE, replies with 200, "
"sends re-INVITE, gets 500, gets ACK, retrys INVITE,"
"sends BYE.");
test case for SFSIP-135 and SFSIP-137
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13063 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_client, nua_session: avoid restarting in-progress transactions
This is supposed to fix bugs #SFSIP-135 and #SFSIP-137. Thanks for Tamas
Jalsovszky and kawarod for reporting the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13062 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_session.c: do not restart CANCEL requests
Ignore-this: 2c9d51bbafca2256630a0ea73982abea
Fixes FreesWitch bug SFSIP-134, reported by vile, initial patch by Mike
Jerris.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13061 d0543943-73ff-0310-b7d9-9358b9ac24b2
* check_nua: s2_setup_logs() now turns on transport logging, too
Ignore-this: 4ad4dc1efaf76c34a46038586a00e084
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12732 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_stack_launch_network_change_detector: fixed root usage
Ignore-this: 3db82870d6996c32605109d8295b4a00
su_root_add_network_changed() should use stack root, not api root.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11940 d0543943-73ff-0310-b7d9-9358b9ac24b2
* check_nua: run all the test cases with and without stack thread
Ignore-this: e1966c560fb8e32d5a2d292e5e8dbdc0
Better detect race conditions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11936 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua/check_etsi: added test case SIP_CC_OE_CE_TI_011_012
Ignore-this: 245e07ad07c4e3d5e09ab93014594e43
Ensure that the IUT, when an INVITE client transaction has been in the
Terminated state, on receipt of a retransmitted Success (200 OK) responses
sends an ACK request until 64*T1 duration expires, after this, on receipt of
a retransmitted Success (200 OK) responses does not send an ACK request.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11875 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_session.c: fixed race condition with ACK
Ignore-this: 37d3e74b169e8a154b9734dbade74d84
Response message got destroyed after sending ACK if stack was run in
multithreaded mode.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11872 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua: moved nua_server* and nua_client* code into their own files
Ignore-this: 23d66f0189ef8e324c2f23266f0ccf2
Added nua_server.h, nua_server.c, nua_client.h, nua_client.c.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11864 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua/outbound.c: calculate the keepalive timer interval with regard to the maximum defer interval
The point is not to miss the keepalive deadlines.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11861 d0543943-73ff-0310-b7d9-9358b9ac24b2
* sresolv: caching SRES_RECORD_ERR in case a CNAME is returned, too
Tracing the CNAMEs when doing cache lookups.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11844 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua: fixed problems with route set handling
RFC 3261 allows the route set changes while dialog is in early state.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11834 d0543943-73ff-0310-b7d9-9358b9ac24b2