Commit Graph

1015 Commits

Author SHA1 Message Date
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
Michael Jerris 7ae460ea23 try to silence stupid compiler
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 16:49:34 +00:00
Michael Jerris 1b5a7779ec interim fix for SFSIP-55, don't segfault on subscribe with Expires: 0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-22 21:26:50 +00:00
Michael Jerris 9c99bf982f windows build tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8170 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-22 15:03:29 +00:00
Michael Jerris 415d1c58d4 Fri Apr 18 06:54:40 EDT 2008 Jerry Richards <jerryr at tonecommander dot com>
* sip_util.c: fixed sip_header_as_string()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8149 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-21 22:30:48 +00:00
Anthony Minessale 8619341669 tweak for proper bootstrap after removing generated file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8096 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-12 05:57:04 +00:00
Anthony Minessale 52af768374 remove generated file. will require re-bootstrap/configure, sorry
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-12 05:34:07 +00:00
Anthony Minessale e229a6a670 remove generated file. will require re-bootstrap/configure, sorry
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8094 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-12 05:13:58 +00:00
Michael Jerris e55ac3efaf be more C compliant.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-08 13:18:22 +00:00
Michael Jerris aca515cb8e Mon Apr 7 13:20:55 EDT 2008 Pekka.Pessi@nokia.com
* nua_session.c: fixed call state reporting from failed INVITE
  
  If INVITE was returned a failure response, and session was being terminated
  (like BYE was sent while INVITE transaction was on-going), Sofia reported
  session as already terminated.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8052 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-07 19:44:39 +00:00
Michael Jerris 5f917507db bump
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8048 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-07 17:06:56 +00:00
Michael Jerris a4d7c3d5c5 Mon Apr 7 13:01:00 EDT 2008 Pekka.Pessi@nokia.com
* nua_session.c: if timer is Require'd default to local refresher if Session-Expires has no refresher parameter



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8046 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-07 17:05:41 +00:00
Michael Jerris 4c9b1270ca Fri Apr 4 11:15:04 EDT 2008 Pekka.Pessi@nokia.com
* tport_type_udp.c: use IP_MTU_DISCOVER socket option to turn off DF flag
  
  Added check for IP_MTU_DISCOVER in m4/sac-su2.m4



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 17:39:38 +00:00
Michael Jerris 41fcf45a8f Fri Apr 4 11:14:04 EDT 2008 Pekka.Pessi@nokia.com
* su_addrinfo.c: avoid crash in su_freeaddrinfo() if ai is NULL



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8021 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 17:39:18 +00:00
Michael Jerris e9e9acd16c Thu Apr 3 11:09:19 EDT 2008 Pekka.Pessi@nokia.com
* soa_static.c: when generating offer with ordered mode, fill gaps in session
  
  If session has m= lines that user SDP does not, the ordered mode got
  confused when generating 2nd offer (e.g., for re-INVITE).



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 22:33:40 +00:00
Michael Jerris ad8ed1be64 Tue Apr 1 06:49:10 EDT 2008 Pekka.Pessi@nokia.com
* nua_stack.c: include Allow-Events in most messages initiating dialog
  
  The Allow-Events header is now included with NOTIFY, PUBLISH, REGISTER, and
  initial INVITE, SUBSCRIBE, REFER, and OPTIONS, and also responses to
  SUBSCRIBE, REFER, OPTIONS, and PUBLISH as well as responses to initial
  INVITE and NOTIFY.
  
  Thanks to Jerry Richards for pointing out the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 22:33:12 +00:00
Michael Jerris 7dad32f5ae Wed Mar 26 07:20:16 EDT 2008 Pekka.Pessi@nokia.com
* torture_sip.c: updated tests (quoting semicolon in query/header part)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8016 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 22:32:46 +00:00
Michael Jerris f64797998d Wed Mar 26 07:18:34 EDT 2008 Bernhard Suttner
* sip_tag_class.c: escape semicolons in headers section of Replaces URI



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8015 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 22:31:57 +00:00
Michael Jerris f39d931259 don't assert that people are using sip correctly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7954 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-24 20:02:01 +00:00
Anthony Minessale aa0bea3d5c deal with MODENDP-99
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7934 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-19 17:56:27 +00:00
Michael Jerris fa50712266 Tue Mar 18 16:16:49 EDT 2008 Pekka.Pessi@nokia.com
* nta: fixed checks for rfc2543 retransmssions/CANCEL/ACK

  Thanks to Michael Jerris for reporting this problem.

