Michael Jerris
09b2fd335a
Fri May 15 11:31:44 CDT 2009 Michael Jerris <mike@jerris.com>
...
* sdp_print.c: build errors fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13383 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 14:46:38 +00:00
Michael Jerris
0dbb31daab
Thu May 14 13:05:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: clarify outgoing_ack() logic
Ignore-this: a745b3e7df63835d9768ec9dc3d5c5b2
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:19:19 +00:00
Michael Jerris
61c23ee5d1
Wed May 13 13:39:29 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_stack_ack(), nua_invite_client_ack(): cleaned code
Ignore-this: 9edf1594e20f27f4e2effb43c83858ea
Fixed clean-up after ACK.
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:18:10 +00:00
Michael Jerris
d15df2001d
Wed May 13 13:33:21 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sres.c: use unsigned lenghts with m_get_string() and m_get_domain()
Ignore-this: 7b09dd7d26a10dabb645156563c0cd6c
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:17:09 +00:00
Michael Jerris
9aac7fc9c0
Wed May 13 13:21:12 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sip-date.c: not using uninit data.
Ignore-this: 48751cc510886e42e23e48c535a869bc
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:16:35 +00:00
Michael Jerris
5f5732c0aa
Wed May 13 13:20:54 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sip-dig.c: fixed crash on bad param
Ignore-this: 9e73dd7095a51d15e5bc6f00e8aab98c
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:15:58 +00:00
Michael Jerris
28af3accb9
Wed May 13 13:18:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* msg_mclass_insert_header(): not using uninit data
Ignore-this: 40a6993391b5f2993af8ee01c407c0c7
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:15:28 +00:00
Michael Jerris
6774ad7083
Wed May 13 13:08:11 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sres_resolver_new_with_cache_va(): added missing va_end()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:14:33 +00:00
Michael Jerris
966e462e8c
Wed May 13 13:07:25 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nea_server.c: check params in nea_event_tcreate()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:14:01 +00:00
Michael Jerris
935a1433d6
Wed May 13 13:02:06 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* msg_parser_util.c: fixed msg_unquoted_e()
Ignore-this: 78b9afb6e97ff730d7924d860ef33921
Now accepts NULL buffer with nonzero size.
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:13:20 +00:00
Michael Jerris
be1650e4ea
Wed May 13 12:35:38 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nta_incoming_create_response(): sanitized oom check
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13345 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:12:41 +00:00
Michael Jerris
469bc4789a
Wed May 13 12:14:18 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_event_server.c: free temp strings
Ignore-this: 18b592f7d6ae942a48cd117f7a6f3c31
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:11:57 +00:00
Michael Jerris
71f7c7ff11
Wed May 13 12:04:15 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_update_server_report(): fix bugs checking pending INVITEs in fake precondition handling
Ignore-this: dc67f6287bf48aa8e2a39e2ece96821
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:10:38 +00:00
Michael Jerris
af88f6c68d
Wed May 13 12:03:01 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sdp_print(): correctly handle NULL session
Ignore-this: 206a9027d6dfb73371d7f0ddac5f640b
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:09:49 +00:00
Michael Jerris
8937b3a4e1
Wed May 13 11:37:19 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* msg: unobfuscated casts of msg_header_t
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:09:12 +00:00
Michael Jerris
ae9f6cc6d1
Wed May 13 11:18:27 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* msg_header_copy.c: unobfuscated msg_default_dup_one()
Ignore-this: 1fda1941baecad1f6397de453e606f1c
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:07:59 +00:00
Michael Jerris
6e1af87d26
Wed May 13 11:09:06 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sip_parser.c: fixed overrrun in sip_method_name()
Ignore-this: efe0fc0935451b1b0ee403befac5df40
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:07:05 +00:00
Michael Jerris
763c520d49
Wed May 13 11:07:04 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sip-dig.c: fixed buffer overrun
Ignore-this: d8776bd28ef951602449e87d80dc20e7
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:06:43 +00:00
Michael Jerris
52bcb7b396
Wed May 13 11:00:40 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* auth_client.c: removed leak in auc_digest_authorization()
Ignore-this: 9b0297083b6c6ce1bf9ef3d723b01f3b
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:05:59 +00:00
Michael Jerris
4c3b2bc4b5
Wed May 13 10:50:41 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* msg: fixed possible leak in msg_params_d() with more than 16 params
Ignore-this: a45ef326def7b1bcd14de4850f3c24ab
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:05:15 +00:00
Michael Jerris
6f7641f94a
Wed May 13 05:14:56 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* tport.c: better checking of IP6 addresses
Ignore-this: 49f502ccaaf771abed1e5b2d00eaa8b8
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13335 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:04:28 +00:00
Michael Jerris
de69d8ea95
Wed May 13 04:19:01 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* outbound.c: logging string after freeing it.
Ignore-this: 78c744681a08302beaa01b3752bd5f43
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:03:45 +00:00
Michael Jerris
0c6a2d6105
Tue May 12 14:58:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* test_soa: check larger sessions
Ignore-this: fac46a2328bc0db501cd98e7a67309c0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:03:07 +00:00
Michael Jerris
4d2219a4c2
Tue May 12 14:57:48 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* soa_static.c: avoid overrun of arrays in soa_sdp_upgrade()
Ignore-this: 9f7eae37e7d97c509a2797363b03c54a
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:02:34 +00:00
Michael Jerris
61c7a110b2
Tue May 12 13:23:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* tport.c: do not use out-of-scope array in tport_deliver()
Ignore-this: a651d5eb213850d9dfd317102a432f8e
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13331 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:01:31 +00:00
Michael Jerris
9a38d3da7d
Tue May 12 13:17:07 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: check input in nta_leg_by_uri()
Ignore-this: f149ac04b5e1bf078c3b00e837738301
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13330 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:00:17 +00:00
Michael Jerris
1a9705a7b6
Tue May 12 13:13:16 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_client.c: removed extra NULL check from nua_client_request_complete()
Ignore-this: cc1f1fb7bf8e4ae07f965846418410a
Coverity issue 7310.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13329 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:59:02 +00:00
Michael Jerris
a0b8810d89
Tue May 12 13:07:45 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: check dialog usage before using it in nua_update_server_respond()
Ignore-this: 543e8d6d999a5a4d54600f1dbdfb1444
Coverity issue 7312.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:57:37 +00:00
Michael Jerris
0106f699e6
Tue May 12 13:04:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* tport_type_udp.c: tport_check_trunc() cleaned code
Ignore-this: b39558360afb657325a4615d0919baaa
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:54:54 +00:00
Michael Jerris
27c334d8e0
Tue May 12 13:00:40 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: removed dead code from process_prack()
Ignore-this: 325e40cbba4e6933aa1681d6862533f
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:53:31 +00:00
Michael Jerris
584ae7db64
Tue May 12 11:57:49 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: doublecheck invite client transaction
Ignore-this: 4236b668c99e6e0d72a7889ce6cdf671
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13325 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:52:14 +00:00
Michael Jerris
672e48f8c8
Tue May 12 11:52:32 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: always clean and remove INVITE client request in nua_invite_client_ack()
Ignore-this: bdace77be7b43629b591f5adf7315341
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13324 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:50:43 +00:00
Michael Jerris
25fe8c3a4b
Tue May 12 11:38:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* auth_common.c::auth_get_params(): added missing va_end()
Ignore-this: 43f33c9e069f4b80c35bab09bec7f925
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13323 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:49:34 +00:00
Michael Jerris
ca2c46d4bf
Tue May 12 11:08:07 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: do not free transaction in reliable_timeout() if caused by failure to send final response
Ignore-this: 8e32f83925b6f2a3629afbb8b20ba693
Issue detected by Coverity.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13322 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:47:55 +00:00
Michael Jerris
f05ec55879
Tue May 12 14:59:28 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* soa_static.c: include media formats in rejected m= line
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13321 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:46:27 +00:00
Michael Jerris
0e45cc850f
Tue May 12 11:05:19 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua: NUTAG_AUTOACK(0) is now obeyed always when media is disabled
Ignore-this: c5960a8330904eae5a1428158e4498c7
If media is enabled, stack autoacks 2XX responses to re-INVITEs unless
NUTAG_AUTOACK(0) is set on handle.
Also documenting NUTAG_AUTOACK() behaviour with re-INVITEs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13320 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:45:39 +00:00
Michael Jerris
7e1d02d8a9
Tue May 12 12:08:51 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: ensure that re-INVITEs have correct Session-Expires parameters
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:44:40 +00:00
Michael Jerris
0d3db88c5b
Tue May 12 12:08:13 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: include Session-Expires to session refresh requests
Thanks for Linus Surguy for reporting the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:43:28 +00:00
Michael Jerris
3f4f728974
Wed Apr 29 13:03:20 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* tport: close half-closed idle connections on windows, too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:42:25 +00:00
Michael Jerris
0ed0ef9e5e
Thu Apr 16 12:11:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* check_session.c: added yet another test case for re-INVITE glare
S2_CASE("2.6.5", "Re-INVITE glare and 500 Retry-After",
"NUA receives re-INVITE, replies with 200, "
"sends re-INVITE, gets 500, gets ACK, retrys INVITE,"
"sends BYE.");
test case for SFSIP-135 and SFSIP-137
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13063 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 17:21:54 +00:00
Michael Jerris
59478dd599
Thu Apr 16 12:04:08 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_client, nua_session: avoid restarting in-progress transactions
This is supposed to fix bugs #SFSIP-135 and #SFSIP-137. Thanks for Tamas
Jalsovszky and kawarod for reporting the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13062 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 17:18:56 +00:00
Michael Jerris
5278050e61
Wed Apr 8 16:37:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: do not restart CANCEL requests
Ignore-this: 2c9d51bbafca2256630a0ea73982abea
Fixes FreesWitch bug SFSIP-134, reported by vile, initial patch by Mike
Jerris.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 15:00:42 +00:00
Michael Jerris
568baaeef7
Tue Mar 24 07:39:57 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* nua/check_register.c: fixed up value setting for NAT-imitating received parameters
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 14:59:59 +00:00
Michael Jerris
a26400fc4c
Tue Mar 3 12:23:35 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
...
* su_uniqueid.c: srand() must be called per-thread on windows
Ignore-this: ee98b86faadc4a39186ba4991b073c40
Mon Mar 23 12:41:53 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid.c: simple threadsafe implementation
Ignore-this: b3597fb6032b79a61b63f004f121188b
Using /dev/urandom where available, simple 64-bit prng elsewhere.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:54:18 +00:00
Michael Jerris
4faa0ed664
Mon Mar 23 12:27:27 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* RELEASE: urandom is no more public
Ignore-this: 353234331d627b77c66841036c9d77f7
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:49:03 +00:00
Michael Jerris
79081a2faa
Mon Mar 23 12:22:50 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: use random key when generating tags
Ignore-this: 3e989f42549acbdbc259383b1b64e74d
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12754 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:48:19 +00:00
Michael Jerris
db6542b516
Mon Mar 23 10:41:29 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* configure.ac: check for dlopen in -ldl
Ignore-this: e1fa8a4bf30eb9023e54264dbe8c42bd
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12753 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:47:43 +00:00
Michael Jerris
dc27ee5271
Mon Mar 23 10:41:08 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* tests: added check_dlopen_sofia.c
Ignore-this: 1f3a1a6dc3e9099c6488a637e5f06e9a
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12752 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:46:59 +00:00
Michael Jerris
123153d843
Wed Mar 11 11:52:58 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* tport.c: silence VC warnings
Ignore-this: b81c43b73fcefa2dd58dd3366dd60368
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:46:13 +00:00
Michael Jerris
bfb14992f1
Wed Mar 11 11:51:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sres_sip.c: silence VC warnings
Ignore-this: dd9d4b774716430cdf429ed86664b109
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12750 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:45:45 +00:00
Michael Jerris
52f03208c9
Wed Mar 11 11:50:44 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* msg_mime.c: explicit cast when assigning to mp_len
Ignore-this: ca5b8291eb84d8b166ab7f659bcf69f8
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:45:13 +00:00
Michael Jerris
4d643bccc1
Wed Mar 11 11:58:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/su_config.h: include extern in SOFIAPUBVAR
Ignore-this: 7cccd45776e8452a8e404aaf01eaeadf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:44:33 +00:00
Michael Jerris
91f349d5ed
Wed Mar 11 09:50:20 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* s2check: added exit77.c to EXTRA_DIST
Ignore-this: ae3403c0bd1b4596c24bc7304916fa85
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12747 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:44:04 +00:00
Michael Jerris
1dda329079
Wed Mar 11 09:49:37 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* s2base.c: use struct timeval with gettimeofday()
Ignore-this: 1ca4ea3c958573a1fa845d8b66b7d6ad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:43:28 +00:00
Michael Jerris
596a0b60cb
Mon Mar 9 12:44:03 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* su_alloc: shorten race on _su_deinit()
Ignore-this: 6d4e6edb434a96e66c9bb018a201a3c6
Make home object unusable earlier during denitialization.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:42:53 +00:00
Michael Jerris
39ed058e2a
Mon Mar 9 12:42:48 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* packages/sofia-sip-ua.pc.in: silenced warning from configure
Ignore-this: dcf6a0fed627e267f5128af5508bcb8f
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:42:16 +00:00
Michael Jerris
19ec89ae6b
Mon Mar 9 12:42:00 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* test_nua_api.c: nua_i_none is no more unknown
Ignore-this: b7232be3e3956337161266c1814ddd37
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12743 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:41:38 +00:00
Michael Jerris
06dfd6b602
Mon Mar 9 12:32:13 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nua: added nua_i_none to nua_event_name()
Ignore-this: 5d262decadfc28b82ab7292330e20530
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12742 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:41:03 +00:00
Michael Jerris
21fcb16428
Thu Mar 5 13:20:53 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2util.h, s2time.c: added s2_timed_logger()
Ignore-this: 504e7e5c1201b0b2d5c345c31d5d4b71
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:40:31 +00:00
Michael Jerris
3c9cb00a4b
Thu Mar 5 13:09:53 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: #include <sofia-sip/htable.h> here
Ignore-this: bab8054edc65e3defbed6db325e1deba
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:39:08 +00:00
Michael Jerris
93aa2e4ac7
Thu Mar 5 13:08:22 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: nta_leg_tag(leg, NULL) now always returns the tag (old or new)
Ignore-this: f5a7d67ed90e2c284f6696d6b5b89326
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:38:33 +00:00
Michael Jerris
0bafa3b1cd
Thu Mar 5 13:06:59 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* run_test_nta: fixed bashism with exec
Ignore-this: 6d034eb8fd66f6a903e3219589f62eef
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:37:43 +00:00
Michael Jerris
22dae2b9fa
Thu Mar 5 13:21:25 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_sres_sip.c: use S2_CASE()
Ignore-this: da194ea35fa98a73f3da3b4b5257aa8f
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12737 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:37:01 +00:00
Michael Jerris
277137cf8e
Thu Mar 5 13:06:15 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nta: use S2_CASE()
Ignore-this: c94d4219b0882f1343bcfc56f975ea48
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12736 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:36:03 +00:00
Michael Jerris
676d7c5b75
Thu Mar 5 13:04:56 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nua: use S2_CASE()
Ignore-this: 85691a39065d7ad3da57f45fe87c1da
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:34:23 +00:00
Michael Jerris
113da462f1
Thu Mar 5 12:29:30 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2base.h: added S2_CASE(), added test function name to s2_case() parameters
Ignore-this: c9ceff2812044e2643c21548be29233e
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12734 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:33:33 +00:00
Michael Jerris
840735200e
Thu Mar 5 11:44:15 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2check.h: redefine tcase_add_loop_test, too
Ignore-this: 149c19e8d089b60e8ddcb98da54c9d88
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12733 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:32:49 +00:00
Michael Jerris
70ddbdd6d6
Thu Mar 5 10:20:11 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nua: s2_setup_logs() now turns on transport logging, too
Ignore-this: 4ad4dc1efaf76c34a46038586a00e084
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12732 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:32:08 +00:00
Brian West
fe71e492c7
Thu Mar 5 10:19:35 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nua: using fail_unless_event() macro
Ignore-this: b03dc7431e8fea9835322bd8f825a803
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:30:45 +00:00
Michael Jerris
51a8cb2827
Wed Mar 4 12:24:57 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta_incoming_magic(): if callback is NULL, return any magic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12557 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:58:34 +00:00
Michael Jerris
c4c67ac090
Wed Mar 4 12:22:52 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: add nta_outgoing_magic()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:57:32 +00:00
Michael Jerris
90d44abb5d
Thu Mar 5 08:22:19 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* configure.ac: added AC_CONFIG_MACRO_DIR([m4])
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12555 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:56:27 +00:00
Michael Jerris
2a0b960efb
Thu Mar 5 08:00:45 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: added check-based test program check_nta
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:55:00 +00:00
Michael Jerris
20719ebf88
Thu Mar 5 07:59:34 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2check/exit77.c: added
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12553 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:53:44 +00:00
Michael Jerris
1bb6e48c63
Wed Mar 4 12:27:36 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: added nta_agent_tports()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12552 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:52:52 +00:00
Michael Jerris
b4a57d3300
Wed Mar 4 12:27:19 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: removed spurios SOFIAPUBFUNs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12551 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:52:07 +00:00
Michael Jerris
2b572ee523
Wed Mar 4 13:35:37 CST 2009 Fabio Margarido <fabiomargarido AT gmail DOT com>
...
* msg: allow compact headers inside multipart payload
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:50:46 +00:00
Michael Jerris
b51e4533d5
Wed Mar 4 13:12:17 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* configure: SOFIA_GLIB_CFLAGS added
Ignore-this: f70baad5a9f61b6fcbe44ec1aa4c2c22
GLib behaves badly with -Wall -Werror.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12423 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:42:53 +00:00
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
a0fb5045a8
Wed Mar 4 12:31:26 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2base: removed s2_setup_logs()
Ignore-this: ea4848902b3be9c966b4f7e114f2a5b6
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:40:06 +00:00
Michael Jerris
f7d903c8fb
Wed Mar 4 12:29:06 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2sip: removed nua dependency
Ignore-this: d32f68be34d4628129aff2afad3c99f1
Fixed CK_FORK=no case.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:39:24 +00:00
Michael Jerris
980957e967
Wed Mar 4 12:31:05 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2_dns_domain(): more flexible selection of transports by URI parameters
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:37:55 +00:00
Michael Jerris
721612aa82
Wed Mar 4 12:28:12 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* run_test_nta: run tests without named if named refuses to start
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:37:00 +00:00
Michael Jerris
3446ae280f
Wed Mar 4 12:22:20 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: fix timer N3
Ignore-this: 4018f3a32723692153389c2109b72296
Try UDP instead of TCP if TCP server does not respond quick enough.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:35:51 +00:00
Michael Jerris
eb218a9656
Tue Mar 3 12:23:35 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
...
* su_uniqueid.c: srand() must be called per-thread on windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 22:02:55 +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
fe74d31573
Tue Mar 3 10:37:30 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2check: added s2base.[hc], s2sip.[hc]
Ignore-this: 6a32b36a47a6f9dd2b5fec7c7375c564
Moved nua/test_s2 code here.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:27:41 +00:00
Michael Jerris
ba34225301
Tue Mar 3 07:47:19 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: calculate timer D correctly
Ignore-this: f43d9dcc11fb6a19c3674a6da35ee7ec
Timer D is either 32 seconds or 64 times T1, whichever is larger.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:26:13 +00:00
Michael Jerris
b6f8748e09
Tue Mar 3 11:04:23 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2check/Makefile.am: more clue about name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12386 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:25:39 +00:00
Michael Jerris
48d656c21c
Tue Mar 3 11:03:53 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* RELEASE: describe nta changes with forking, timer C, timer D, and CANCEL
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:25:03 +00:00
Michael Jerris
721735cd90
Tue Mar 3 10:56:34 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* test_soa.c: ignore fgets() return value. really.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:24:01 +00:00
Michael Jerris
82a42fc678
Tue Mar 3 10:49:51 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* test_nta.c: timer C now CANCELs INVITE transaction
Ignore-this: 8de2e5747e7ae0e62e2d8ad9aeb0cbed
408 response is not generated (unless CANCEL times out, too.)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12383 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:23:31 +00:00
Michael Jerris
b38b9edd99
Tue Mar 3 10:47:40 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta_tag.c: fixed NTATAG_TIMER_C() documentation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12382 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:23:03 +00:00
Michael Jerris
9cac599609
Tue Mar 3 10:47:00 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: timeout CANCELed INVITE transactions properly
Ignore-this: 4e7fdc56065dba617352443a9310bb28
Use timer D (instead of timer C) to timeout CANCELed INVITE transactions.
Also, generate 408 Request Timeout to all forks that have not received a
final response.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12381 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:22:35 +00:00
Michael Jerris
742d765b53
Tue Mar 3 10:40:57 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: nta_agent_set_params() now returns correct value for tport parameters set
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12380 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:22:01 +00:00
Michael Jerris
62fdae5055
Mon Mar 2 11:58:01 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: use already-resolved transport for CANCEL/ACK to [3456]XX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:21:26 +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
97c72d0a46
Mon Mar 2 11:21:17 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sl_utils_print.c: propagate error from fwrite()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:19:58 +00:00
Michael Jerris
094de86372
Tue Mar 3 07:56:30 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* tport.c: add TPTAG_LOG() and TPTAG_DUMP() to tport_get_params()
Fixed return value from tport_set_params(), too.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:19:09 +00:00
Michael Jerris
ae27bdd5f2
Thu Feb 26 09:39:43 CST 2009 Michael Jerris <mike@jerris.com>
...
* sres_sip.c: fix warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:40:20 +00:00
Michael Jerris
72aff5e8ab
Thu Feb 26 09:31:51 CST 2009 Michael Jerris <mike@jerris.com>
...
* su_localinfo.c: fix build on non-ipv6 hosts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:38:34 +00:00
Michael Jerris
11bfd760fe
Thu Feb 26 09:18:43 CST 2009 Michael Jerris <mike@jerris.com>
...
* soa.c: fix build on non-ipv6 hosts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:36:35 +00:00
Michael Jerris
6f9fb28bc9
Thu Feb 26 09:15:52 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* soa.c: fix address matching with user sdp w/out session c= line
Ignore-this: 9aa560f8abd799d46e38c2e4ee0ca23c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:31:50 +00:00
Brian West
d35ca59959
Tue Feb 3 10:31:33 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_wait.h: added su_root_clone()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:24:05 +00:00
Brian West
38abb2ced7
Tue Feb 3 10:29:44 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_alloc: added su_home_parent()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12298 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:23:05 +00:00
Michael Jerris
e7bfa12bc4
Wed Feb 25 13:11:19 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_sres_sip.c: added test cases for bad DNS server, timeout
Ignore-this: f14a52817f3612c0b8b776761a12ef3e
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:40:22 +00:00
Michael Jerris
733062be3a
Wed Feb 25 13:10:24 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sres_sip.c: be more robust if the DNS fails badly
Ignore-this: 1922836529de164a842ab88e848066a0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:39:24 +00:00
Michael Jerris
d5b2e2d2ab
Wed Feb 25 13:09:35 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sres.c: improved error handling
Ignore-this: a64e098f8575511bb6e5ef3129635d98
Returning records with SRES_NETWORK_ERR or SRES_TIMEOUT_ERR.
Also setting errno if there is no available DNS servers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:38:05 +00:00
Michael Jerris
c49d12e184
Wed Feb 25 12:40:44 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2dns: added s2_dns_set_filter()
Ignore-this: dc9bf478b6a90d5b351b56c3d77a7ec9
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:36:39 +00:00
Michael Jerris
e591b6ce3a
Tue Feb 24 09:03:08 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/heap.h: use static scope for functions given to sort()
Ignore-this: 72e91b9470ccc23300ce06eb836d56f4
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:35:59 +00:00
Michael Jerris
cf9f7888f1
Wed Feb 25 11:29:23 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_uniqueid.c: fixed seed array usage
Ignore-this: b6e6a195f3f34abc2119a741f8b6f5e2
Paper bags, anyone?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:34:54 +00:00
Michael Jerris
5974867444
Fri Feb 13 05:53:00 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2_localinfo.h: added
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:31:10 +00:00
Brian West
be15ed423f
Tue Feb 24 07:33:35 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sip_parser.c: fixed sip_transport_d()
Ignore-this: c14408145a269c25d00dcb20ab2391f6
sip_transport_d() was expected to canonize casing of well-known transports.
Thanks for Adrian Gschwend for reporting the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 14:46:03 +00:00
Brian West
46c3eec39a
Fri Feb 13 09:41:52 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su.h: define su_family via struct sockaddr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 14:43:31 +00:00
Michael Jerris
96e65ddec3
Thu Feb 12 12:02:48 CST 2009 Jarod Neuner <janeuner@networkharbor.com>
...
* tport_tls: add/fix some tls init logging
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11964 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:30:05 +00:00
Michael Jerris
5cb1f54133
Thu Feb 12 15:14:27 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_addrinfo.h: #include <netdb.h>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:29:30 +00:00
Michael Jerris
b8f52353f3
Thu Feb 12 15:14:07 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* soa: make better effort in keeping addresses (c= and o= lines) in user SDP
Ignore-this: a6da9ed249dba3309e3dbbbdb4262082
The address selection logic now prefers (unicast) addresses in already
present in SDP, if they get returned by su_getlocalinfo().
The process currently tries to avoid link-local addresses.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:28:58 +00:00
Michael Jerris
a043230c51
Thu Feb 12 15:01:10 CST 2009 Michael Jerris <mike@jerris.com>
...
* su_port.h: silenced warning in su_port_deferrable()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11959 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:25:18 +00:00
Michael Jerris
459bad1563
Thu Feb 12 14:56:11 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* tport_type_tls.c: fixed error logging in tport_tls_connect()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11958 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:23:05 +00:00
Michael Jerris
0eceb861b0
Thu Feb 12 14:45:02 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_uniqueid: call initstate() with memory from heap
Ignore-this: af9e58551676e173844d0b77af0e287a
When libsofia-sip-ua.so gets unloaded, its data segment gets unloaded, but
random() still wants to use the memory.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11956 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:21:30 +00:00
Michael Jerris
a24c4dc1f7
Thu Feb 12 14:28:27 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2dns.c: fixed cname records
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11954 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:19:13 +00:00
Michael Jerris
9bbacf9669
Thu Feb 12 14:27:12 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* s2tcase.c: allow multiple calls to s2_select_tests()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:18:20 +00:00
Michael Jerris
f10955584c
Thu Feb 12 14:24:41 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sres: sres_record_type() now checks pointer argument
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:17:44 +00:00
Michael Jerris
85315adc1b
Thu Feb 12 14:21:21 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sresolv: added asynchrous sip resolver
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11951 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:16:37 +00:00
Michael Jerris
93e3ef0f64
Thu Feb 12 14:20:26 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sres.c: improve logging upon errors
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11950 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:15:20 +00:00
Michael Jerris
816f984722
Tue Feb 10 19:39:02 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sres_cache: added sres_cache_copy_answers()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:14:45 +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
cbb7805d53
Thu Feb 12 07:17:08 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* tport.c: return correct errno from tport_connect()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11945 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:11:15 +00:00
Michael Jerris
b5ef501d09
Thu Feb 12 07:17:31 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
...
* tport.c: return correct errno from tport_listen()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:10:11 +00:00
Michael Jerris
8ff2eefcea
Wed Feb 11 15:01:48 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* msg/Makefile.am: allow short header forms in MIME attachments, too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11943 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:09:30 +00:00
Michael Jerris
613a5ebf86
Wed Feb 11 15:01:08 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
...
* tport.c: fixed tport_queuelen() when queue is full
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11942 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:08:29 +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
695cae05bf
Tue Feb 10 16:55:11 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* url: accept empty port number in URLs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11934 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:01:01 +00:00
Michael Jerris
39404c4dd3
Tue Feb 10 07:07:33 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* rules/silent.am: fixed make SOFIA_SILENT=
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:41:38 +00:00
Michael Jerris
4216c4f9ed
Tue Feb 10 07:06:03 CST 2009 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
...
* nta.c: ACK and BYE orphan 200 OK matching with destroyed client transaction
Ignore-this: c4f2b165dd2f197f129044e5c653cd8
ETSI Test cases SIP_CC_OE_CE_V_019, SIP_CC_OE_CE_TI_011_012
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11873 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:38:45 +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
a53ebf2c0d
Fri Feb 6 05:16:13 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: consider route as set if it is included when creating a leg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:37:22 +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
16d87679e4
Wed Jan 28 12:27:47 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* Added a comment about suspicious timeout calculation code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11858 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:19:49 +00:00
Michael Jerris
a37b99f072
Wed Jan 28 12:20:34 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* Added deferrable timer support to the GSource integration.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11857 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:19:25 +00:00
Michael Jerris
48c52ad5ec
Wed Jan 28 12:15:08 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* Merged deferrable timers from the bleeding-sofia-sip branch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:19:01 +00:00
Michael Jerris
f26dd3daf8
Wed Jan 28 12:09:00 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_port.h, su_timer.c: refactored su_timer_next_expires()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11855 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:18:37 +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
cc6fc1d277
Wed Jan 28 12:07:02 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su: added API functions su_timer_is_set() and su_timer_latest()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11853 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:17:49 +00:00
Michael Jerris
231fc1f4eb
Wed Jan 28 12:06:06 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/su_wait.h: added su_timer_deferrable(), su_task_wakeup(), su_root_set_max_defer(), su_root_get_max_defer() and su_task_deferrable().
Added implementation to different main-loop implementations in
libsofia-sip-ua/su.
Fixed su_task_is_running().
In libsofia-sip-ua/su, added tests for deferred timers.
In libsofia-sip-ua-glib/su-glib/su_source.c, added su_source_wakeup() and
su_source_is_running(). Using su_base_port_send() instead of
su_source_send(). Using su_base_port_deferable() and
su_base_port_max_defer(), too.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11852 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:16:44 +00:00
Michael Jerris
fff2dd5b66
Wed Jan 28 12:02:55 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_timer.c: removed redundant checks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:16:05 +00:00
Michael Jerris
8247926a88
Wed Jan 28 12:01:13 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_timer.c: timers_remove() now set sut_heap_index to 0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11850 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:15:37 +00:00
Michael Jerris
b3256ae861
Wed Jan 28 12:00:26 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_timer.c: no more type-punning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:14:57 +00:00
Michael Jerris
5c8181cc20
Wed Jan 28 11:52:34 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_timer.c: using heap (instead of red-black tree) for keeping timers sorted
Re-recorded 20070704230449-65a35-f0434c75b0f58a069806e81942c0d5e0821dc9d3
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11848 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:14:33 +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
5821ce1230
Mon Jan 26 09:45:30 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* RELEASE: msg_multipart_t::mp_len from usize_t to unsigned
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:13:36 +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
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
10c67f8219
Fri Jan 16 13:27:39 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* soa: fixed restoring state after failed offer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11835 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:07:59 +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
293a9b1483
Fri Jan 16 07:22:08 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: added nta_leg_client_reroute()
nta_leg_client_route() did not catch actually RFC 3261 section 12.1.2 feel
and spirit, not to speak about letter.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:06:00 +00:00
Michael Jerris
e26f3e19f0
Thu Jan 15 12:06:00 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: when sending ACK to [3456]XX, copy the To header as-is from the response
Problem reported by Paulo Pizarro.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:05:16 +00:00
Michael Jerris
38dabb3635
Thu Jan 15 09:50:45 CST 2009 Jarod Neuner <janeuner@networkharbor.com>
...
* TLS Subject Checking in tport
sofia-sip/tport.h:
* tport_delivered_from_subjects() returns type (su_strlst_t const *)
* Export tport_subject_search()
sofia-sip/tport_tag.h + tport_tag.c:
* Remove TPTAG_TLS_VERIFY_PEER()
- Depreciated. Use TPTAG_TLS_VERIFY_POLICY instead.
- Binary Compatibility is preserved.
* Add TPTAG_TLS_VERIFY_POLICY()
- tport can verify incoming and/or outgoing connections, using:
1) Certificate Signatures only - or -
2) Certificate Signatures and Certificate Subjects
* Add TPTAG_TLS_VERIFY_DEPTH()
- Restrict certificate chain verification to a set length.
* Add TPTAG_TLS_VERIFY_DATE()
- Disable notBefore/notAfter checking (application: embedded devices)
* Add TPTAG_TLS_VERIFY_SUBJECTS()
- Incoming connections must present client certificates with subjects
that match an item in this list.
- Intended Use: Proxy Authentication
* Replaced TPTAG_TRUSTED() with TPTAG_X509_SUBJECT()
- Commented out for future use.
- Intended Use: SIP User Identities in Server Certificates.
* Add appropriate doxygen documentation.
tport.c
* Add tport_subject_search()
- Subject can be a hostname, IP Address, or a URI.
- Valid subject examples include:
example.com
alice@example.com
sip:alice@example.com
sips:alice@example.com
* tport_by_addrinfo() matches tpn_canon against the subject list
of reusable TLS connections.
tport_tls.h:
* Add tls_init_secondary()
* Remove tls_init_slave() & tls_init_client()
tport_tls.c:
* tls_verify_cb() supports TPTAG_TLS_VERIFY_DATE()
* tls_post_connection_check() verifies certificate subjects.
* tls_init_secondary()
- Replaces tls_init_slave(), tls_init_client(), and tls_clone().
tport_type_tls.c:
* Removed erroneous reference to tport_tls_deliver()
* Fix a memory leak caused by duplicate calls to tls_clone().
* Populate the (tport_t *)->tp_subjects field with peer certificate data for
new secondary connections.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11830 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:03:59 +00:00
Michael Jerris
27a5a679be
Thu Jan 15 09:38:34 CST 2009 Bernhard Suttner <bernhard DOT suttner AT comdasys DOT com>
...
* sip_util.c: fix 484 respose to REFER in sip_response_terminates_dialog()
Asterisk (v 1.2.7.1) does response with 484 if a client does send a refer
with a @ReferTo header to an unknown number. This is therefore not
fundamentally wrong and the dialog should not be destroyed!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11829 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:03:30 +00:00
Michael Jerris
90311fbd2d
Tue Jan 13 16:22:39 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* tport_type_tls.c, tport_tls.c: added Jarod Neuner as one of authors
Cleaned whitespace, too.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11822 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:00:16 +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
7d792fe3ea
Mon Jan 12 08:29:14 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sip-dig.c: using su_casenmatch() to match NAPTR service
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:54:44 +00:00
Michael Jerris
a8ee947d37
Mon Jan 12 08:27:07 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_port.c: added #include <sofia-sip/su_string.h>
Making poll mechanism name matching case-insensitive.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:54:20 +00:00
Michael Jerris
21c92ab2d8
Fri Jan 9 14:51:02 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* auth_client.c: auc_has_authorization() is happy if one scheme is supported
If there was multiple challenges with different authentication schemes,
auc_has_authorization() required that all were supported (and used) before
authentication could proceed.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:53:49 +00:00
Michael Jerris
4d985dc0ef
Fri Jan 9 13:51:56 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su_string.c: it is A. Not a Z.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11809 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:53:18 +00:00
Michael Jerris
5ded72256a
Fri Jan 9 13:26:53 CST 2009 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
...
* nta.c: do not restart timer E when provisional response is received
According to the (informational) RFC 4321 section 1.2 Timer E is not altered
during the transition to Proceeding.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11808 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:52:40 +00:00
Michael Jerris
cefbcf0a29
Thu Jan 8 15:13:56 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sip: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11806 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:52:15 +00:00
Michael Jerris
d8f68d7a56
Thu Jan 8 15:12:28 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sresolv: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11805 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:51:44 +00:00
Michael Jerris
adeaf3cfff
Thu Jan 8 15:03:28 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nea: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11804 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:51:14 +00:00
Michael Jerris
1ab22fe83c
Thu Jan 8 15:00:46 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* tport: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:50:52 +00:00
Michael Jerris
2fa6c7435d
Thu Jan 8 14:56:49 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* msg: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:50:29 +00:00
Michael Jerris
070546335d
Thu Jan 8 14:55:01 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* bnf: using <sofia-sip/su_string.h>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:49:51 +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
371b3a6fa7
Thu Jan 8 14:47:09 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* utils/sip-dig.c: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:49:01 +00:00
Michael Jerris
deba583e96
Thu Jan 8 14:29:39 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nth: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:48:40 +00:00
Michael Jerris
54ba0c3fa3
Thu Jan 8 13:57:46 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* soa: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:48:09 +00:00
Michael Jerris
3ee0b589cf
Thu Jan 8 13:50:53 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* iptsec: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:47:44 +00:00
Michael Jerris
c749834728
Thu Jan 8 13:00:38 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sdp: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:47:14 +00:00
Michael Jerris
eeff4df08b
Thu Jan 8 12:38:05 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: use <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:46:50 +00:00
Michael Jerris
5628845768
Thu Jan 8 12:14:14 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* http: use <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:46:25 +00:00
Michael Jerris
85cafb105d
Thu Jan 8 12:13:38 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* su: using <sofia-sip/su_string.h>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:45:51 +00:00
Michael Jerris
54c0937433
Thu Jan 8 12:08:14 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* memspn.c, memcspn.c: use functions from <sofia-sip/su_string.h>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:27:51 +00:00
Michael Jerris
aee3e653cc
Thu Jan 8 11:55:52 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/string0.h: use functions from <sofia-sip/su_string.h>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:23:44 +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
0e7377b897
Thu Jan 8 13:04:03 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* auth_client: do not crash with unknown authentication schemes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:18:36 +00:00
Michael Jerris
7e750dcf97
Thu Jan 8 12:04:21 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/su_string.h: added
Adding locale-independent, NULL-safe string comparison,
matching and searching functions:
- su_strcmp()
- su_strncmp()
- su_strcasecmp()
- su_strncasecmp()
- su_strmatch()
- su_strnmatch()
- su_casematch()
- su_casenmatch()
- su_strcasestr()
- su_strnspn()
- su_strncspn()
- su_memspn()
- su_memcspn()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11777 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:16:52 +00:00
Michael Jerris
b3e2fcdbb5
Thu Jan 8 10:34:22 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sip_security.c: allow multiple WWW-Authenticate and Authorization headers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11775 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:15:46 +00:00
Michael Jerris
f92b45a9fa
Mon Jan 5 06:43:24 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* tport_type_tls.c: no tport_tls_deliver() yet
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11774 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:15:05 +00:00
Michael Jerris
1d36053c74
Mon Jan 5 06:43:04 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* tport_tls.c: silences warnings on signedness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11773 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:14:35 +00:00
Michael Jerris
0a07ac4b16
Mon Jan 5 06:42:09 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* tport_tls.c: su_home_new() already zeros the allocated memory
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11772 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:14:05 +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
52fa079b2b
Tue Dec 16 16:19:37 CST 2008 Jarod Neuner <janeuner@networkharbor.com>
...
* Early TLS Handshake and Verification
tport_type_tls.c:
* tport_tls_accept():
- Replaces tport_accept for incoming TLS connections.
* tport_tls_connect():
- Replaces tport_base_connect() for outgoing TLS connections.
tport_tls.c:
* tls_t now use a memory home instead of malloc.
* removed tls_check_hosts()
* tls_connect():
- Replaces tport_base_connect for TLS connection setup.
- Completes TLS handshake and verifies peer certificates.
- Destroys suspect TLS connections before sending/receiving payload.
- Populates a su_strlst_t with subjects from the peer certificate.
tport.c:
* tport_is_verified()
- true if peer certificate validated successfully
* tport_delivered_from_subjects()
- Certificate subjects listed in the peer certificate.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11769 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:11:33 +00:00
Michael Jerris
ece5252042
Tue Dec 16 11:58:26 CST 2008 Jarod Neuner <janeuner@networkharbor.com>
...
* Helper functions for vtp_connect and vtp_wakeup_pri.
- Expose tport_setname() and tport_wakeup() via tport_internal.h
- Add tport_register_secondary() for adding secondaries to a root, and
to alleviate the need to export tprb_append.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11768 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:10:58 +00:00
Michael Jerris
0ac71634bf
Fri Dec 19 08:38:53 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* nta.c: be consistent with maxsize and max_proceeding types
Original patch by Mike Jerris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:04:30 +00:00
Michael Jerris
fd0a6589e0
sofia-sip: fix gcc 4.3 build (FSBUILD-105)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11518 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-27 22:59:00 +00:00
Michael Jerris
d88a0fbefc
mod_sofia: fix build error on gcc 4.3 (FSBUILD-105)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-21 19:28:20 +00:00
Michael Jerris
6408a21cf2
SFSIP-112 sofia does not compile w/ gcc 4.3 x86 w/ -Werror
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-18 23:24:19 +00:00
Michael Jerris
9b2a8aaa0e
.update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10838 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:42:38 +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
d5c9694677
Mon Dec 15 08:31:45 CST 2008 Stas Maximov <smaximov@ieee.org>
...
* nta: NULL host and port in user Via are filled automaticaly
NULL host or port in user-supplied Via header will be filled
automaticaly by NTA, just like branch and rport params.
Added related test case to test_nta_api.c.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10826 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:34:00 +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
253c81bb45
Wed Nov 26 12:42:31 CST 2008 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
...
* tport: new tag TPTAG_TLS_VERIFY_PEER
With this tag, the verification of certificates can be controlled:
0: no verify certificates.
1: on server mode, the certificate returned by client is checked and
if fail the TLS/SSL handshake is immediately terminated.
1: on client mode, the server certificate is verified and
if fail the TLS/SSL handshake is immediately terminated.
I added this tag, because I'd like that my application not connected to a
server with a untrusted certificate.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10824 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:26:19 +00:00
Michael Jerris
3294718a97
Wed Nov 26 12:38:03 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* tport.c: log real transport name by tport_vsend()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:22:09 +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
3f739fad27
Wed Nov 12 12:33:20 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* nta: moved truly internal data type definitions into nta.c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:12:43 +00:00
Michael Jerris
538a0e2db9
Wed Nov 12 11:30:28 CST 2008 Fabio Ferrari <fabioferrari AT gmail DOT com>
...
* nta: new tag NTATAG_TLS_RPORT()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:10:32 +00:00
Michael Jerris
decdc84984
Thu Dec 11 06:02:09 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* sdp_print.c: print sdptl in lowercase, too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10817 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:01:12 +00:00
Michael Jerris
b51f0287d8
Wed Nov 12 12:00:29 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* sdp_parse.c: use lower-case udptl
According to T.38 V3.4 some implementations are case-sensitive when checking
transport protocol name. Thanks to Timo Bruhn for the hint.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:58:49 +00:00
Michael Jerris
38d7209c25
Thu Dec 11 11:32:13 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* su_taglist.c. removed globals which should have been static in first place
- t_null_next(), t_null_move(), t_null_dup(), t_null_copy(), t_null_find()
- t_skip_next(), t_skip_move(), t_skip_len(), t_skip_dup(), t_skip_filter()
- t_next_next(), t_next_move(), t_next_len(), t_next_dup(), t_next_filter()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:55:04 +00:00
Michael Jerris
69faddccba
Mon Dec 8 08:59:04 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* su: removed private functions accidentally declared as globals
su_t64_to_time(), mutex_trylocker(), su_port_set_system_preferences()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:53:46 +00:00
Michael Jerris
6e67acc50b
Thu Dec 11 11:32:49 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* sofia-sip/su_uniqueid.h: proper prototype for su_random()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10813 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:52:05 +00:00
Michael Jerris
8663f5a44c
Thu Dec 11 11:30:29 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* su/addrinfo.c, su/localinfo.c: made usage() static
Make -Wmissing-prototypes happy.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:50:56 +00:00
Michael Jerris
6470214c1f
Fri Nov 28 09:00:01 CST 2008 Tiago Katcipis <katcipis AT inf DOT ufcs DOT br>
...
* tport_tls.c: #include <sofia-sip/*> before <openssl/*>
Avoid lossage in Win32.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:48:45 +00:00
Michael Jerris
fbee0e1340
Fri Nov 28 08:59:31 CST 2008 Tiago Katcipis <katcipis AT inf DOT ufcs DOT br>
...
* tport_type_tls.c: add missing access() for Win32
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:47:41 +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
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
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
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
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
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
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
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
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