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_stack.c: include Allow-Events in requests initiating dialog, too
The Allow-Events header is now alwats included with NOTIFY requests, and
initial INVITE, SUBSCRIBE, REFER, and OPTIONS requests.
Thanks to Jerry Richards for pointing out the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8467 d0543943-73ff-0310-b7d9-9358b9ac24b2
Tue May 6 13:53:21 EDT 2008 Pekka Pessi <first.last@nokia.com>
* tests: added 2nd check-based test suite for nua
Wed May 7 08:26:48 EDT 2008 Pekka Pessi <first.last@nokia.com>
* suite2_for_nua.c: more test cases
Wed May 7 13:40:05 EDT 2008 Pekka Pessi <first.last@nokia.com>
* suite2_for_nua.c, s2tester.[hc]: made it easier to refactor test cases
Wed May 7 14:34:54 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_nua: moved to tests subdirectory
Wed May 7 14:37:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_nua: moved to libsofia-sip-ua/nua
Mon May 12 19:00:26 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_nua: updated
Tue May 13 16:45:21 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_s2.h, test_s2.c: added internal DNS server
Tue May 13 16:46:08 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_register.c: added test case register_1_3_3_1 using tcp pingpong
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8400 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
* nta.c: do not replace host:port in user-specified Via header
Note that port for UDP is replaced if request is stateful and there is no
rport.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8332 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nta.c: use consistently uint32_t when handling millisecond timers inside nta
The timer handling failed miserably on 64-bit platforms each time uint32_t
counter for milliseconds wrapped around.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8287 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua: fixed problems with event fetch
With event fetch the subscription was terminated before the NOTIFY was
sent/received or final response to SUBSCRIBE was sent.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8285 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
* tport_type_udp.c: use IP_MTU_DISCOVER socket option to turn off DF flag
Added check for IP_MTU_DISCOVER in m4/sac-su2.m4
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8022 d0543943-73ff-0310-b7d9-9358b9ac24b2
* soa_static.c: when generating offer with ordered mode, fill gaps in session
If session has m= lines that user SDP does not, the ordered mode got
confused when generating 2nd offer (e.g., for re-INVITE).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8018 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nua_stack.c: include Allow-Events in most messages initiating dialog
The Allow-Events header is now included with NOTIFY, PUBLISH, REGISTER, and
initial INVITE, SUBSCRIBE, REFER, and OPTIONS, and also responses to
SUBSCRIBE, REFER, OPTIONS, and PUBLISH as well as responses to initial
INVITE and NOTIFY.
Thanks to Jerry Richards for pointing out the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8017 d0543943-73ff-0310-b7d9-9358b9ac24b2
* nta: fixed checks for rfc2543 retransmssions/CANCEL/ACK
Thanks to Michael Jerris for reporting this problem.
fix for SFSIP-49
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7919 d0543943-73ff-0310-b7d9-9358b9ac24b2
* test_nua.mmp: not using IN_LIBSOFIA_SIP_UA and IN_LIBSOFIA_SRES with test program
(test program links with dll, not contributes to it)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7825 d0543943-73ff-0310-b7d9-9358b9ac24b2
Keeping INVITE transactions alive for 64*T1 after initial 200 OK.
Added test_proxy_set_logging() for easier debugging.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7819 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
* rules.am, sofia.am various Makefile.ams: added checklib target
make all now builds only the library, not the (nua) test libraries.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7812 d0543943-73ff-0310-b7d9-9358b9ac24b2
Wed Feb 13 09:23:24 EST 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
* nua_subnotref.c: do not terminate subscriptions immediately after receiving 200 OK to un-SUBSCRIBE
Mon Feb 25 09:49:39 EST 2008 Pekka.Pessi@nokia.com
* nua_subnotref.c: fixed problems re-calculating the subscription duration upon NOTIFY
Thanks for Colin Whittaker for reporting this problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7758 d0543943-73ff-0310-b7d9-9358b9ac24b2
Tue Feb 26 13:02:06 EST 2008 Pekka.Pessi@nokia.com
* nua_session.c: determine INVITE overlap with re-INVITEs, too
Tue Feb 26 12:45:52 EST 2008 Pekka.Pessi@nokia.com
* test_nua.c: fixed tests
Tue Feb 26 11:40:00 EST 2008 Pekka.Pessi@nokia.com
* nua_session.c: fixed non-compiling fix on session state check
Mon Feb 25 14:14:15 EST 2008 Pekka.Pessi@nokia.com
* nua: added NUTAG_SUB_EXPIRES()
Wed Feb 6 12:05:46 EST 2008 Pekka.Pessi@nokia.com
* nua: using global preferences. Added NUTAG_SHUTDOWN_EVENTS().
Wed Feb 6 12:05:13 EST 2008 Pekka.Pessi@nokia.com
* nua_stack.c: pass events while in shutdown if NUTAG_SHUTDOWN_EVENTS(1) has been set
Mon Feb 25 09:49:39 EST 2008 Pekka.Pessi@nokia.com
* nua_subnotref.c: fixed problems re-calculating the subscription duration upon NOTIFY
Thanks for Colin Whittaker for reporting this problem.
Wed Feb 13 09:23:24 EST 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
* nua_subnotref.c: do not terminate subscriptions immediately after receiving 200 OK to un-SUBSCRIBE
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7757 d0543943-73ff-0310-b7d9-9358b9ac24b2
Mon Feb 25 09:49:39 EST 2008 Pekka.Pessi@nokia.com
* nua_subnotref.c: fixed problems re-calculating the subscription duration upon NOTIFY
Thanks for Colin Whittaker for reporting this problem.
Wed Feb 6 12:05:13 EST 2008 Pekka.Pessi@nokia.com
* nua_stack.c: pass events while in shutdown if NUTAG_SHUTDOWN_EVENTS(1) has been set
Wed Feb 6 12:05:46 EST 2008 Pekka.Pessi@nokia.com
* nua: using global preferences. Added NUTAG_SHUTDOWN_EVENTS().
Mon Feb 25 12:10:31 EST 2008 Pekka.Pessi@nokia.com
* nua: renamed crm_deinit as crm_complete, commented nua_client_methods_t initializers
Mon Feb 25 14:14:15 EST 2008 Pekka.Pessi@nokia.com
* nua: added NUTAG_SUB_EXPIRES()
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.
Tue Feb 26 11:19:40 EST 2008 Pekka.Pessi@nokia.com
* nua_session.c: ensure correct call state
Avoid assert() on bad input from network - crash reported by Michael Jerris.
Also if calls are being terminated, reject new INVITE/UPDATE/PRACK requests
with 481.
Tue Feb 26 11:33:19 EST 2008 Pekka.Pessi@nokia.com
* sdp_print.c: pt 9 is, like, g722. 19 is used by nobody, so it can be used as filler?
Tue Feb 26 11:40:00 EST 2008 Pekka.Pessi@nokia.com
* nua_session.c: fixed non-compiling fix on session state check
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7738 d0543943-73ff-0310-b7d9-9358b9ac24b2