fix for SFSIP-49



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-18 20:24:22 +00:00
Michael Jerris 6ffbad9541 revert part of the reverting from the reverted revert. (see r7833, the fun continues)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7839 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-08 00:12:57 +00:00
Michael Jerris 87223a5c1e revert for now the following patch which introduces a segfault:
Tue Feb 26 11:09:37 EST 2008  Pekka.Pessi@nokia.com
* nua: initial fix for sf.net bug #1827511

BYE can now be challenged.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 19:20:27 +00:00
Michael Jerris 875c0851d0 Fri Mar 7 12:31:52 EST 2008 Pekka.Pessi@nokia.com
* sres_blocking.c: validating calloc() return value



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7828 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:52:20 +00:00
Michael Jerris 2abc13f368 Fri Mar 7 12:24:05 EST 2008 Pekka.Pessi@nokia.com
* su_alloc.c: using safe free



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:50:32 +00:00
Michael Jerris aeb1829220 Fri Mar 7 11:49:17 EST 2008 Pekka.Pessi@nokia.com
* tests/Makefile: using testsdir, installing check_sofia there



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7826 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:47:44 +00:00
Michael Jerris c2380dd2cc Fri Mar 7 11:47:53 EST 2008 Pekka.Pessi@nokia.com
* test_nua.mmp: not using IN_LIBSOFIA_SIP_UA and IN_LIBSOFIA_SRES with test program
  
  (test program links with dll, not contributes to it)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7825 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:47:04 +00:00
Michael Jerris 222fcbddb7 Fri Mar 7 11:47:06 EST 2008 Pekka.Pessi@nokia.com
* tport: allow using TPTAG_LOG() and TPTAG_DUMP() with tport_set_params().



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7824 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:46:28 +00:00
Michael Jerris 1073925bb4 Fri Mar 7 11:46:34 EST 2008 Pekka.Pessi@nokia.com
* su_root.c: su_task_execute() now accepts NULL as return_value pointer



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:45:14 +00:00
Michael Jerris 35a43bcf56 Fri Mar 7 11:46:08 EST 2008 Pekka.Pessi@nokia.com
* sip_util.c: fixed doxygen docs



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7822 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:44:42 +00:00
Michael Jerris f05fe867ab Fri Mar 7 11:45:51 EST 2008 Pekka.Pessi@nokia.com
* test_call_hold.c: added more cases for hairy call termination.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7821 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:44:21 +00:00
Michael Jerris bfb245298e Fri Mar 7 11:45:24 EST 2008 Pekka.Pessi@nokia.com
* test_basic_call.c: added test cases for error response terminating the session/dialog



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:43:57 +00:00
Michael Jerris b5f46db40b * test_proxy: trying to support 200 OK retransmissions over TCP better
Keeping INVITE transactions alive for 64*T1 after initial 200 OK.
  
  Added test_proxy_set_logging() for easier debugging.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7819 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:43:21 +00:00
Michael Jerris 8ee7579dda Fri Mar 7 11:42:18 EST 2008 Pekka.Pessi@nokia.com
* auth_module.c: calculating proper size for user data hash table.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:42:43 +00:00
Michael Jerris f3a77abce4 Fri Mar 7 11:34:33 EST 2008 Pekka.Pessi@nokia.com
* nta: added nta_outgoing_bind()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7817 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:42:16 +00:00
Michael Jerris bbb36378b2 * nua: passing the culprit to the dialog usage removal functions
If a session was terminated because of a error response returned to a
  request (as specified by RFC 5157), the nua_i_state event was not sent.
  
  Even with this fix, if a dialog has multiple usages, the event usages can be
  terminated without any indication to the application.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:41:29 +00:00
Michael Jerris f35f29b1c1 Fri Mar 7 06:14:32 EST 2008 Pekka.Pessi@nokia.com
* heap.h, htable2.h: fixed doxygen documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:40:03 +00:00
Michael Jerris 2cfb72ac79 Thu Mar 6 12:48:33 EST 2008 Pekka.Pessi@nokia.com
* nua_subnotref.c: not increasing the subscription expiration time by NOTIFY



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:39:27 +00:00
Michael Jerris 2b65396d6b Thu Mar 6 12:47:10 EST 2008 Pekka.Pessi@nokia.com
* nua_dialog.[hc]: storing the last time refresh was requested in du_refquested



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7813 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:38:47 +00:00
Michael Jerris a7be7d7156 Thu Mar 6 12:43:23 EST 2008 Pekka.Pessi@nokia.com
* rules.am, sofia.am various Makefile.ams: added checklib target
  
  make all now builds only the library, not the (nua) test libraries.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:38:16 +00:00
