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