VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
chad at shire.net Guest
|
Posted: Tue Nov 18, 2008 6:24 am Post subject: [Callweaver-users] FreeBSD zaptel howto? |
|
|
Hi
I am attempting to install CallWeaver on a new FreeBSD system (7.0)
that has 2 digium cards in it. (I had this running under asterisk a
couple of years ago but never took the time to get it configured as I
needed it and set it aside -- need it now)
I have installed the zaptel port which is a zaptel 1.4.x.
When I attempt to configure callweaver I get
checking zaptel/zaptel.h usability... yes
checking zaptel/zaptel.h presence... yes
checking for zaptel/zaptel.h... yes
checking zaptel/tonezone.h usability... yes
checking zaptel/tonezone.h presence... yes
checking for zaptel/tonezone.h... yes
checking for struct zt_radio_stat... no
configure: WARNING: Zaptel appears to be older than version 1.2 --
Zaptel support will be disabled.
/usr/local/include/zaptel/zaptel.h does define that struct. And
zaptel is greater than 1.2. I am not sure how to proceed.
I would appreciate any help possible.
Thanks
Chad
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users |
|
Back to top |
|
 |
adrianwalag at gmail.com Guest
|
Posted: Fri Nov 21, 2008 12:40 am Post subject: [Callweaver-users] FreeBSD zaptel howto? |
|
|
I also encountered this and tried to do the same test as what the configure script does. Somehow, it just fails - so i edited the configure script to short circuit that part. (i set ZAPTEL_V12_OR_HIGHER=1 forcibly) i used the older port structure and added this patch for convenience.
--- configure.orig 2008-05-27 06:50:28.000000000 +0800
+++ configure 2008-10-28 16:28:19.000000000 +0800
@@ -36259,6 +36259,7 @@
ZAPTEL_V12_OR_HIGHER=1
fi
+ZAPTEL_V12_OR_HIGHER=1
if test "${ZAPTEL_V12_OR_HIGHER}" = "1"; then
@@ -39876,7 +39877,7 @@
fi
if test $ac_cv_header_speex_speex_h = yes; then
- HAVE_SPEEX_H=1 SPEEX_CFLAGS=-I/usr/include/speex
+ HAVE_SPEEX_H=1 SPEEX_CFLAGS=-I/usr/local/include/speex
else
{ { echo "$as_me:$LINENO: error: Cannot find header files for Speex." >&5
hope that helps
wagz
On Tue, Nov 18, 2008 at 7:24 PM, Chad Leigh -- Shire.Net LLC <chad@shire.net (chad@shire.net)> wrote:
Quote: | Hi
I am attempting to install CallWeaver on a new FreeBSD system (7.0)
that has 2 digium cards in it. (I had this running under asterisk a
couple of years ago but never took the time to get it configured as I
needed it and set it aside -- need it now)
I have installed the zaptel port which is a zaptel 1.4.x.
When I attempt to configure callweaver I get
checking zaptel/zaptel.h usability... yes
checking zaptel/zaptel.h presence... yes
checking for zaptel/zaptel.h... yes
checking zaptel/tonezone.h usability... yes
checking zaptel/tonezone.h presence... yes
checking for zaptel/tonezone.h... yes
checking for struct zt_radio_stat... no
configure: WARNING: Zaptel appears to be older than version 1.2 --
Zaptel support will be disabled.
/usr/local/include/zaptel/zaptel.h does define that struct. And
zaptel is greater than 1.2. I am not sure how to proceed.
I would appreciate any help possible.
Thanks
Chad
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org (Callweaver-users@callweaver.org)
http://lists.callweaver.org/mailman/listinfo/callweaver-users
|
|
|
Back to top |
|
 |
chad at shire.net Guest
|
Posted: Fri Nov 21, 2008 1:46 am Post subject: [Callweaver-users] FreeBSD zaptel howto? |
|
|
On Nov 20, 2008, at 10:40 PM, Adrian Walag wrote:
Quote: | I also encountered this and tried to do the same test as what the
configure script does. Somehow, it just fails - so i edited the
configure script to short circuit that part. (i set
ZAPTEL_V12_OR_HIGHER=1 forcibly) i used the older port structure
and added this patch for convenience.
--- configure.orig 2008-05-27 06:50:28.000000000 +0800
+++ configure 2008-10-28 16:28:19.000000000 +0800
@@ -36259,6 +36259,7 @@
ZAPTEL_V12_OR_HIGHER=1
fi
+ZAPTEL_V12_OR_HIGHER=1
if test "${ZAPTEL_V12_OR_HIGHER}" = "1"; then
@@ -39876,7 +39877,7 @@
fi
if test $ac_cv_header_speex_speex_h = yes; then
- HAVE_SPEEX_H=1 SPEEX_CFLAGS=-I/usr/include/speex
+ HAVE_SPEEX_H=1 SPEEX_CFLAGS=-I/usr/local/include/speex
else
{ { echo "$as_me:$LINENO: error: Cannot find header files for
Speex." >&5
hope that helps
|
Thanks. I had done something similar but yours is cleaner. It got
rid of the zaptel error. Now I get this when actually do a make of
the project
I have the latest spandsp (not from ports). Is there a specific
version that works best?
gcc -DHAVE_CONFIG_H -include ../include/confdefs.h -I. -I../include -
fomit-frame-pointer -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -DTEMP_STORE=2 -DTHREADSAFE=1 -
DSQLITE_OMIT_CURSOR -DNO_TCL -I../sqlite3-embedded -I../sqlite3-
embedded -DOS_UNIX -I.. -I../include -g -O2 -I/usr/local/include -I/
usr/include/openssl -DHAVE_SSL -g -O2 -I/usr/local/include -MT
libcallweaver_la-callerid.lo -MD -MP -MF .deps/libcallweaver_la-
callerid.Tpo -c callerid.c -fPIC -DPIC -o .libs/libcallweaver_la-
callerid.o
In file included from /usr/local/include/spandsp.h:108,
from callerid.c:48:
/usr/local/include/spandsp/adsi.h:364:1: warning:
"CLIP_DTMF_C_CALLER_NUMBER" redefined
callerid.c:9:1: warning: this is the location of the previous definition
In file included from /usr/local/include/spandsp.h:108,
from callerid.c:48:
/usr/local/include/spandsp/adsi.h:423: warning: useless type name in
empty declaration
callerid.c:65: error: field 'rx' has incomplete type
callerid.c: In function 'mate_generate':
callerid.c:154: error: storage size of 'adsi' isn't known
callerid.c:154: warning: unused variable 'adsi'
callerid.c: In function 'vmwi_generate':
callerid.c:173: error: storage size of 'adsi' isn't known
callerid.c:173: warning: unused variable 'adsi'
callerid.c: In function 'callerid_get':
callerid.c:207: error: dereferencing pointer to incomplete type
callerid.c:282: error: dereferencing pointer to incomplete type
callerid.c:286: error: dereferencing pointer to incomplete type
callerid.c: In function 'cw_callerid_generate':
callerid.c:392: error: storage size of 'adsi' isn't known
callerid.c:392: warning: unused variable 'adsi'
callerid.c: In function 'tdd_generate':
callerid.c:500: error: storage size of 'adsi' isn't known
callerid.c:500: warning: unused variable 'adsi'
gmake[3]: *** [libcallweaver_la-callerid.lo] Error 1
gmake[3]: Leaving directory `/usr/localstuff/callweaver-1.2.0.1/corelib'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/localstuff/callweaver-1.2.0.1/corelib'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/localstuff/callweaver-1.2.0.1/corelib'
gmake: *** [all-recursive] Error 1
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org
http://lists.callweaver.org/mailman/listinfo/callweaver-users |
|
Back to top |
|
 |
adrianwalag at gmail.com Guest
|
Posted: Fri Nov 21, 2008 3:49 am Post subject: [Callweaver-users] FreeBSD zaptel howto? |
|
|
mine worked with 0.0.5pre4. i also recycled the spandsp ports structure to compile it. i didn't need to create patches for it.
On Fri, Nov 21, 2008 at 2:46 PM, Chad Leigh -- Shire.Net LLC <chad@shire.net (chad@shire.net)> wrote:
Quote: |
On Nov 20, 2008, at 10:40 PM, Adrian Walag wrote:
Quote: | I also encountered this and tried to do the same test as what the
configure script does. Somehow, it just fails - so i edited the
configure script to short circuit that part. (i set
ZAPTEL_V12_OR_HIGHER=1 forcibly) i used the older port structure
and added this patch for convenience.
--- configure.orig 2008-05-27 06:50:28.000000000 +0800
+++ configure 2008-10-28 16:28:19.000000000 +0800
@@ -36259,6 +36259,7 @@
ZAPTEL_V12_OR_HIGHER=1
fi
+ZAPTEL_V12_OR_HIGHER=1
if test "${ZAPTEL_V12_OR_HIGHER}" = "1"; then
@@ -39876,7 +39877,7 @@
fi
if test $ac_cv_header_speex_speex_h = yes; then
- HAVE_SPEEX_H=1 SPEEX_CFLAGS=-I/usr/include/speex
+ HAVE_SPEEX_H=1 SPEEX_CFLAGS=-I/usr/local/include/speex
else
{ { echo "$as_me:$LINENO: error: Cannot find header files for
Speex." >&5
hope that helps
|
Thanks. I had done something similar but yours is cleaner. It got
rid of the zaptel error. Now I get this when actually do a make of
the project
I have the latest spandsp (not from ports). Is there a specific
version that works best?
gcc -DHAVE_CONFIG_H -include ../include/confdefs.h -I. -I../include -
fomit-frame-pointer -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -DTEMP_STORE=2 -DTHREADSAFE=1 -
DSQLITE_OMIT_CURSOR -DNO_TCL -I../sqlite3-embedded -I../sqlite3-
embedded -DOS_UNIX -I.. -I../include -g -O2 -I/usr/local/include -I/
usr/include/openssl -DHAVE_SSL -g -O2 -I/usr/local/include -MT
libcallweaver_la-callerid.lo -MD -MP -MF .deps/libcallweaver_la-
callerid.Tpo -c callerid.c -fPIC -DPIC -o .libs/libcallweaver_la-
callerid.o
In file included from /usr/local/include/spandsp.h:108,
from callerid.c:48:
/usr/local/include/spandsp/adsi.h:364:1: warning:
"CLIP_DTMF_C_CALLER_NUMBER" redefined
callerid.c:9:1: warning: this is the location of the previous definition
In file included from /usr/local/include/spandsp.h:108,
from callerid.c:48:
/usr/local/include/spandsp/adsi.h:423: warning: useless type name in
empty declaration
callerid.c:65: error: field 'rx' has incomplete type
callerid.c: In function 'mate_generate':
callerid.c:154: error: storage size of 'adsi' isn't known
callerid.c:154: warning: unused variable 'adsi'
callerid.c: In function 'vmwi_generate':
callerid.c:173: error: storage size of 'adsi' isn't known
callerid.c:173: warning: unused variable 'adsi'
callerid.c: In function 'callerid_get':
callerid.c:207: error: dereferencing pointer to incomplete type
callerid.c:282: error: dereferencing pointer to incomplete type
callerid.c:286: error: dereferencing pointer to incomplete type
callerid.c: In function 'cw_callerid_generate':
callerid.c:392: error: storage size of 'adsi' isn't known
callerid.c:392: warning: unused variable 'adsi'
callerid.c: In function 'tdd_generate':
callerid.c:500: error: storage size of 'adsi' isn't known
callerid.c:500: warning: unused variable 'adsi'
gmake[3]: *** [libcallweaver_la-callerid.lo] Error 1
gmake[3]: Leaving directory `/usr/localstuff/callweaver-1.2.0.1/corelib'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/localstuff/callweaver-1.2.0.1/corelib'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/localstuff/callweaver-1.2.0.1/corelib'
gmake: *** [all-recursive] Error 1
_______________________________________________
Callweaver-users mailing list
Callweaver-users@callweaver.org (Callweaver-users@callweaver.org)
http://lists.callweaver.org/mailman/listinfo/callweaver-users
|
|
|
Back to top |
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|