Commit Graph

706 Commits

Author SHA1 Message Date
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
Mathieu Rene b342ff1b2a Revert 12400
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 14:21: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 24c198c098 fix merge conflict
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:41:06 +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 024c64420f sync to darcs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12313 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 19:29:50 +00:00
Michael Jerris b161d3f93d sync file to darcs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12312 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 19:21:46 +00:00
Michael Jerris 12c4ce0e17 resync file to darcs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:47:54 +00:00
Michael Jerris f4cb78ce18 resync file to darcs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:44:49 +00:00
Michael Jerris 6f5b4b5a36 Thu Feb 26 11:05:33 CST 2009 Pekka Pessi <first.last@nokia.com>
* open_c: added sres_sip.[hc]
  Ignore-this: 61c5ac3ce4149b23ff98faedb412cec7



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:43:04 +00:00
Michael Jerris 4e9ad5adfd Thu Feb 26 11:04:18 CST 2009 Pekka Pessi <first.last@nokia.com>
* win32: added sres_sip.[hc]


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:42:31 +00:00
Michael Jerris 209da8b0fd Thu Feb 26 09:47:46 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_sres_sip.c: more test cases for naptr



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:41:11 +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 20805de446 Thu Feb 26 09:12:40 CST 2009 Michael Jerris <mike@jerris.com>
* sresolv/Makefile.am: don't override CFLAGS



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:25:27 +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 6a2c3128b5 revert svn revision 12104
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 20:59:50 +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 bbdf4744aa inital work on x64 windows build (FSBUILD-125)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 00:56:56 +00:00
Michael Jerris 6baed5ce73 fix build error caused by sofia-sip stunc (FSBUILD-123)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 17:55:21 +00:00
Anthony Minessale a3ae344f3d FSCORE-301
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 17:04:45 +00:00
Michael Jerris 2980d25a14 fix sofia initstate correctly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 23:47:32 +00:00
Michael Jerris 17f9ced469 fix sofia silent build on solaris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12067 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 19:57:47 +00:00
Brian West 3a5c651b5d try to fix SOFIA_SILENT build on solaris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 17:39:58 +00:00
Michael Jerris b4f6039607 don't override CFLAGS
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12024 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-15 03:29:09 +00:00
Mathieu Rene 60671872ef Fix sofia build on non-ipv6 hosts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 23:18:53 +00:00
Michael Jerris 0919f6c9cb only declare var if we need it (SFSIP-122)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 22:56:27 +00:00
Michael Jerris 4cc9d65240 turn off sego-initstate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12007 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 00:09:49 +00:00
Michael Jerris 314da792ca safety first
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12005 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:45:25 +00:00
Michael Jerris f61f23d093 slim down sofia build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11996 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 21:04:29 +00:00
Michael Jerris cf078237ea uninitialized variable fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 20:31:21 +00:00
Michael Jerris ed23436a8e add missing files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:58:06 +00:00
Michael Jerris 1f8d6f0e68 Thu Feb 12 15:35:06 CST 2009 Pekka Pessi <first.last@nokia.com>
* sofia-sip/su_addrinfo.h: #include <netdb.h> only if bsdsock



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11965 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:37:20 +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 2f0b4f5f84 Thu Feb 12 15:08:05 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua.c: allow setting test case names from command line. usage.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:27:58 +00:00
Michael Jerris 247dda9d4f Thu Feb 12 15:07:13 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_simple.c: adedd notifier test cases


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11960 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:27:30 +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 0f8297a965 Wed Feb 11 15:10:34 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: fixed nta_agent_add_tport() documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11947 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:12:25 +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 a2852700c5 Tue Feb 10 08:37:23 CST 2009 Pekka Pessi <first.last@nokia.com>
* configure.ac: define HAVE_CHECK in "config.h"



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11938 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:04:46 +00:00
Michael Jerris f4ab414190 Tue Feb 10 08:11:37 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: use s2dns



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11937 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:04:13 +00:00
Michael Jerris ea9eaeaf44 Tue Feb 10 08:10:41 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: run all the test cases with and without stack thread
  Ignore-this: e1966c560fb8e32d5a2d292e5e8dbdc0
  
  Better detect race conditions.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:03:16 +00:00
