* check_session.c: check correct non-support for 100rel
Thu Jun 25 12:26:46 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: if 100rel is not supported by nua, do not Require it in response
Thu Jun 25 12:33:45 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: cleaned test for SFSIP-125
Fixes SFSIP-125
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13960 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_session.c: check dialog usage before using it in nua_update_server_respond()
Ignore-this: 543e8d6d999a5a4d54600f1dbdfb1444
Coverity issue 7312.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13328 d0543943-73ff-0310-b7d9-9358b9ac24b2
* 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
* 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
* 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: 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
* nua_session.c: send answer in ACK if offer was sent in 200 OK to re-INVITE
Thanks for Liu Yang for reporting the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11813 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_session.c: default to initiate session refreshes
Use local refresher unless remote end explicitly indicates that it takes
care of refreshing the session. Bug reported and initial patch by Timo
Bruhn.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11771 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua: try to cope if a re-INVITE nor its ACK contain SDP
Some SIP user-agents use INVITE without SDP offer to refresh session.
By default, NUA sends an offer in 200 OK to such an INVITE and expects
an answer back in ACK. Now nua tries to recover from such a Offer/Answer
protocol error.
Also, if NUTAG_REFRESH_WITHOUT_SDP(1) tag is used, and if the re-INVITE was
received without SDP, no SDP offer is sent in 200 OK.
Thanks for Anthony Minessale for reporting the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10829 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_session.c: changing session expiration time to follow spirit (not only letter) of RFC 4028
Change suggested by Timo Bruhn.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10827 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_session.c: destroying invite transaction only after nua_i_invite is sent
Added nua_client_request_clean(), nua_invite_client_should_ack().
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9290 d0543943-73ff-0310-b7d9-9358b9ac24b2
Tue Feb 26 11:09:37 EST 2008 Pekka.Pessi@nokia.com
* nua: initial fix for sf.net bug #1827511
BYE can now be challenged.
Add the fixes to segfault issue caused by this patch:
Wed May 21 10:40:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_client_request: keep own reference to nua handle
Mon May 12 18:58:38 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: sanitized BYE handling
Terminate or cancel other session-related transactions when session gets
terminated.
Fri May 16 10:28:26 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: fix crash if session was terminated while INVITE was in progress
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8589 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua: using NUTAG_PROXY() as handle-specific tag
Added nua_dialog_update_params() and virtual method usage_update_params()
for each dialog usage.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8384 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_session.c: do not terminate session without soa if SDP O/A seems to fail
SDP O/A may be buried inside MIME multipart
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8333 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_session.c: fixed call state reporting from failed INVITE
If INVITE was returned a failure response, and session was being terminated
(like BYE was sent while INVITE transaction was on-going), Sofia reported
session as already terminated.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8052 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_session.c: if timer is Require'd default to local refresher if Session-Expires has no refresher parameter
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8046 d0543943-73ff-0310-b7d9-9358b9ac24b2
If a session was terminated because of a error response returned to a
request (as specified by RFC 5157), the nua_i_state event was not sent.
Even with this fix, if a dialog has multiple usages, the event usages can be
terminated without any indication to the application.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7816 d0543943-73ff-0310-b7d9-9358b9ac24b2