From fd2eb5e3f06baec57d2d8fdd86e7a493a653ad8a Mon Sep 17 00:00:00 2001 From: Thomas Ries Date: Thu, 20 May 2004 15:45:33 +0000 Subject: [PATCH] - Released 0.5.6 --- ChangeLog | 2 ++ RELNOTES | 21 ++++++++++++------ config.h.in | 12 +++++++++++ configure.in | 45 +++++++++++++++++++++++++++------------ doc/FAQ | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 120 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5f3c52a..a49a911 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 0.5.6 ===== + 20-May-2004: - Released 0.5.6 + - some cleanup in configure.in 14-May-2004: - FAQ update 16-May-2004: - INFO/WARN/ERROR are always logged to syslog, even if running in foreground (syslog still can be silenced diff --git a/RELNOTES b/RELNOTES index fb9c4e5..87a4d0e 100644 --- a/RELNOTES +++ b/RELNOTES @@ -4,7 +4,7 @@ Release Notes for siproxd-0.5.6 Major changes since 0.5.5: - Better recognition of redirected incoming requests (incoming calls from sipgate.de are now working) - - Bugfix for local registration iwth linphone + - Bugfix for local registration with linphone (authentication) - made some corrections for building siproxd against uClibc for use with fli4l 2.1.7. @@ -47,10 +47,12 @@ Currently tested on: This is my main development and testing environment. Other platforms are not extensively tested by myself. -Reported to build on: -- FreeBSD 4.7-STABLE -- OpenBSD 2.9 -- Solaris2 +Builds on: +- Linux (Fedora Core1) +- FreeBSD (FreeBSD 4.10-BETA) +- OpenBSD (OpenBSD 3.4 GENERIC#18) +- SunOS (SunOS 5.9) +- Mac OS X (Darwin 6.8) Reported interoperability with softphones: - Grandstream BudgeTone-100 series @@ -78,9 +80,16 @@ distribution I'd be happy to get a short notice. ----- -md5sum for siproxd-0.5.6.tar.gz: +md5sum for siproxd-0.5.6.tar.gz: 5983b09cbd395d87d080274f58534c9a GnuPG signature for siproxd-0.5.6.tar.gz archive: +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.3 (GNU/Linux) + +iD8DBQBArNFWCfzBioe83JQRAmk9AKCCwXQlyNr+Pv3AB17R94XhkzrIcACfa5wL +mqyRHk50D5e9o6H8iiCWHV4= +=1n4d +-----END PGP SIGNATURE----- GnuPG: pub 1024D/87BCDC94 2000-03-19 Thomas Ries diff --git a/config.h.in b/config.h.in index e95d582..6326bc4 100644 --- a/config.h.in +++ b/config.h.in @@ -78,6 +78,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H +/* Define to 1 if you have the header file. */ +#undef HAVE_NETDB_H + /* Define if you have POSIX threads libraries and header files. */ #undef HAVE_PTHREAD @@ -153,6 +156,9 @@ /* Define to 1 if you have the `syslog' function. */ #undef HAVE_SYSLOG +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SOCKET_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H @@ -226,6 +232,9 @@ /* building on Linux platform */ #undef _LINUX +/* building on Mac OSX platform */ +#undef _MACOSX + /* building on NetBSD platform */ #undef _NETBSD @@ -235,6 +244,9 @@ /* building on Solaris2 platform */ #undef _SOLARIS2 +/* building on unknown platform */ +#undef _UNKNOWN + /* Define to empty if `const' does not conform to ANSI C. */ #undef const diff --git a/configure.in b/configure.in index d8a91e6..ff43ccf 100644 --- a/configure.in +++ b/configure.in @@ -24,6 +24,7 @@ dnl 22-Jan-2004 tries add --enable-static option dnl 06-Mar-2004 tries del daemon(), add setsid() dnl 09-Apr-2004 tries add --with-custom-fwmodule dnl 09-May-2004 tries fli4l-uclibc links statically agains pthreads +dnl 29-May-2004 tries use AC_CHECK_TYPE to check for socklen_t dnl dnl dnl @@ -110,13 +111,7 @@ dnl --enable-dmalloc dnl -dnl general stuff -dnl _POSIX_THREAD_SAFE_FUNCTIONS needed by some platforms to make -dnl reentrant functions available (gethostbyname_r) -CFLAGS="$CFLAGS -D_POSIX_THREAD_SAFE_FUNCTIONS" - -dnl -dnl system specific stuff +dnl target platform specific stuff dnl AC_MSG_CHECKING(target platform) case "$target" in @@ -157,7 +152,13 @@ case "$target" in AC_DEFINE(_SOLARIS2,,[building on Solaris2 platform]) LIBS="$LIBS -lsocket -lnsl" ;; + *-*-darwin*) + AC_MSG_RESULT(Mac OS X) + AC_DEFINE(_MACOSX,,[building on Mac OSX platform]) + ;; *) + AC_MSG_RESULT(Unknown Platform) + AC_DEFINE(_UNKNOWN,,[building on unknown platform]) ;; esac @@ -242,6 +243,14 @@ else fi +dnl +dnl Make sure that symbol _POSIX_THREAD_SAFE_FUNCTIONS is defined. +dnl This is needed by some platforms to make reentrant functions +dnl available (gethostbyname_r) +dnl +CFLAGS="$CFLAGS -D_POSIX_THREAD_SAFE_FUNCTIONS" + + dnl dnl add dnl --with-libosip-prefix=DIR @@ -252,6 +261,8 @@ AC_ARG_WITH(libosip-prefix, if test x$withval != x ; then libosip_prefix_dir="$withval"; fi, ) AC_SUBST(libosip_prefix_dir) +AC_MSG_CHECKING("libosip prefix") +AC_MSG_RESULT($libosip_prefix_dir) dnl dnl Check for libosip @@ -308,9 +319,9 @@ dnl dnl Checks for header files. dnl AC_HEADER_STDC -AC_CHECK_HEADERS(sys/time.h unistd.h errno.h) +AC_CHECK_HEADERS(sys/time.h errno.h) AC_CHECK_HEADERS(stdarg.h varargs.h) -AC_CHECK_HEADERS(pwd.h getopt.h) +AC_CHECK_HEADERS(pwd.h getopt.h sys/socket.h netdb.h) dnl dnl Checks for typedefs, structures, and compiler characteristics. @@ -320,12 +331,18 @@ AC_TYPE_SIZE_T AC_HEADER_TIME AC_STRUCT_TM +dnl dnl check for typedef socklen (not available on SUSE 5.3 for example) -AC_MSG_CHECKING(typedef socklen_t) -AC_EGREP_HEADER([typedef.*socklen_t], sys/socket.h, - AC_MSG_RESULT(available), - AC_MSG_RESULT(not available - create DEFINE to uint) - AC_DEFINE(socklen_t, [unsigned int],[typedef socklen_t available]) +dnl +dnl FreeBSD has it in and +AC_CHECK_TYPE(socklen_t, + , + AC_MSG_RESULT(socklen_t is not available - creating DEFINE to uint) + AC_DEFINE(socklen_t, [unsigned int],[typedef socklen_t available]), + [[$ac_includes_default] + [#ifdef HAVE_NETDB_H] + [#include ] + [#endif]] ) dnl diff --git a/doc/FAQ b/doc/FAQ index 52dd58a..48e13d1 100644 --- a/doc/FAQ +++ b/doc/FAQ @@ -259,4 +259,64 @@ A: Media Max Port: 7080 (RTP ports) --------------------------------------------------------------------------- +--------------------------------------------------------------------------- +--------------------------------------------------------------------------- +--------------------------------------------------------------------------- +... +> Hier ist 40Mb logs mit overload problem. Wir haben auch probleme um neue +> verbindung einzustellen. Es ist wie ob den RTP timeout fur alle UA +> hinter den proxy bloquiert wenn eine bindung geschlossen wird. Nach 5 mn +> (oder 3 in unsere buro) geht es wieder ok (oder eine restart von +> siproxd). Manschmal, wenn eine von den beiden endpunkt die kommunikation +> schlisst, ist die andere immer noch up und denkt das die verbingun +> existiert. Wir haben den ganzen tag getestet mit lezte version von 17May: +> +> 2 intranet hinten siproxd, der eine ohne seine UA zu registrieren +> (192.168.1.0/24). Der andere hat 1 BudgeTone, 1 HandyTone, 2 xlite ten +> und 1 linphone als klient (192.168.10.0/24). + +ACHTUNG! +Siproxd unterstützt zur Zeit lediglich 1 internes Netz und ein externes +Netz. ALLE lokalen UAs *müssen* sich: + + - entweder bei SIPROXD registrieren + +oder + + - sich bei einem externen REGSITRAR registrieren (siproxd muss als + OUTBOUND PROXY konfiguriert sein). + + +Werden diese Spielregeln nicht eingehalten kommt es zu verschiedenen +komischen Effekten, auch solche die Du beschrieben hast. + + + +UA1--+ + | +UA2--+ + | +UA3--+ +-----------+ + | +-----------+ | externer | + +---------| siproxd & |------>>Internet <<---| Registrar | + | NAT | +-----------+ + +-----------+ + +Spielregeln: +- ALLE UAs (UA1, UA2, UA3) benutzen siproxd also OUTBOUND proxy +- ALLE UAs (UA1, UA2, UA3) registrieren sich entweder direkt bei + siproxd ODER bei "externer Registrar" + + Wenn Registrierung bei siproxd: + - SIP URL (address of record) hat die form SIP:@ + - ist frei wählbar + - MUSS einen DNS Eintrag haben, der auf die public IP + von siproxd auflöst + + + Wenn Registrierung bei "externer Registrar": + - und wird von "externer Registrar" definiert + + +