Commit Graph

629 Commits

Author SHA1 Message Date
Michael Jerris 3e1b921f8f temporary hack to avoid segfaults on 503 w/ retry-after and 423 responses to CANCEL (and maybe others) (SFSIP-134)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12942 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-07 21:34:31 +00:00
Michael Jerris 54be7df9ff temporary hack to ignore retry-after so we can avoid segfault (SFSIP-134)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12941 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-07 20:53:42 +00:00
Michael Jerris eaf0c7c8b5 libsofiasip: fix buffer overrun (SFSIP-136)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12914 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-03 23:04:42 +00:00
Michael Jerris b23c86a1bf revert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12857 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-31 20:54:31 +00:00
Michael Jerris 9b42edc319 linux... how did that not crash every time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-31 20:51:35 +00:00
Michael Jerris ca02dec1c7 move library checks to the end to keep from incorrect -lz added to LIBS from pkg-config to openssl on 64 bit when only 32 bit zlib-devel is installed. This was causing other checks to fail.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-25 16:44:16 +00:00
Michael Jerris a26400fc4c Tue Mar 3 12:23:35 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
* su_uniqueid.c: srand() must be called per-thread on windows
  Ignore-this: ee98b86faadc4a39186ba4991b073c40

Mon Mar 23 12:41:53 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * su_uniqueid.c: simple threadsafe implementation
  Ignore-this: b3597fb6032b79a61b63f004f121188b
  
  Using /dev/urandom where available, simple 64-bit prng elsewhere.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:54:18 +00:00
Michael Jerris 4faa0ed664 Mon Mar 23 12:27:27 CDT 2009 Pekka Pessi <first.last@nokia.com>
* RELEASE: urandom is no more public
  Ignore-this: 353234331d627b77c66841036c9d77f7


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:49:03 +00:00
Michael Jerris 79081a2faa Mon Mar 23 12:22:50 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: use random key when generating tags
  Ignore-this: 3e989f42549acbdbc259383b1b64e74d


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12754 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:48:19 +00:00
Michael Jerris db6542b516 Mon Mar 23 10:41:29 CDT 2009 Pekka Pessi <first.last@nokia.com>
* configure.ac: check for dlopen in -ldl
  Ignore-this: e1fa8a4bf30eb9023e54264dbe8c42bd


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12753 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:47:43 +00:00
Michael Jerris dc27ee5271 Mon Mar 23 10:41:08 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tests: added check_dlopen_sofia.c
  Ignore-this: 1f3a1a6dc3e9099c6488a637e5f06e9a


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12752 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:46:59 +00:00
Michael Jerris 123153d843 Wed Mar 11 11:52:58 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport.c: silence VC warnings
  Ignore-this: b81c43b73fcefa2dd58dd3366dd60368


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:46:13 +00:00
Michael Jerris bfb14992f1 Wed Mar 11 11:51:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sres_sip.c: silence VC warnings
  Ignore-this: dd9d4b774716430cdf429ed86664b109


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12750 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:45:45 +00:00
Michael Jerris 52f03208c9 Wed Mar 11 11:50:44 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg_mime.c: explicit cast when assigning to mp_len
  Ignore-this: ca5b8291eb84d8b166ab7f659bcf69f8



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:45:13 +00:00
Michael Jerris 4d643bccc1 Wed Mar 11 11:58:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sofia-sip/su_config.h: include extern in SOFIAPUBVAR
  Ignore-this: 7cccd45776e8452a8e404aaf01eaeadf


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:44:33 +00:00
Michael Jerris 91f349d5ed Wed Mar 11 09:50:20 CDT 2009 Pekka Pessi <first.last@nokia.com>
* s2check: added exit77.c to EXTRA_DIST
  Ignore-this: ae3403c0bd1b4596c24bc7304916fa85


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12747 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:44:04 +00:00
Michael Jerris 1dda329079 Wed Mar 11 09:49:37 CDT 2009 Pekka Pessi <first.last@nokia.com>
* s2base.c: use struct timeval with gettimeofday()
  Ignore-this: 1ca4ea3c958573a1fa845d8b66b7d6ad


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:43:28 +00:00
Michael Jerris 596a0b60cb Mon Mar 9 12:44:03 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_alloc: shorten race on _su_deinit()
  Ignore-this: 6d4e6edb434a96e66c9bb018a201a3c6
  
  Make home object unusable earlier during denitialization.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:42:53 +00:00