Michael Jerris 67e1d2c45a Mon Mar 3 12:17:50 EST 2008 Pekka.Pessi@nokia.com
* tport_type_tls.c: not trying to use non-existing certificate/key, randfile, CAfile



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:37:43 +00:00
Michael Jerris 97a41cbde8 Mon Mar 3 11:23:17 EST 2008 Pekka.Pessi@nokia.com
* test_simple.c: fixed race condition in test_simple.c



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:37:15 +00:00
Michael Jerris 96b5099a80 undo svn r 7762
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7809 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:34:46 +00:00
Michael Jerris 7d8bd7ba89 tweak sdp handling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-05 22:39:22 +00:00
Michael Jerris dfb6ccc208 Wed Mar 5 05:54:15 EST 2008 Pekka.Pessi@nokia.com
* soa_static.c: fixed initial SOATAG_ORDERED_USER(1)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-05 21:12:12 +00:00
Michael Jerris 3d1c17bc00 break rfc3264 rejected m line support so t.38 works (will need to work this into an option)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7769 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-02 04:13:51 +00:00
Michael Jerris ca63c019a3 rollback
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7762 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-27 22:12:16 +00:00
Michael Jerris bf964b2ee8 undo my oops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7761 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-27 22:11:44 +00:00
Michael Jerris 4c8fdb86de can't pull patches one at a time because they don't compile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7760 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-27 21:58:17 +00:00
Michael Jerris afc156463d Wed Feb 6 12:05:46 EST 2008 Pekka.Pessi@nokia.com
* nua: using global preferences. Added NUTAG_SHUTDOWN_EVENTS().

Mon Feb 25 14:14:15 EST 2008  Pekka.Pessi@nokia.com
  * nua: added NUTAG_SUB_EXPIRES()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-27 21:57:19 +00:00
Michael Jerris 722b30237f Merge back a couple patches (curse you darcs)
Wed Feb 13 09:23:24 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nua_subnotref.c: do not terminate subscriptions immediately after receiving 200 OK to un-SUBSCRIBE

Mon Feb 25 09:49:39 EST 2008  Pekka.Pessi@nokia.com
  * nua_subnotref.c: fixed problems re-calculating the subscription duration upon NOTIFY
  
  Thanks for Colin Whittaker for reporting this problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7758 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-27 21:55:20 +00:00
Michael Jerris 7dc80a7d57 revert some patches:
Tue Feb 26 13:02:06 EST 2008  Pekka.Pessi@nokia.com
  * nua_session.c: determine INVITE overlap with re-INVITEs, too

Tue Feb 26 12:45:52 EST 2008  Pekka.Pessi@nokia.com
  * test_nua.c: fixed tests

Tue Feb 26 11:40:00 EST 2008  Pekka.Pessi@nokia.com
  * nua_session.c: fixed non-compiling fix on session state check

Mon Feb 25 14:14:15 EST 2008  Pekka.Pessi@nokia.com
  * nua: added NUTAG_SUB_EXPIRES()

Wed Feb  6 12:05:46 EST 2008  Pekka.Pessi@nokia.com
  * nua: using global preferences. Added NUTAG_SHUTDOWN_EVENTS().

Wed Feb  6 12:05:13 EST 2008  Pekka.Pessi@nokia.com
  * nua_stack.c: pass events while in shutdown if NUTAG_SHUTDOWN_EVENTS(1) has been set

Mon Feb 25 09:49:39 EST 2008  Pekka.Pessi@nokia.com
  * nua_subnotref.c: fixed problems re-calculating the subscription duration upon NOTIFY
  
  Thanks for Colin Whittaker for reporting this problem.

Wed Feb 13 09:23:24 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nua_subnotref.c: do not terminate subscriptions immediately after receiving 200 OK to un-SUBSCRIBE



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7757 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-27 21:50:32 +00:00
Michael Jerris 1bf92980a7 Tue Feb 26 12:45:52 EST 2008 Pekka.Pessi@nokia.com
* test_nua.c: fixed tests



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-26 18:08:51 +00:00
Michael Jerris 3ee1e1bc8f Darcs sync
Tue Feb 26 13:02:06 EST 2008  Pekka.Pessi@nokia.com
  * nua_session.c: determine INVITE overlap with re-INVITEs, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7743 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-26 18:05:58 +00:00
