Michael Jerris
4357c2aca4
Wed Mar 4 12:37:47 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua: moved contents of test_s2.[hc] to check_nua.[hc]
Ignore-this: f53929b29092e2d62e661fc40397492e
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:41:38 +00:00
Michael Jerris
83e087e162
Tue Mar 3 12:18:30 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: more CANCEL timeout cases
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12399 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 22:01:25 +00:00
Michael Jerris
522b3c4858
Tue Mar 3 12:15:01 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua: check_nua now uses s2base.h and s2sip.h
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 22:00:56 +00:00
Michael Jerris
76f57d02bb
Tue Mar 3 11:30:32 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nua: added test case for CANCELed INVITE timing out
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12397 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 22:00:18 +00:00
Michael Jerris
0862be8103
Thu Feb 26 16:28:28 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua/check_session.c: added test cases for REFER
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:20:55 +00:00
Michael Jerris
b5ea56318d
Thu Feb 26 15:39:37 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua/check_simple.c: removed extra debug logging, fixed 6.3.4 name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:20:24 +00:00
Michael Jerris
2f0b4f5f84
Thu Feb 12 15:08:05 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nua.c: allow setting test case names from command line. usage.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:27:58 +00:00
Michael Jerris
247dda9d4f
Thu Feb 12 15:07:13 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_simple.c: adedd notifier test cases
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11960 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:27:30 +00:00
Michael Jerris
87b2408635
Thu Feb 12 14:11:37 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_client.c: fix request message reference counting problem
Ignore-this: ac81944c1c2c095fdc66a51ca857e87c
Internal error response already decreases reference count.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11948 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:13:20 +00:00
Michael Jerris
745d319722
Wed Feb 11 13:42:09 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_client.h: removed orphan SOFIA_BEGIN_DECLS
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11946 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:11:43 +00:00
Michael Jerris
c27cb514a9
Wed Feb 11 14:51:48 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_i_network_changed: use NUTAG_DETECT_NETWORK_UPDATES() preference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11941 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:07:50 +00:00
Michael Jerris
dded4ad263
Wed Feb 11 14:52:29 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* 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
2009-02-12 21:07:15 +00:00
Michael Jerris
f4ab414190
Tue Feb 10 08:11:37 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nua: use s2dns
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11937 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:04:13 +00:00
Michael Jerris
ea9eaeaf44
Tue Feb 10 08:10:41 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* 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
2009-02-12 21:03:16 +00:00
Michael Jerris
b5c88496bf
Tue Feb 10 07:36:35 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nua: use tcase_add_test() and s2_select_tests() from <s2check.h>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11935 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:01:58 +00:00
Michael Jerris
0c141d9b81
Tue Feb 10 07:17:20 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nua: moved s2_fast_forward() to s2 library
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11879 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:41:05 +00:00
Michael Jerris
7441387d86
Tue Feb 10 07:11:52 CST 2009 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
...
* 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
2009-02-11 17:39:07 +00:00
Michael Jerris
6376b4b705
Tue Feb 10 07:03:27 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* 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
2009-02-11 17:38:16 +00:00
Michael Jerris
e3b8b194c5
Wed Feb 4 08:53:17 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* 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
2009-02-11 17:24:28 +00:00
Michael Jerris
73b6ee94a3
Thu Jan 29 12:32:12 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: do not add Min-SE header if not needed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11863 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:22:54 +00:00
Michael Jerris
e202543c76
Wed Jan 28 12:32:01 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* 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
2009-02-11 17:20:59 +00:00
Michael Jerris
314d3883dd
Wed Jan 28 12:07:53 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* outbound.c: make outbound timer deferrable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11854 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:18:14 +00:00
Michael Jerris
37a7c283b1
Wed Jan 28 13:34:54 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_dialog.c: avoid debug output with nua_dialog_usage_set_refresh_at()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11847 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:14:06 +00:00
Michael Jerris
b7bc5240f0
Fri Jan 23 11:13:41 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* 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
2009-02-11 17:12:33 +00:00
Michael Jerris
ba7a77e7da
Wed Jan 21 14:49:03 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nua: added test check_simple.c, test cases for SIMPLE
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:11:38 +00:00
Michael Jerris
8fb926d3ac
Wed Jan 21 14:32:32 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nua: fiddled with some timing issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11842 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:11:20 +00:00
Michael Jerris
4fd9addba6
Wed Jan 21 11:54:35 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_etsi.c: disabled failing test case for now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11841 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:11:01 +00:00
Michael Jerris
9f5f3adfac
Wed Jan 21 11:53:25 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua: added check_etsi.c with ETSI test cases
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11840 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:10:38 +00:00
Michael Jerris
587408b8ce
Fri Jan 16 13:37:43 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua: fixed problem handling re-SUBSCRIBE when it creates new dialog
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11836 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:08:41 +00:00
Michael Jerris
5baf8d20b6
Fri Jan 16 07:42:29 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* 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
2009-02-11 17:07:09 +00:00
Michael Jerris
377dc94f13
Thu Jan 15 12:06:29 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: make sure To header in ACK to [3456]XX is copied from response
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:05:32 +00:00
Michael Jerris
1b04142409
Tue Jan 13 16:23:40 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* NUTAG_REFRESH_WITHOUT_SDP(): added in 1.12.10
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11824 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:01:12 +00:00
Michael Jerris
e0d54adf61
Tue Jan 13 15:19:59 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: added a test case for sending re-INVITE w/o offer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11817 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:56:57 +00:00
Michael Jerris
ca5a8c80f8
Tue Jan 13 15:19:02 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: renamed test case 2.3.3 as 2.6.3
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:56:33 +00:00
Michael Jerris
fa2fe6a216
Tue Jan 13 14:59:50 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* 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
2009-02-11 16:55:11 +00:00
Michael Jerris
31367efd3b
Thu Jan 8 14:52:37 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:49:25 +00:00
Michael Jerris
906fbd4ecf
Fri Jan 9 10:33:14 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: when negotiating session refresher, default to UAC
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:23:10 +00:00
Michael Jerris
a92ad4b3fb
Thu Jan 8 14:20:45 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* outbound.c: use default peer info when outbound is created
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:19:47 +00:00
Michael Jerris
c2f5696a8a
Mon Jan 5 06:31:12 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* 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
2009-02-11 16:12:35 +00:00
Michael Jerris
e5c185a842
fixed whitespace
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:23:37 +00:00
Michael Jerris
10c6c9dbb8
Thu Nov 27 06:09:44 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: use signed ss_sdp_version (soa_get_user_version() returns int)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:22:43 +00:00
Michael Jerris
7f70d131ff
Fri Nov 21 08:12:28 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: call soa_activate() only when nh->nh_soa is valid
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10830 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:21:04 +00:00
Michael Jerris
833500ae64
Fri Nov 21 04:52:55 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* 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
2008-12-16 21:20:22 +00:00
Michael Jerris
3d981b497b
Wed Nov 26 12:58:40 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* 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
2008-12-16 20:47:18 +00:00
Michael Jerris
f7c4b7ad7c
Wed Nov 26 13:30:48 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* outbound.c: silenced warnings
wtf? xxx.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10825 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:28:53 +00:00
Michael Jerris
929d0ba8bd
Fri Nov 14 17:26:48 CST 2008 Jarod Neuner <janeuner@networkharbor.com>
...
* sips_in_contact_bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10821 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:16:58 +00:00
Michael Jerris
d8c4d22d40
merge whitespace fixes from sofia-sip tree
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 18:05:22 +00:00
Anthony Minessale
aa32ae6f34
Tue Oct 14 09:00:06 EDT 2008 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* nua/check_session.c: Disabled OPTIONS keepalives in call tests
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 11:59:31 +00:00
Anthony Minessale
38e0e5a303
Tue Oct 14 08:58:12 EDT 2008 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* nua/check_register.c: Increased test timeouts to 10 seconds
This prevents occasional test timeout errors in Maemo Scratchbox.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 11:59:09 +00:00
Anthony Minessale
834397d025
Tue Oct 2 11:30:47 EDT 2007 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* outbound.c: Retain keepalives even when 'natify' is disabled
Mon Oct 6 09:02:14 EDT 2008 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* Resolved a conflict in outbound.c with the natify patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 11:58:43 +00:00
Anthony Minessale
d7621a4135
Tue Oct 2 10:51:22 EDT 2007 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* outbound.c: Do keepalives even when no NAT was detected
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 11:55:47 +00:00
Michael Jerris
1f3b34ae96
Fri Sep 12 12:25:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_stack.c: keep reference when destroying un-ACKed INVITE
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-12 16:28:10 +00:00
Michael Jerris
260ca947da
Fri Sep 12 11:59:46 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_stack.c: un-ACKed INVITE was destroyed twice on nh_destroy()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9540 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-12 16:06:33 +00:00
Michael Jerris
51024eee9b
Wed Sep 10 12:10:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: added test cases for multiple INVITEs and INVITE glare
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9520 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:24:59 +00:00
Michael Jerris
dc84df61fc
Wed Sep 10 12:08:47 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: always start next INVITE after ACK
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9519 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:24:40 +00:00
Michael Jerris
07f024c9b9
Wed Sep 10 11:46:36 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_s2.c: add From tag to s2-generated requests
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9517 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:23:59 +00:00
Michael Jerris
1dab185160
Wed Sep 10 10:49:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: added test cases for nua_handle_destroy() and nua_respond()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:23:01 +00:00
Michael Jerris
65b629aa8e
Wed Sep 10 10:40:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: bye_4_1_11 - checking BYE in completing state
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9513 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:22:43 +00:00
Michael Jerris
184bee89d5
Wed Sep 10 10:39:23 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: renamed call error cases (3.1, 3.2)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9512 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:22:29 +00:00
Michael Jerris
6245100d02
Wed Sep 10 10:37:35 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: added more CANCEL cases
2.2.5 - CANCEL glare test case (failing)
2.2.6 - Simple nua UAS CANCEL case
2.2.7 - RFC 2543 client CANCELing, nua as UAS
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9511 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:22:13 +00:00
Michael Jerris
b45c089d4b
Wed Sep 10 10:22:28 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: added TCP call cases call_2_1_2_2 and call_2_1_3_2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:21:56 +00:00
Michael Jerris
cee1157243
Wed Sep 10 09:56:53 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_s2.c: use only tport protocol if primary tport is given
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:21:42 +00:00
Michael Jerris
4c606d6df4
Wed Sep 10 09:39:03 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: added case 2.1.8, Call using NUTAG_PROXY().
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:21:28 +00:00
Michael Jerris
ff74ae2a89
Wed Sep 10 09:34:00 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: added tests for PRACK and preconditions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9507 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:21:10 +00:00
Michael Jerris
f1914b40cd
Wed Sep 10 09:29:58 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_s2.c: turn on s2 tport log if environment variable S2_TPORT_LOG is set
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9506 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:20:55 +00:00
Michael Jerris
545f4a9194
Wed Sep 10 09:29:17 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_s2.c: allow user-specified VIA in requests from s2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:20:25 +00:00
Michael Jerris
5563aa8ae8
Wed Sep 10 09:05:24 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: fixed client request reference counting in nua_session_usage_remove()
Bug reported by Della Betta Filippo.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9504 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:20:05 +00:00
Michael Jerris
04855d3cc0
Wed Sep 3 14:21:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua: using nua_client_set_terminating()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:32:12 +00:00
Michael Jerris
ef020e6016
Wed Sep 3 14:20:29 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua: added reference counting for client-side transactions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:30:56 +00:00
Michael Jerris
a2740a96c8
Wed Sep 3 13:55:22 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua: using HAVE_MEMLEAK_LOG
Logging nua_handle_ref() and nua_handle_unref().
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:29:19 +00:00
Michael Jerris
fc0293d266
Wed Sep 3 13:50:17 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_tag.c: updated documentation on NUA tags
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:28:41 +00:00
Michael Jerris
8e37367fb6
Wed Sep 3 13:49:53 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* outbound.c: do not use OPTIONS keepalive by default but on UDP
On TCP, use TCP-level keepalives.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:27:56 +00:00
Michael Jerris
961c78c3b9
Wed Aug 13 13:03:33 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* 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
2008-08-14 15:37:53 +00:00
Michael Jerris
002cb87165
Wed Aug 13 10:23:28 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_dialog.c: clear reference in server request before freeing it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-14 15:37:09 +00:00
Michael Jerris
55f7d3505a
Fri Aug 8 09:41:49 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua: updated tag documentation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:08:03 +00:00
Michael Jerris
e33290f42f
Fri Aug 8 08:09:34 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua: fix bug #2041747 with Organization header
Using Organization tags crashed the nua stack.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9278 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:07:38 +00:00
Michael Jerris
426570b105
Fri Aug 8 07:55:01 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_subnotref.c: do not terminate SUBSCRIBE usage if Expires: 0 is used
Terminate subscription only when NOTIFY is received or timeout occurs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9277 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:07:20 +00:00
Michael Jerris
b489249f60
Wed Aug 6 15:17:30 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_subnotref.c: nua_unsubscribe() should not terminate usage w/ final response
Do not terminate until final NOTIFY or timeout.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9275 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:06:35 +00:00
Michael Jerris
661fc8232c
Sat Jul 12 10:11:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_s2.[hc]: added s2_nua_thread
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9266 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:03:17 +00:00
Michael Jerris
d96293255d
Mon Jul 21 13:06:54 EDT 2008 Pekka.Pessi@nokia.com
...
* outbound.c: destroy response to OPTIONS keepalive only when it is no more used
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:00:18 +00:00
Michael Jerris
31180ed11b
Tue May 27 13:03:35 EDT 2008 Pekka.Pessi@nokia.com
...
* check_session.c: added test case call_error_3_2_3
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 16:59:56 +00:00
Michael Jerris
9eda658a77
Thu Jun 5 10:23:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* Using su_inet_ntop and su_inet_pton
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 04:36:13 +00:00
Michael Jerris
74244d9a97
Thu Jun 5 11:32:08 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: sanitized asserts with dialog usage for SIP session
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-05 16:20:01 +00:00
Michael Jerris
d886447645
Thu May 22 10:57:40 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_register.c: fixed klocwork issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8640 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:23:36 +00:00
Michael Jerris
17b5b79f14
Thu May 22 10:45:32 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_session.c: handling answer better by nua_prack_server_init()
Fixed klocwork issue, too.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:23:11 +00:00
Michael Jerris
4ba0be7696
Thu May 22 06:48:11 EDT 2008 Pekka.Pessi@nokia.com
...
* outbound.c: fixed klocwork issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8631 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:18:36 +00:00
Michael Jerris
c7ebd6a8a8
Thu May 22 06:47:07 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_stack.c: fixed klocwork issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:17:55 +00:00
Michael Jerris
cda4ee31af
Tue May 20 07:51:51 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_session.c: fixed klocwork issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8609 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:53:04 +00:00
Michael Jerris
91e7f24249
Tue May 20 07:46:57 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_publish.c: fixed klocwork issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8608 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:52:27 +00:00
Michael Jerris
206a5e6a77
Tue May 20 07:46:20 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_params.c: fixed klocwork issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8607 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:51:51 +00:00
Michael Jerris
08ed3b66fc
Tue May 20 07:46:10 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_event_server.c: fixed klocwork issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:51:11 +00:00
Michael Jerris
c7fccda55c
Tue May 20 07:45:46 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_dialog.h: added NUA_DIALOG_USAGE_PRIVATE() and NUA_DIALOG_USAGE_PUBLIC()
Macros to use with non-NULL pointers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8605 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:50:32 +00:00
Michael Jerris
a45583dd73
Wed May 21 10:41:10 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: added new BYE glare test cases
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8602 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:24:35 +00:00
Michael Jerris
8d11dde301
Wed May 21 10:40:42 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* check_nua.c: fixed output when CHECK_NUA_CASES has been set
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8601 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:23:35 +00:00
Michael Jerris
66a57f4927
Mon May 19 13:42:41 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* RELEASE: updated
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:23:12 +00:00
Michael Jerris
0c9550858d
Mon May 19 13:30:14 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_tag.c: updated documentation of NUTAG_PROXY(), NUTAG_SUB_EXPIRES().
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8597 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:21:33 +00:00
Michael Jerris
10aa8c19ae
Un-revert the following:
...
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
2008-05-25 03:00:54 +00:00
Michael Jerris
5e7e1b999d
Mon May 19 11:31:45 EDT 2008 Pekka.Pessi@nokia.com
...
* 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
2008-05-19 16:56:40 +00:00
Michael Jerris
c3c9a27413
Fri May 16 05:06:09 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_register.c: nr->nr_tport was used even if nr was NULL
Problem detected by Klocwork.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:55:53 +00:00
Michael Jerris
4795234198
Fri May 16 10:44:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_s2.c: cope if test nua uses default port
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:55:15 +00:00