Michael Jerris
d1d69ae04f
Hack to actually run the thread cleanup functions when not in forking mode. This needs a better solution to go upstream but is fine for us because we never do forking.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8553 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 21:23:25 +00:00
Michael Jerris
2c96ffc596
update include paths
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 21:18:51 +00:00
Michael Jerris
b981d49ae4
add windows header files
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 21:10:48 +00:00
Michael Jerris
c685d8d5bd
add project files
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8547 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 21:05:13 +00:00
Michael Jerris
00654d880e
merged new xmlrpc-c revision 1472 from https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/trunk
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8545 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 20:56:24 +00:00
Anthony Minessale
8c12407619
add rport hack to sofia lib to ease NAT suffering
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-20 22:27:42 +00:00
Michael Jerris
5e7e1b999d
Mon May 19 11:31:45 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_stack.c: include Allow-Events in requests initiating dialog, too
The Allow-Events header is now alwats included with NOTIFY requests, and
initial INVITE, SUBSCRIBE, REFER, and OPTIONS requests.
Thanks to Jerry Richards for pointing out the problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:56:40 +00:00
Michael Jerris
c3c9a27413
Fri May 16 05:06:09 EDT 2008 Pekka.Pessi@nokia.com
...
* nua_register.c: nr->nr_tport was used even if nr was NULL
Problem detected by Klocwork.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:55:53 +00:00
Michael Jerris
4795234198
Fri May 16 10:44:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_s2.c: cope if test nua uses default port
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:55:15 +00:00
Michael Jerris
614ca565ae
Fri May 16 10:30:29 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_nua_api.c: fixed crash in check_sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:54:45 +00:00
Michael Jerris
5e0750dcd8
Fri May 16 10:29:20 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* test_simple.c: fixed test case for SUBSCRIBE
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:54:14 +00:00
Michael Jerris
305b796078
more conflicts from r8400
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 19:25:34 +00:00
Michael Jerris
dd9f6af78d
complete r8400 commit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 19:10:54 +00:00
Michael Jerris
fdd92d7a31
Tue May 13 16:49:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_tag.c: updated NUTAG_RETRY_COUNT() documentation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:21:13 +00:00
Michael Jerris
f85e63d8eb
Tue May 13 16:47:50 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_stack.h: removed unused typedef ull
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:20:48 +00:00
Michael Jerris
c5e0072ce1
Tue May 13 16:45:09 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* sres.c: allow dns redirection with _sres_default_port
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:20:11 +00:00
Michael Jerris
aaf064377c
Update sofia tests:
...
Tue May 6 13:53:21 EDT 2008 Pekka Pessi <first.last@nokia.com>
* tests: added 2nd check-based test suite for nua
Wed May 7 08:26:48 EDT 2008 Pekka Pessi <first.last@nokia.com>
* suite2_for_nua.c: more test cases
Wed May 7 13:40:05 EDT 2008 Pekka Pessi <first.last@nokia.com>
* suite2_for_nua.c, s2tester.[hc]: made it easier to refactor test cases
Wed May 7 14:34:54 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_nua: moved to tests subdirectory
Wed May 7 14:37:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_nua: moved to libsofia-sip-ua/nua
Mon May 12 19:00:26 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_nua: updated
Tue May 13 16:45:21 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_s2.h, test_s2.c: added internal DNS server
Tue May 13 16:46:08 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_register.c: added test case register_1_3_3_1 using tcp pingpong
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:19:34 +00:00
Michael Jerris
55f505ada4
Tue May 13 15:41:24 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nta.c: fixed outgoing retry timer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8399 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:16:19 +00:00
Stefan Knoblich
8541587db6
Better fix for the tr issue on solaris: force the C locale for the tr call since the issue is cause by the system using utf8 (or any other multibyte locale)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 22:02:50 +00:00
Stefan Knoblich
91d2ca2920
Fix libedit build on solaris (add workaround to libedit/src/makelist to use /usr/xpg4/bin/tr which properly supports [:lower:] [:upper:])
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 21:39:41 +00:00
Michael Jerris
81157864bd
need this file too
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 19:24:53 +00:00
Michael Jerris
58312ce2d1
Mon May 12 18:51:36 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua: using NUTAG_PROXY() as handle-specific tag
Added nua_dialog_update_params() and virtual method usage_update_params()
for each dialog usage.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 19:10:47 +00:00
Michael Jerris
052e33d6d2
Mon May 12 15:20:02 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* msg_header.h: removed c99ism
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8383 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 19:08:22 +00:00
Michael Jerris
329e8d682b
fix for LBCODEC-2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 00:30:09 +00:00
Michael Jerris
e7447a227e
Mon May 12 14:33:37 EDT 2008 Pekka.Pessi@nokia.com
...
* soa_static.c: cope better if m= lines gets removed from user sdp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-12 18:41:55 +00:00
Anthony Minessale
b699b29f8b
SFSIP-61
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8367 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-12 17:37:54 +00:00
Michael Jerris
cc0f50a9b1
fix build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-10 21:10:19 +00:00
Michael Jerris
8eb03e0895
Wed May 7 15:54:41 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* outbound.c: fix sofia-sip.org bug #1930055
If the initial REGISTER was not challenged, the natted contact did not get
unregistered.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:47:20 +00:00
Michael Jerris
439ad8460e
Wed May 7 10:59:52 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* su_log.c: allow multiple calls su_log_soft_set_level() to change logging level
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:46:43 +00:00
Michael Jerris
f4ef1c7847
Wed May 7 10:59:16 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* tport_tls.c: avoid free(NULL)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:45:13 +00:00
Michael Jerris
a4d8241a5d
Wed May 7 10:08:17 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua: improved logging, fixed macro expansion on __LINE__ on most compilers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8335 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:44:46 +00:00
Michael Jerris
68543ddc11
Wed May 7 10:05:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_stack.c: if nua_register() fails to provide To, use From.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:44:02 +00:00
Michael Jerris
3ee862d73f
Wed May 7 10:04:14 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nua_session.c: do not terminate session without soa if SDP O/A seems to fail
SDP O/A may be buried inside MIME multipart
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:43:16 +00:00
Michael Jerris
f39b423778
Wed May 7 09:10:28 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nta.c: do not replace host:port in user-specified Via header
Note that port for UDP is replaced if request is stateful and there is no
rport.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:42:46 +00:00
Michael Jerris
c4a4a1de6e
updated iax build for msvc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8324 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 01:58:44 +00:00
Anthony Minessale
5b77843583
slim down iax build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8321 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-08 23:25:36 +00:00
Anthony Minessale
752b0ff8f6
slim down build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8320 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-08 22:43:34 +00:00
Michael Jerris
d7e5d673d0
remove un-needed stuff from tree.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-08 22:14:31 +00:00
Michael Jerris
ae53be1ca8
bump
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 12:28:48 +00:00
Michael Jerris
f9af6b4d2d
Tue May 6 17:00:19 EDT 2008 first.last@nokia.com
...
* nta.c: use consistently uint32_t when handling millisecond timers inside nta
The timer handling failed miserably on 64-bit platforms each time uint32_t
counter for milliseconds wrapped around.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 12:28:33 +00:00
Michael Jerris
d9f1667944
Thu Apr 24 11:49:57 EDT 2008 first.last@nokia.com
...
* nua_session.c: fix in session activation by Jussi Mutanen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 12:27:30 +00:00
Michael Jerris
c497958ce9
Thu Apr 24 11:31:48 EDT 2008 first.last@nokia.com
...
* nua: fixed problems with event fetch
With event fetch the subscription was terminated before the NOTIFY was
sent/received or final response to SUBSCRIBE was sent.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 12:26:42 +00:00
Michael Jerris
fb34d3835c
Tue May 6 17:00:59 EDT 2008 first.last@nokia.com
...
* nta.c: reindented patch by Mike J
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 12:25:42 +00:00
Michael Jerris
e917d5f460
remove sub_hash in favor of using a lookup directly into the sip stack
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-06 23:49:35 +00:00
Michael Jerris
7f5e6987e6
add nua_handle_by_call_id
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-06 23:30:00 +00:00
Michael Jerris
b48ee12c1c
add nua_handle_by_call_id
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-06 22:28:20 +00:00
Michael Jerris
9e5e1e7c9a
tweak to silence warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-24 13:52:19 +00:00
Michael Jerris
267aeb5f84
Wed Apr 23 14:30:07 EDT 2008 first.last@nokia.com
...
* nua_notifier.c: fixed crash with event fetch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 18:38:25 +00:00
Michael Jerris
6b46b8e0b6
Fri Apr 18 06:55:45 EDT 2008 Pekka.Pessi@nokia.com
...
* torture_sip.c: added test for sip_header_as_string() producing string longer than 128
Fri Apr 18 06:55:45 EDT 2008 Pekka.Pessi@nokia.com
UNDO: torture_sip.c: added test for sip_header_as_string() producing string longer than 128
Wed Apr 23 13:56:40 EDT 2008 Pekka.Pessi@nokia.com
* torture_sip.c: added test for sip_header_as_string() producing string longer than 128
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 18:37:18 +00:00
Michael Jerris
ae4b779567
revert previous patch
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 18:36:25 +00:00