Brian West 8d4f23c7bc revert my hack now that it appears fixed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-26 17:37:32 +00:00
Brian West 12e6347fd1 disable broken test for now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-26 17:37:01 +00:00
Michael Jerris 6307891557 merge to sofia darcs:
Mon Feb 25 09:49:39 EST 2008  Pekka.Pessi@nokia.com
  * nua_subnotref.c: fixed problems re-calculating the subscription duration upon NOTIFY
  
  Thanks for Colin Whittaker for reporting this problem.

Wed Feb  6 12:05:13 EST 2008  Pekka.Pessi@nokia.com
  * nua_stack.c: pass events while in shutdown if NUTAG_SHUTDOWN_EVENTS(1) has been set

Wed Feb  6 12:05:46 EST 2008  Pekka.Pessi@nokia.com
  * nua: using global preferences. Added NUTAG_SHUTDOWN_EVENTS().

Mon Feb 25 12:10:31 EST 2008  Pekka.Pessi@nokia.com
  * nua: renamed crm_deinit as crm_complete, commented nua_client_methods_t initializers

Mon Feb 25 14:14:15 EST 2008  Pekka.Pessi@nokia.com
  * nua: added NUTAG_SUB_EXPIRES()

Tue Feb 26 11:09:37 EST 2008  Pekka.Pessi@nokia.com
  * nua: initial fix for sf.net bug #1827511
  
  BYE can now be challenged.

Tue Feb 26 11:19:40 EST 2008  Pekka.Pessi@nokia.com
  * nua_session.c: ensure correct call state
  
  Avoid assert() on bad input from network - crash reported by Michael Jerris.
  
  Also if calls are being terminated, reject new INVITE/UPDATE/PRACK requests
  with 481.

Tue Feb 26 11:33:19 EST 2008  Pekka.Pessi@nokia.com
  * sdp_print.c: pt 9 is, like, g722. 19 is used by nobody, so it can be used as filler?

Tue Feb 26 11:40:00 EST 2008  Pekka.Pessi@nokia.com
  * nua_session.c: fixed non-compiling fix on session state check



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-26 17:00:03 +00:00
Michael Jerris 6c20f553d2 openbsd tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7729 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-23 00:26:21 +00:00
Michael Jerris ea1cc04d00 more freebsd vs weakalias fun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7725 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-22 22:27:27 +00:00
Michael Jerris 473ab3c7c8 work around bugs in merging remote sdp, we already handle this in our code anyways. We need to add a tag for this.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-21 04:27:04 +00:00
Michal Bielicki fb4dceeed0 got rid of dos fileendings suddenly appearing in this file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7697 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-19 08:53:29 +00:00
Michael Jerris d5aaa00001 switch to use mod_voipcodecs and pull old mod_g722, mod_g726, mod_gsm (mod_g711 should not be used now unless your not using mod_voipcodecs)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-18 16:10:34 +00:00
Michal Bielicki b552cb3a6c Make libdir and bindir being accepted by libs and modules
add a setting called --modinstdir to be able to define where modules get installed


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-18 14:58:41 +00:00
Michael Jerris 32e267ee53 hints for the code analysis.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-17 05:57:07 +00:00
Michael Jerris bd458e9913 hints for the code analysis.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-17 05:38:28 +00:00
Michael Jerris 2f8db0d750 hints for the code analysis.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-17 05:27:14 +00:00
Michael Jerris f1de784d11 add assert macro to silence msvc code analysis.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-17 05:11:21 +00:00
Michael Jerris e4cefcd14d casts to shut up msvc warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-17 05:00:41 +00:00
Michael Jerris d2ef447ed1 add mod_voipcodecs to msvc build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7649 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-17 04:46:07 +00:00
Michael Jerris f1d178f0f6 cast to uint8_t
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7648 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-17 03:39:25 +00:00
Michael Jerris fd01583784 msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-17 03:30:42 +00:00
Michael Jerris bdf7a68612 can't assert people behaving nicely.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7620 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-15 16:23:03 +00:00
Michael Jerris d6111c77a1 sync with darcs:
Fri Feb  1 09:41:42 EST 2008  Pekka.Pessi@nokia.com
  * tport_tls.c: restructured error logging code.

