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
6545d04bf7
Wed Oct 22 09:10:19 EDT 2008 Brian Czapiga <rys at evool dot com>
...
* sip_bad_mask: so not require valid Supported
Cisco phones seem to generate bad Supported header.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 12:01:04 +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
7780b6ef76
(SFSIP-88) handle leak on windows
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10006 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-14 16:08:43 +00:00
Anthony Minessale
ce7016af1b
SFSIP-95 dont require valid Supported header because even if cisco insists they are rfc3261 compiant, having (null) in a header just isn't
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9863 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-06 21:53:56 +00:00
Brian West
92af3e726d
revert this change for now
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9676 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-26 23:37:27 +00:00
Michael Jerris
1cdec9c0fe
unlock before destroy (handle leak from SFSIP-88)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-26 19:33:17 +00:00
Michael Jerris
d8f1f01486
unlock before destroy (handle leak from SFSIP-88)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-26 19:30:52 +00:00
Michael Jerris
bc441b7df8
Fri Sep 12 16:55:08 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_100rel.c: fixed timing problem w/ failing PRACK case
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-12 21:48:10 +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
25d5205abc
Wed Sep 3 13:35:21 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/msg_header.h: added msg_header_add_format(()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9541 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-12 16:27:43 +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
d945b059c8
Wed Sep 10 12:05:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_100rel.c: fixed timing problems with response to BYE
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9518 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:24:14 +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
64c24236f1
Wed Sep 10 11:45:25 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* soa_static.c: soa_static_process_reject() backs up only if it has to back up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9516 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:23:44 +00:00
Michael Jerris
5f65acd306
Wed Sep 10 11:44:40 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* soa.c: document what function table contains by default
For easy TAGS usage.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9515 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:23:21 +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
46c7e09c4d
Wed Sep 3 14:37:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* sdp: updated documentation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:19:45 +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
9770bd3a12
Wed Sep 3 13:11:43 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* configure.ac: added --enable-memleag-log and HAVE_MEMLEAK_LOG
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:27:14 +00:00
Michael Jerris
642ad50e83
Thu Aug 14 11:22:16 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* outgoing_complete(): avoid assert if completing already completed request
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-14 16:02:45 +00:00
Michael Jerris
4e9fe267ec
Thu Aug 14 11:21:21 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nta: when in UAS mode, respond to CANCEL and INVITE with same tag
Added mreply(), internal function for responding to a request message
Also, tag INVITE before responding to CANCEL.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-14 16:01:39 +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
884d4227e7
add new test file
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:11:25 +00:00
Michael Jerris
34c878ba94
Tue Aug 12 12:56:16 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* sdp_parse: the syntax is updated to RFC 4566
"The changes to the memo are intended to be backward-compatible
clarifications."
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:08:44 +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
8eaf59b7f3
Thu Aug 7 07:53:01 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* soa_static.c: increment version number in o= line only when generating offer or answer
Bug reported by Timo Bruhn.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9276 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:06:57 +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