If you use a Snom phone behind siproxd, you currently have to set
Identity -> SIP -> Support broken Registrar = ON
on the phone.

This will be corrected in siproxd's next release (0.8.2), but
meanwhile here's an update of the port to a snapshot that already
has the fix (along with other changes).  I assume we don't want to
commit this and I haven't talked with lteo@ at all about it, but,
well, here it is.

Index: Makefile
===================================================================
RCS file: /cvs/ports/telephony/siproxd/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    6 Oct 2013 19:12:09 -0000       1.13
+++ Makefile    18 Jul 2015 22:18:28 -0000
@@ -3,8 +3,8 @@
 SHARED_ONLY=   Yes
 COMMENT=       proxy/masquerading daemon for the SIP protocol
 
-DISTNAME=      siproxd-0.8.1
-REVISION=      4
+DISTNAME=      siproxd-0.8.2dev
+PKGNAME=       siproxd-0.8.2pre
 CATEGORIES=    telephony net
 
 HOMEPAGE=      http://siproxd.sourceforge.net/
@@ -16,7 +16,9 @@ PERMIT_PACKAGE_CDROM= Yes
 
 WANTLIB=       c osip2 osipparser2 pthread ltdl
 
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=siproxd/}
+#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=siproxd/}
+MASTER_SITES=  http://siproxd.tuxworld.ch/
+DISTFILES=     siproxd-18Jul2015.tar.gz
 
 USE_LIBTOOL=   gnu
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/telephony/siproxd/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo    18 Jan 2015 03:15:17 -0000      1.5
+++ distinfo    18 Jul 2015 22:18:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (siproxd-0.8.1.tar.gz) = 3y3wT69b20mAy9/VUWpHiY/EfKHrwsYoqkgwWyCgna0=
-SIZE (siproxd-0.8.1.tar.gz) = 833170
+SHA256 (siproxd-18Jul2015.tar.gz) = 
OCltynlt5asWtDxnXQyp37/KFRedsxZ4M7N/zyPcLpo=
+SIZE (siproxd-18Jul2015.tar.gz) = 837891
Index: patches/patch-doc_siproxd_conf_example
===================================================================
RCS file: /cvs/ports/telephony/siproxd/patches/patch-doc_siproxd_conf_example,v
retrieving revision 1.4
diff -u -p -r1.4 patch-doc_siproxd_conf_example
--- patches/patch-doc_siproxd_conf_example      4 May 2012 21:42:18 -0000       
1.4
+++ patches/patch-doc_siproxd_conf_example      18 Jul 2015 22:18:28 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-doc_siproxd_conf_example,v 1.4 2012/05/04 21:42:18 sthen Exp $
---- doc/siproxd.conf.example.orig      Mon Jun 20 16:25:27 2011
-+++ doc/siproxd.conf.example   Thu May  3 22:57:55 2012
+--- doc/siproxd.conf.example.orig      Thu Jul  2 04:18:42 2015
++++ doc/siproxd.conf.example   Thu Jul 16 11:27:11 2015
 @@ -9,6 +9,9 @@
  ######################################################################
  # The interface names of INBOUND and OUTBOUND interface.
@@ -51,16 +51,14 @@ $OpenBSD: patch-doc_siproxd_conf_example
  
  ######################################################################
  # global switch to control the RTP proxy behaviour
-@@ -322,18 +325,18 @@ debug_port = 0
- # The plugins are loaded in the order they appear here. Also
+@@ -323,19 +326,19 @@ debug_port = 0
  # the processing order is given by the load order.
  #
--# plugin_dir: MUST be terminated with '/'
+ # plugin_dir: MUST be terminated with '/'
 -plugindir=/usr/lib/siproxd/
-+# plugindir: MUST be terminated with '/'
 +plugindir=${PREFIX}/lib/siproxd/
  #
--# List of plugins to load. MUST use the .la file extension!
+ # List of plugins to load. MUST use the .la file extension!
 -#load_plugin=plugin_demo.la
 -#load_plugin=plugin_shortdial.la
 -load_plugin=plugin_logcall.la
@@ -69,7 +67,8 @@ $OpenBSD: patch-doc_siproxd_conf_example
 -#load_plugin=plugin_stun.la
 -#load_plugin=plugin_prefix.la
 -#load_plugin=plugin_regex.la
-+# List of plugins to load.
+-#load_plugin=plugin_stripheader.la
+-#load_plugin=plugin_codecfilter.la
 +#load_plugin=plugin_demo.so
 +#load_plugin=plugin_shortdial.so
 +load_plugin=plugin_logcall.so
@@ -78,6 +77,8 @@ $OpenBSD: patch-doc_siproxd_conf_example
 +#load_plugin=plugin_stun.so
 +#load_plugin=plugin_prefix.so
 +#load_plugin=plugin_regex.so
++#load_plugin=plugin_stripheader.so
++#load_plugin=plugin_codecfilter.so
  
  
  ######################################################################
Index: patches/patch-src_Makefile_in
===================================================================
RCS file: /cvs/ports/telephony/siproxd/patches/patch-src_Makefile_in,v
retrieving revision 1.3
diff -u -p -r1.3 patch-src_Makefile_in
--- patches/patch-src_Makefile_in       17 Jan 2012 17:30:33 -0000      1.3
+++ patches/patch-src_Makefile_in       18 Jul 2015 22:18:28 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_Makefile_in,v 1.3 2012/01/17 17:30:33 sthen Exp $
---- src/Makefile.in.orig       Sun Jul 10 15:57:51 2011
-+++ src/Makefile.in    Sat Sep 10 21:19:58 2011
-@@ -705,7 +705,7 @@ uninstall-am: uninstall-info-am uninstall-pkglibLTLIBR
+--- src/Makefile.in.orig       Wed Jan 21 13:33:10 2015
++++ src/Makefile.in    Thu Jul 16 11:26:01 2015
+@@ -731,7 +731,7 @@ uninstall-am: uninstall-info-am uninstall-pkglibLTLIBR
  # count BUILDs - each time increment by one and define the
  # C macro BUILDNO. bind it to a file everybody includes (log.h)
  #
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/telephony/siproxd/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   17 Jan 2012 17:30:33 -0000      1.4
+++ pkg/PLIST   18 Jul 2015 22:18:28 -0000
@@ -2,6 +2,7 @@
 @newgroup _siproxd:574
 @newuser _siproxd:574:574:daemon:SIP proxy:/var/empty:/sbin/nologin
 lib/siproxd/
+lib/siproxd/plugin_codecfilter.so
 lib/siproxd/plugin_defaulttarget.so
 lib/siproxd/plugin_demo.so
 lib/siproxd/plugin_fix_bogus_via.so
@@ -9,6 +10,7 @@ lib/siproxd/plugin_logcall.so
 lib/siproxd/plugin_prefix.so
 lib/siproxd/plugin_regex.so
 lib/siproxd/plugin_shortdial.so
+lib/siproxd/plugin_stripheader.so
 lib/siproxd/plugin_stun.so
 @bin sbin/siproxd
 share/doc/siproxd/
-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to