Fri Feb  1 10:10:25 EST 2008  Pekka.Pessi@nokia.com
  * tport_tls.c: cleared confused logging levels

Fri Feb  1 10:13:09 EST 2008  Pekka.Pessi@nokia.com
  * test_tport.c: fixed type-punning warning.

Tue Feb 12 14:26:26 EST 2008  Pekka.Pessi@nokia.com
  * tport.c: tport_name_dup() now validates the input

Wed Feb 13 09:23:24 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nua_subnotref.c: do not terminate subscriptions immediately after receiving 200 OK to un-SUBSCRIBE



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7617 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-15 15:58:10 +00:00
Michael Jerris 20ab270879 code analysis and fixes for teletone.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7614 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-14 18:13:50 +00:00
Brian West 55d749ff23 update voipcodecs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-13 00:44:51 +00:00
Stefan Knoblich df16edead2 Resurrect the lost FreeBSD __weak_references fix from the previous libedit version.
-This line, and those below, will be ignored--

M    vi.c


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-11 19:11:24 +00:00
Michal Bielicki 145ccc38fe suncc options
have to check if I can find some more specific mmx annd sse stuff than just native plus fast optimisation


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7578 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-10 12:50:56 +00:00
Brian West 0652b56fe1 bring this in sync with latest voipcodec release... need to update mod_voipcodecs.c to new lpc10 changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7572 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-09 22:36:00 +00:00
Brian West e2b87c93aa fix ima_adpcm fixes I fixed up before.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7571 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-09 19:05:42 +00:00
Brian West c65319c4b3 update adpcm interops with eyebeam 8k and 16k ADPCM
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7570 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-09 17:43:42 +00:00
Michael Jerris b2b278ce94 closer to building on windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7566 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-09 04:24:46 +00:00
Brian West 2d29656bf2 Adding mod_voipcodecs using Steve Underwoods voipcodecs library. This isn't default yet.
/b



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7555 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-08 17:13:54 +00:00
Michael Jerris d92f065768 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7552 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-08 00:52:12 +00:00
Michael Jerris 84dfb3dbcc whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-08 00:31:42 +00:00
Michael Jerris 462eb23e45 remove generated file, you will need to re-bootstrap. sorry :(
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-07 23:56:22 +00:00
Michael Jerris ad55545669 voipcodecs configure tweaks, add to build system
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-07 23:55:24 +00:00
Michael Jerris 0f27549c48 inital checkin of voipcodecs library version 0.0.1 from http://www.soft-switch.org/downloads/voipcodecs/ thank you Steve
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7544 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-07 22:00:10 +00:00
Michal Bielicki 7bb86c6a18 thought I had all those delted ...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7504 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-04 00:39:14 +00:00
Michal Bielicki a9c4995dae new libedit works fine on linux, solaris and macosx so lets use it :)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-04 00:31:19 +00:00
Michal Bielicki 16d6e9901c And here the replacement libedit. Fixes some problems on solaris and hopefully on OpenBSD as well :)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7502 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 23:43:05 +00:00
Michal Bielicki 8cc4b29d20 replacing libedit
leaving libedit.old in just in case for a day ...


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7501 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:56:23 +00:00
Brian West cd35407df5 remove old g726 we no longer use
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7453 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-01 06:25:48 +00:00
Michael Jerris 20f4d12c8b fix solaris build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-31 17:21:15 +00:00
Michael Jerris 03c710b660 a bit safer free.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7442 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-31 02:07:05 +00:00
Michael Jerris 00fade3d98 poke
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7431 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-29 21:16:13 +00:00
Michael Jerris b2af068acf whoops from merge conflict
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-29 21:15:25 +00:00
Michael Jerris a8784bbba6 typo from merge conflict
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-29 17:15:33 +00:00
Michael Jerris 7aafc21f14 merge to sofia trunk (backport fixes from freeswitch and some new api's)
Thu Jan 24 03:26:58 EST 2008  Pekka.Pessi@nokia.com
  * nta.c, sofia-sip.nta.h: added nta_leg_get_seq(), nta_leg_get_rseq()

Mon Jan 28 09:27:03 EST 2008  Pekka.Pessi@nokia.com
  * su_alloc.c: su_free() handles NULL gracefully

  Patch by Michael Jerris.

Mon Jan 28 09:30:48 EST 2008  Pekka.Pessi@nokia.com
  * su_root.c: try not to segfault in su_msg_destroy()

  Reduced window for race condition in su_msg_destroy().

  Patch by Michael Jerris.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-29 16:03:01 +00:00
Michael Jerris afce1e1952 whitespace cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 01:11:26 +00:00
Michael Jerris aa1b4bb463 sync to darcs tree
Thu Jan 17 07:57:29 EST 2008  Pekka.Pessi@nokia.com
  * configure.ac: prerelease version

Wed Jan 23 13:22:39 EST 2008  Pekka.Pessi@nokia.com
  * test_nta.c: fixed memset() usage. MSG_TRUNC.

Wed Jan 23 13:25:42 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * RELEASE, configure.ac: release 1.12.8

Wed Jan 23 13:25:46 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  tagged rel-sofia-sip_1_12_8

Wed Jan 23 13:25:52 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  tagged 1.12.8

Wed Jan 23 14:25:07 EST 2008  Pekka.Pessi@nokia.com
  * RELEASE, configure.ac: 1.12.8devel

Fri Jan 25 04:31:39 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: fixed graylisting if used with IPv4/IPv6 only



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7372 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-26 19:57:55 +00:00
Anthony Minessale 8b2039117b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-26 19:48:51 +00:00
Michael Jerris 5e85c15cd7 Update back to sofia tree now that we have identified the cause of the segfaults:
Fri Jan 11 09:12:01 EST 2008  Bernhard Suttner <suttner at comdasys.com>
  * Using # in SOATAG_HOLD to set media as inactive instead of sendonly

Fri Jan 11 09:15:18 EST 2008  Pekka.Pessi@nokia.com
  * soa_tag.c: documented SOATAG_HOLD() inactive mode

Fri Jan 11 09:28:46 EST 2008  Pekka.Pessi@nokia.com
  * su_addrinfo.c: if su_getaddrinfo() service is NULL, try both with "0" and NULL

Fri Jan 11 12:11:12 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: NetModule hack re-prioritizing SRV records
  
  Original hack by Stefan Leuenberger <Stefan.Leuenberger@netmodule.com>.
  
  The hack reprioritizes the SRV records used with transaction in case a
  server refuses connection or it does not answer.

Thu Jan 17 11:40:46 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * soa_static.c: cleaned inactive hold, added tests

Mon Jan 21 14:06:35 EST 2008  Pekka.Pessi@nokia.com
  * soa.c: using session state in soa_set_activity()
  
  The media mode bits are set using (local) session description instead of
  remote offer/answer when O/A has been completed.

Mon Jan 21 14:08:08 EST 2008  Pekka.Pessi@nokia.com
  * soa_static.c: soa_sdp_mode_set() now includes wanted media state in offer
  
  The wanted media state is based on original user SDP and SOATAG_HOLD()
  content. Removed soa_sdp_mode_set_is_needed(), using dry-run parameter
  instead.
  
Tue Jan 22 11:15:04 EST 2008  Pekka.Pessi@nokia.com
  * sip_util.c: updated sip_response_terminates_dialog() as per RFC 5057.
  
  Changes handling of 423 in case of SUBSCRIBE.

Tue Jan 22 11:35:44 EST 2008  Pekka.Pessi@nokia.com
  * test_soa.c: testing hold with inactive, offered mode and setting remote activity flags while in hold

Tue Jan 22 13:57:38 EST 2008  Pekka.Pessi@nokia.com
  * sres: added ttl parameter to sres_set_cached_srv_priority() and sres_cache_set_srv_priority().

Tue Jan 22 13:59:44 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: added NTATAG_GRAYLIST(). 
  
  Use NTATAG_GRAYLIST() as ttl value for sres_set_cached_srv_priority().

Wed Jan 23 10:07:30 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * soa_static.c: fixed signedness error

Wed Jan 23 11:05:23 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: ignore tags in nta_leg_by_dialog() if they are empty strings

Wed Jan 23 11:05:58 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: asserting in proper place when handling queue tail




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7368 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-26 19:48:14 +00:00
Michael Jerris 2a4a8e765c try to not segfault
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7364 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-26 01:41:02 +00:00
Michael Jerris d3e6109b34 Wed Jan 23 10:07:30 EST 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
* soa_static.c: fixed signedness error
Shall I unpull this patch? (8/128)  [ynWvpxqadjk], or ? for help: y

Tue Jan 22 11:35:44 EST 2008  Pekka.Pessi@nokia.com
  * test_soa.c: testing hold with inactive, offered mode and setting remote activity flags while in hold
Shall I unpull this patch? (15/128)  [ynWvpxqadjk], or ? for help: y

Mon Jan 21 14:08:08 EST 2008  Pekka.Pessi@nokia.com
  * soa_static.c: soa_sdp_mode_set() now includes wanted media state in offer

  The wanted media state is based on original user SDP and SOATAG_HOLD()
  content. Removed soa_sdp_mode_set_is_needed(), using dry-run parameter
  instead.

Shall I unpull this patch? (20/128)  [ynWvpxqadjk], or ? for help: y

Thu Jan 17 11:40:46 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * soa_static.c: cleaned inactive hold, added tests
Shall I unpull this patch? (31/128)  [ynWvpxqadjk], or ? for help: y

Fri Jan 11 09:15:18 EST 2008  Pekka.Pessi@nokia.com
  * soa_tag.c: documented SOATAG_HOLD() inactive mode
Shall I unpull this patch? (46/128)  [ynWvpxqadjk], or ? for help: y

Fri Jan 11 09:12:01 EST 2008  Bernhard Suttner <suttner at comdasys.com>
  * Using # in SOATAG_HOLD to set media as inactive instead of sendonly
Shall I unpull this patch? (47/128)  [ynWvpxqadjk], or ? for help: y

revert a few more patches from sofia-sip darcs





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7361 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-25 19:57:46 +00:00
Michael Jerris c1d6ae81e7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7355 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-25 17:44:37 +00:00
Michael Jerris 1103bf8b19 unpull a number of patches from the previous darcs merge to try to eliminate some causes of new segfaults in sofia-sip
Wed Jan 23 11:05:58 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: asserting in proper place when handling queue tail
Shall I unpull this patch? (4/553)  [ynWvpxqadjk], or ? for help: y

Wed Jan 23 11:05:23 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: ignore tags in nta_leg_by_dialog() if they are empty strings
Shall I unpull this patch? (5/553)  [ynWvpxqadjk], or ? for help: y

Tue Jan 22 13:59:44 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: added NTATAG_GRAYLIST().

  Use NTATAG_GRAYLIST() as ttl value for sres_set_cached_srv_priority().
Shall I unpull this patch? (14/553)  [ynWvpxqadjk], or ? for help: y

Tue Jan 22 13:57:38 EST 2008  Pekka.Pessi@nokia.com
  * sres: added ttl parameter to sres_set_cached_srv_priority() and sres_cache_set_srv_priority().
Shall I unpull this patch? (15/553)  [ynWvpxqadjk], or ? for help: y

Tue Jan 22 11:15:04 EST 2008  Pekka.Pessi@nokia.com
  * sip_util.c: updated sip_response_terminates_dialog() as per RFC 5057.

  Changes handling of 423 in case of SUBSCRIBE.
Shall I unpull this patch? (22/553)  [ynWvpxqadjk], or ? for help: y

Mon Jan 21 14:06:35 EST 2008  Pekka.Pessi@nokia.com
  * soa.c: using session state in soa_set_activity()

  The media mode bits are set using (local) session description instead of
  remote offer/answer when O/A has been completed.
Shall I unpull this patch? (26/553)  [ynWvpxqadjk], or ? for help: y

Fri Jan 11 12:11:12 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: NetModule hack re-prioritizing SRV records
  
  Original hack by Stefan Leuenberger <Stefan.Leuenberger@netmodule.com>.
  
  The hack reprioritizes the SRV records used with transaction in case a
  server refuses connection or it does not answer.
Shall I unpull this patch? (51/553)  [ynWvpxqadjk], or ? for help: y

Fri Jan 11 09:28:46 EST 2008  Pekka.Pessi@nokia.com
  * su_addrinfo.c: if su_getaddrinfo() service is NULL, try both with "0" and NULL
Shall I unpull this patch? (53/553)  [ynWvpxqadjk], or ? for help: y




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-25 17:42:24 +00:00
Michael Jerris db3d1e1358 remove the build stubs for the exe's and the ogg dependency as we don't use them
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-25 15:17:48 +00:00
Michael Jerris fa67af4516 remove the build stubs for the exe's and the ogg dependency as we don't use them
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-25 15:14:10 +00:00