Michael Jerris 39ed058e2a Mon Mar 9 12:42:48 CDT 2009 Pekka Pessi <first.last@nokia.com>
* packages/sofia-sip-ua.pc.in: silenced warning from configure
  Ignore-this: dcf6a0fed627e267f5128af5508bcb8f


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:42:16 +00:00
Michael Jerris 19ec89ae6b Mon Mar 9 12:42:00 CDT 2009 Pekka Pessi <first.last@nokia.com>
* test_nua_api.c: nua_i_none is no more unknown
  Ignore-this: b7232be3e3956337161266c1814ddd37


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12743 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:41:38 +00:00
Michael Jerris 06dfd6b602 Mon Mar 9 12:32:13 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua: added nua_i_none to nua_event_name()
  Ignore-this: 5d262decadfc28b82ab7292330e20530


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12742 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:41:03 +00:00
Michael Jerris 21fcb16428 Thu Mar 5 13:20:53 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2util.h, s2time.c: added s2_timed_logger()
  Ignore-this: 504e7e5c1201b0b2d5c345c31d5d4b71


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:40:31 +00:00
Michael Jerris 3c9cb00a4b Thu Mar 5 13:09:53 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: #include <sofia-sip/htable.h> here
  Ignore-this: bab8054edc65e3defbed6db325e1deba


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:39:08 +00:00
Michael Jerris 93aa2e4ac7 Thu Mar 5 13:08:22 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: nta_leg_tag(leg, NULL) now always returns the tag (old or new)
  Ignore-this: f5a7d67ed90e2c284f6696d6b5b89326



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:38:33 +00:00
Michael Jerris 0bafa3b1cd Thu Mar 5 13:06:59 CST 2009 Pekka Pessi <first.last@nokia.com>
* run_test_nta: fixed bashism with exec
  Ignore-this: 6d034eb8fd66f6a903e3219589f62eef



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:37:43 +00:00
Michael Jerris 22dae2b9fa Thu Mar 5 13:21:25 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_sres_sip.c: use S2_CASE()
  Ignore-this: da194ea35fa98a73f3da3b4b5257aa8f



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12737 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:37:01 +00:00
Michael Jerris 277137cf8e Thu Mar 5 13:06:15 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nta: use S2_CASE()
  Ignore-this: c94d4219b0882f1343bcfc56f975ea48



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12736 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:36:03 +00:00
Michael Jerris 676d7c5b75 Thu Mar 5 13:04:56 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: use S2_CASE()
  Ignore-this: 85691a39065d7ad3da57f45fe87c1da



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:34:23 +00:00
Michael Jerris 113da462f1 Thu Mar 5 12:29:30 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2base.h: added S2_CASE(), added test function name to s2_case() parameters
  Ignore-this: c9ceff2812044e2643c21548be29233e


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12734 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:33:33 +00:00
Michael Jerris 840735200e Thu Mar 5 11:44:15 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check.h: redefine tcase_add_loop_test, too
  Ignore-this: 149c19e8d089b60e8ddcb98da54c9d88



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12733 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:32:49 +00:00
Michael Jerris 70ddbdd6d6 Thu Mar 5 10:20:11 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: s2_setup_logs() now turns on transport logging, too
  Ignore-this: 4ad4dc1efaf76c34a46038586a00e084



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12732 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:32:08 +00:00
Brian West fe71e492c7 Thu Mar 5 10:19:35 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: using fail_unless_event() macro
  Ignore-this: b03dc7431e8fea9835322bd8f825a803



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:30:45 +00:00
Michael Jerris 51a8cb2827 Wed Mar 4 12:24:57 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta_incoming_magic(): if callback is NULL, return any magic



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12557 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:58:34 +00:00
Michael Jerris c4c67ac090 Wed Mar 4 12:22:52 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: add nta_outgoing_magic()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:57:32 +00:00
Michael Jerris 90d44abb5d Thu Mar 5 08:22:19 CST 2009 Pekka Pessi <first.last@nokia.com>
* configure.ac: added AC_CONFIG_MACRO_DIR([m4])



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12555 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:56:27 +00:00
Michael Jerris 2a0b960efb Thu Mar 5 08:00:45 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: added check-based test program check_nta



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:55:00 +00:00
Michael Jerris 20719ebf88 Thu Mar 5 07:59:34 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check/exit77.c: added



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12553 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:53:44 +00:00
Michael Jerris 1bb6e48c63 Wed Mar 4 12:27:36 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: added nta_agent_tports()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12552 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:52:52 +00:00
Michael Jerris b4a57d3300 Wed Mar 4 12:27:19 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: removed spurios SOFIAPUBFUNs



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12551 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:52:07 +00:00
Michael Jerris 2b572ee523 Wed Mar 4 13:35:37 CST 2009 Fabio Margarido <fabiomargarido AT gmail DOT com>
* msg: allow compact headers inside multipart payload



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:50:46 +00:00
Michael Jerris b51e4533d5 Wed Mar 4 13:12:17 CST 2009 Pekka Pessi <first.last@nokia.com>
* configure: SOFIA_GLIB_CFLAGS added
  Ignore-this: f70baad5a9f61b6fcbe44ec1aa4c2c22
  
  GLib behaves badly with -Wall -Werror.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12423 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:42:53 +00:00
Michael Jerris 4357c2aca4 Wed Mar 4 12:37:47 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua: moved contents of test_s2.[hc] to check_nua.[hc]
  Ignore-this: f53929b29092e2d62e661fc40397492e



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:41:38 +00:00
Michael Jerris a0fb5045a8 Wed Mar 4 12:31:26 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2base: removed s2_setup_logs()
  Ignore-this: ea4848902b3be9c966b4f7e114f2a5b6



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:40:06 +00:00
Michael Jerris f7d903c8fb Wed Mar 4 12:29:06 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2sip: removed nua dependency
  Ignore-this: d32f68be34d4628129aff2afad3c99f1
  
  Fixed CK_FORK=no case.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:39:24 +00:00
Michael Jerris 980957e967 Wed Mar 4 12:31:05 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2_dns_domain(): more flexible selection of transports by URI parameters


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:37:55 +00:00
Michael Jerris 721612aa82 Wed Mar 4 12:28:12 CST 2009 Pekka Pessi <first.last@nokia.com>
* run_test_nta: run tests without named if named refuses to start



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:37:00 +00:00
Michael Jerris 3446ae280f Wed Mar 4 12:22:20 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: fix timer N3
  Ignore-this: 4018f3a32723692153389c2109b72296
  
  Try UDP instead of TCP if TCP server does not respond quick enough.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:35:51 +00:00
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