Michael Jerris b5c88496bf Tue Feb 10 07:36:35 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: use tcase_add_test() and s2_select_tests() from <s2check.h>


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11935 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:01:58 +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 1fb0e173ff fix error when building in not-silent mode
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11930 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 19:52:42 +00:00
Anthony Minessale 596f9afded temp hack to avoid horrible random bug, as in the function random
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 23:39:30 +00:00
Raymond Chandler 8984a298a9 patch from FSBUILD-118
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11888 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 20:19:56 +00:00
Michael Jerris 33e58774bc fix build error on bsd
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11886 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 18:58:24 +00:00
Michael Jerris f0b3a9a427 silence warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 18:17:54 +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 0c141d9b81 Tue Feb 10 07:17:20 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: moved s2_fast_forward() to s2 library



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11879 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:41:05 +00:00
Michael Jerris 8d3480b06a Tue Feb 10 07:19:33 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check: added s2_dns



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11878 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:40:21 +00:00
Michael Jerris fa58d2100b Tue Feb 10 07:18:55 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check: added s2util.h, s2_fast_forward()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:39:55 +00:00
Michael Jerris 441f043162 Tue Feb 10 07:18:22 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check: fixed s2_tcase_add_test()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11876 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:39:29 +00:00
Michael Jerris 7441387d86 Tue Feb 10 07:11:52 CST 2009 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
* nua/check_etsi: added test case SIP_CC_OE_CE_TI_011_012
  Ignore-this: 245e07ad07c4e3d5e09ab93014594e43
  
  Ensure that the IUT, when an INVITE client transaction has been in the
  Terminated state, on receipt of a retransmitted Success (200 OK) responses
  sends an ACK request until 64*T1 duration expires, after this, on receipt of
  a retransmitted Success (200 OK) responses does not send an ACK request.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:39:07 +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 394cc90bfe Fri Feb 6 07:48:45 CST 2009 Pekka Pessi <first.last@nokia.com>
* run_test_sresolv: check for apparmor, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:37:39 +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 aef10e83e3 Fri Feb 6 04:58:13 CST 2009 Pekka Pessi <first.last@nokia.com>
* open_c: added nua_client.[hc], nua_server.[hc]



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11868 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:26:07 +00:00
Michael Jerris d0e01999d7 Fri Feb 6 04:57:51 CST 2009 Pekka Pessi <first.last@nokia.com>
* open_c/build_sources.cmd: building su_tag_ref.c



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11867 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:25:45 +00:00
Michael Jerris 5ad7e6d811 Fri Feb 6 04:54:56 CST 2009 Pekka Pessi <first.last@nokia.com>
* win32: added nua_client.[hc], nua_server.[hc]



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11866 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:25:18 +00:00
Michael Jerris f1adad6ce9 Fri Feb 6 04:05:47 CST 2009 Pekka Pessi <first.last@nokia.com>
* build_sources.cmd: building su_tag_ref.c



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11865 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:24:54 +00:00
Michael Jerris e3b8b194c5 Wed Feb 4 08:53:17 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua: moved nua_server* and nua_client* code into their own files
  Ignore-this: 23d66f0189ef8e324c2f23266f0ccf2
  
  Added nua_server.h, nua_server.c, nua_client.h, nua_client.c.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:24:28 +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 db953eb8e9 Wed Jan 28 13:21:36 CST 2009 Pekka Pessi <first.last@nokia.com>
* su-glib/su_source.c: fixed su_source_is_running() signature



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11862 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:22:23 +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 cf1f74fbc3 Wed Jan 28 12:31:06 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* su-glib/su_source.c: improved the deferrable timeout calculation
  


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11860 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:20:26 +00:00
Michael Jerris 81d8e58821 Wed Jan 28 12:30:55 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* su-glib/su_source.c: updated copyright years
  



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11859 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:20:06 +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 419003821f Wed Jan 21 10:38:08 CST 2009 Pekka Pessi <first.last@nokia.com>
* msg_multipart_s: fixed mp_len type
  
  The msg_multipart_s should follow msg_pub_s layout.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11845 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:13:16 +00:00