login | register
Tue 09 of Feb, 2010 [21:13 UTC]

voip-info.org

History

spandsp

Created by: pupeno,Last modification on Wed 02 of Dec, 2009 [17:31 UTC] by sascha_silbe

SpanDSP


SpanDSP is a library of Digital Signal Processing (DSP) functions for telephony. One of its common uses is to provide 'that thing' that is needed to turn images into audio and back (and a lot of other things) for sending and receiving faxes. Support exists for using SpanDSP with iaxmodem, Asterisk, CallWeaver, and FreeSwitch.

SpanDSP is developed by Steve Underwood. Its web site is http://www.soft-switch.org/ and the latest version can be downloaded from http://www.soft-switch.org/downloads/spandsp/.

At the time of this writing, the latest version of spandsp is 0.0.6pre2. Some distributions/OSs may provide pre-packaged versions:

If you build spandsp from sources, it requires at least (be sure to have the dev or devel versions of those libraries installed if your distribution/OS provides them as separate packages):
The official installation instructions are located at http://www.soft-switch.org/installing-spandsp.html.


SpanDSP as a FAX machine for Asterisk 1.6.X

G.711 and T.38 FAX support is built into Asterisk, through the use of the Spandsp library. The Spandsp library itself must be manually added. See the Asterisk T.38 page for detailed installation instructions.


SpanDSP as a FAX machine for Asterisk 1.4.X

SpanDSP supports FAXing at speeds up to 14,400bps V.17, and works with or without ECM (error correction mode).

Although I have not yet tested this myself (I will later and hopefully update here later) here are some links that should be able to enable you to apply SpanDSP to Asterisk 1.4.X.

Third Party Application

The following third party applications provide support for Spandsp and add additional functionality
AGX Extra Addons for Asterisk provide some fax applications that uses spandsp and works with Asterisk 1.4.
Noojee Fax provides a full email/fax gateway with a help of cool features



See also



Comments

Comments Filter
222

333Multipages fax

by czuker, Tuesday 28 of March, 2006 [19:06:29 UTC]
Are you able to send multipages fax with latest version of span dsp? Which hardware are you using? Which version of asterisk are you using?
222

333Makefile patch for ast 1.2.1

by jvalverde, Wednesday 28 of December, 2005 [14:27:49 UTC]

+++ Makefile 2005-12-28 10:15:15.000000000 -0500 @@ -54,6 +54,10 @@
APPS+=app_osplookup.so
endif

+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/spandsp.h $(CROSS_COMPILE_TARGET)/usr/include/spandsp.h),) + APPS+=app_rxfax.so app_txfax.so +endif + ifeq ($(findstring BSD,${OSARCH}),BSD)
CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
endif
@@ -102,6 +106,12 @@
app_curl.so: app_curl.o
       $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)

+app_rxfax.so : app_rxfax.o + $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff + +app_txfax.so : app_txfax.o + $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff + app_sql_postgres.o: app_sql_postgres.c
       $(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c

222

333rxfax/txfax: getting versions to match with asterisk 1.2.x versions

by holon67, Thursday 03 of November, 2005 [20:55:31 UTC]
Use this version of rxfax/txfax and spandsp if you want to actually get an easy and a working build for Asterisk version 1.2.x, at least, as of today, November 3, 2005, off HEAD branch in cvs:

http://soft-switch.org/downloads/spandsp/spandsp-0.0.2pre21b/asterisk-1.2.x/

The patching will fail though, so you have to hand tweak the 'apps/Makefile' under the asterisk source dir. Call me if you need any assistance: pcleddy at dat yahoo place.

If you previously installed another version of spandsp, 'make uninstall' is implemented and works, wow!

Also make sure you add '/usr/local/lib' on it's own line in /etc/ld.so.conf, and then run 'ldconfig' command.

Did I probably forget something? Yes.