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
Fri Feb 1 09:41:42 EST 2008 Pekka.Pessi@nokia.com
* tport_tls.c: restructured error logging code.
Fri Feb 1 10:10:25 EST 2008 Pekka.Pessi@nokia.com
* tport_tls.c: cleared confused logging levels
Fri Feb 1 10:13:09 EST 2008 Pekka.Pessi@nokia.com
* test_tport.c: fixed type-punning warning.
Tue Feb 12 14:26:26 EST 2008 Pekka.Pessi@nokia.com
* tport.c: tport_name_dup() now validates the input
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@7617 d0543943-73ff-0310-b7d9-9358b9ac24b2
have to check if I can find some more specific mmx annd sse stuff than just native plus fast optimisation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7578 d0543943-73ff-0310-b7d9-9358b9ac24b2
Thu Jan 24 03:26:58 EST 2008 Pekka.Pessi@nokia.com
* nta.c, sofia-sip.nta.h: added nta_leg_get_seq(), nta_leg_get_rseq()
Mon Jan 28 09:27:03 EST 2008 Pekka.Pessi@nokia.com
* su_alloc.c: su_free() handles NULL gracefully
Patch by Michael Jerris.
Mon Jan 28 09:30:48 EST 2008 Pekka.Pessi@nokia.com
* su_root.c: try not to segfault in su_msg_destroy()
Reduced window for race condition in su_msg_destroy().
Patch by Michael Jerris.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7418 d0543943-73ff-0310-b7d9-9358b9ac24b2
Thu Jan 17 07:57:29 EST 2008 Pekka.Pessi@nokia.com
* configure.ac: prerelease version
Wed Jan 23 13:22:39 EST 2008 Pekka.Pessi@nokia.com
* test_nta.c: fixed memset() usage. MSG_TRUNC.
Wed Jan 23 13:25:42 EST 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
* RELEASE, configure.ac: release 1.12.8
Wed Jan 23 13:25:46 EST 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
tagged rel-sofia-sip_1_12_8
Wed Jan 23 13:25:52 EST 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
tagged 1.12.8
Wed Jan 23 14:25:07 EST 2008 Pekka.Pessi@nokia.com
* RELEASE, configure.ac: 1.12.8devel
Fri Jan 25 04:31:39 EST 2008 Pekka.Pessi@nokia.com
* nta.c: fixed graylisting if used with IPv4/IPv6 only
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7372 d0543943-73ff-0310-b7d9-9358b9ac24b2
Fri Jan 11 09:12:01 EST 2008 Bernhard Suttner <suttner at comdasys.com>
* Using # in SOATAG_HOLD to set media as inactive instead of sendonly
Fri Jan 11 09:15:18 EST 2008 Pekka.Pessi@nokia.com
* soa_tag.c: documented SOATAG_HOLD() inactive mode
Fri Jan 11 09:28:46 EST 2008 Pekka.Pessi@nokia.com
* su_addrinfo.c: if su_getaddrinfo() service is NULL, try both with "0" and NULL
Fri Jan 11 12:11:12 EST 2008 Pekka.Pessi@nokia.com
* nta.c: NetModule hack re-prioritizing SRV records
Original hack by Stefan Leuenberger <Stefan.Leuenberger@netmodule.com>.
The hack reprioritizes the SRV records used with transaction in case a
server refuses connection or it does not answer.
Thu Jan 17 11:40:46 EST 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
* soa_static.c: cleaned inactive hold, added tests
Mon Jan 21 14:06:35 EST 2008 Pekka.Pessi@nokia.com
* soa.c: using session state in soa_set_activity()
The media mode bits are set using (local) session description instead of
remote offer/answer when O/A has been completed.
Mon Jan 21 14:08:08 EST 2008 Pekka.Pessi@nokia.com
* soa_static.c: soa_sdp_mode_set() now includes wanted media state in offer
The wanted media state is based on original user SDP and SOATAG_HOLD()
content. Removed soa_sdp_mode_set_is_needed(), using dry-run parameter
instead.
Tue Jan 22 11:15:04 EST 2008 Pekka.Pessi@nokia.com
* sip_util.c: updated sip_response_terminates_dialog() as per RFC 5057.
Changes handling of 423 in case of SUBSCRIBE.
Tue Jan 22 11:35:44 EST 2008 Pekka.Pessi@nokia.com
* test_soa.c: testing hold with inactive, offered mode and setting remote activity flags while in hold
Tue Jan 22 13:57:38 EST 2008 Pekka.Pessi@nokia.com
* sres: added ttl parameter to sres_set_cached_srv_priority() and sres_cache_set_srv_priority().
Tue Jan 22 13:59:44 EST 2008 Pekka.Pessi@nokia.com
* nta.c: added NTATAG_GRAYLIST().
Use NTATAG_GRAYLIST() as ttl value for sres_set_cached_srv_priority().
Wed Jan 23 10:07:30 EST 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
* soa_static.c: fixed signedness error
Wed Jan 23 11:05:23 EST 2008 Pekka.Pessi@nokia.com
* nta.c: ignore tags in nta_leg_by_dialog() if they are empty strings
Wed Jan 23 11:05:58 EST 2008 Pekka.Pessi@nokia.com
* nta.c: asserting in proper place when handling queue tail
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7368 d0543943-73ff-0310-b7d9-9358b9ac24b2
* soa_static.c: fixed signedness error
Shall I unpull this patch? (8/128) [ynWvpxqadjk], or ? for help: y
Tue Jan 22 11:35:44 EST 2008 Pekka.Pessi@nokia.com
* test_soa.c: testing hold with inactive, offered mode and setting remote activity flags while in hold
Shall I unpull this patch? (15/128) [ynWvpxqadjk], or ? for help: y
Mon Jan 21 14:08:08 EST 2008 Pekka.Pessi@nokia.com
* soa_static.c: soa_sdp_mode_set() now includes wanted media state in offer
The wanted media state is based on original user SDP and SOATAG_HOLD()
content. Removed soa_sdp_mode_set_is_needed(), using dry-run parameter
instead.
Shall I unpull this patch? (20/128) [ynWvpxqadjk], or ? for help: y
Thu Jan 17 11:40:46 EST 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
* soa_static.c: cleaned inactive hold, added tests
Shall I unpull this patch? (31/128) [ynWvpxqadjk], or ? for help: y
Fri Jan 11 09:15:18 EST 2008 Pekka.Pessi@nokia.com
* soa_tag.c: documented SOATAG_HOLD() inactive mode
Shall I unpull this patch? (46/128) [ynWvpxqadjk], or ? for help: y
Fri Jan 11 09:12:01 EST 2008 Bernhard Suttner <suttner at comdasys.com>
* Using # in SOATAG_HOLD to set media as inactive instead of sendonly
Shall I unpull this patch? (47/128) [ynWvpxqadjk], or ? for help: y
revert a few more patches from sofia-sip darcs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7361 d0543943-73ff-0310-b7d9-9358b9ac24b2
Wed Jan 23 11:05:58 EST 2008 Pekka.Pessi@nokia.com
* nta.c: asserting in proper place when handling queue tail
Shall I unpull this patch? (4/553) [ynWvpxqadjk], or ? for help: y
Wed Jan 23 11:05:23 EST 2008 Pekka.Pessi@nokia.com
* nta.c: ignore tags in nta_leg_by_dialog() if they are empty strings
Shall I unpull this patch? (5/553) [ynWvpxqadjk], or ? for help: y
Tue Jan 22 13:59:44 EST 2008 Pekka.Pessi@nokia.com
* nta.c: added NTATAG_GRAYLIST().
Use NTATAG_GRAYLIST() as ttl value for sres_set_cached_srv_priority().
Shall I unpull this patch? (14/553) [ynWvpxqadjk], or ? for help: y
Tue Jan 22 13:57:38 EST 2008 Pekka.Pessi@nokia.com
* sres: added ttl parameter to sres_set_cached_srv_priority() and sres_cache_set_srv_priority().
Shall I unpull this patch? (15/553) [ynWvpxqadjk], or ? for help: y
Tue Jan 22 11:15:04 EST 2008 Pekka.Pessi@nokia.com
* sip_util.c: updated sip_response_terminates_dialog() as per RFC 5057.
Changes handling of 423 in case of SUBSCRIBE.
Shall I unpull this patch? (22/553) [ynWvpxqadjk], or ? for help: y
Mon Jan 21 14:06:35 EST 2008 Pekka.Pessi@nokia.com
* soa.c: using session state in soa_set_activity()
The media mode bits are set using (local) session description instead of
remote offer/answer when O/A has been completed.
Shall I unpull this patch? (26/553) [ynWvpxqadjk], or ? for help: y
Fri Jan 11 12:11:12 EST 2008 Pekka.Pessi@nokia.com
* nta.c: NetModule hack re-prioritizing SRV records
Original hack by Stefan Leuenberger <Stefan.Leuenberger@netmodule.com>.
The hack reprioritizes the SRV records used with transaction in case a
server refuses connection or it does not answer.
Shall I unpull this patch? (51/553) [ynWvpxqadjk], or ? for help: y
Fri Jan 11 09:28:46 EST 2008 Pekka.Pessi@nokia.com
* su_addrinfo.c: if su_getaddrinfo() service is NULL, try both with "0" and NULL
Shall I unpull this patch? (53/553) [ynWvpxqadjk], or ? for help: y
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7354 d0543943-73ff-0310-b7d9-9358b9ac24b2