* 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