login | register
Fri 04 of Jul, 2008 [22:28 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Samuel, Thu 03 of Jul, 2008 [13:41 UTC]: ok thank you
  • Mats Karlsson, Thu 03 of Jul, 2008 [13:37 UTC]: Nice Samuel, will look forward to rad it.
  • bwl_fernstudent, Thu 03 of Jul, 2008 [09:08 UTC]: Your blog shows some usefull code
  • Samuel, Thu 03 of Jul, 2008 [08:04 UTC]: I'll translate it, for sure
  • Mats Karlsson, Wed 02 of Jul, 2008 [20:46 UTC]: LOL, in french! Translate it to English and I will read it.
  • Samuel, Wed 02 of Jul, 2008 [08:07 UTC]: Hello, i wrote a blog about Asterisk, speaking about installation,programming and more http://sambranche.blogspot.com/
  • Nick Barnes, Tue 01 of Jul, 2008 [17:46 UTC]: Steve - Asterisk doesn't 'fit into linux' - it's an application which runs on top of Linux.
  • Steve, Mon 30 of Jun, 2008 [18:07 UTC]: anyone know where I can find a block diagram of how asterisk fits into linux. my f'ing bosses want me to draw something up.. ugh.
  • akbar, Fri 27 of Jun, 2008 [10:37 UTC]: marley_boyz@yahoo.com how to configure call forward, call back, call pick up using TDM and asterisk 1.2.13... please help me.. thx...
  • Matthew Williams, Tue 24 of Jun, 2008 [22:37 UTC]: We are looking for Tier II VoIP Support Technicians in St Louis. Send resumes to mwilliams AT voxitas DOT com.
Server Stats
  • Execution time: 0.41s
  • Memory usage: 2.59MB
  • Database queries: 33
  • GZIP: Disabled
  • Server load: 0.75

spandsp

spandsp


spandsp is a library of DSP, Digital Signal Processing, functions for telephony. One of its common uses it 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. There are two asterisk applications: app_rxfax and app_txfax that use Spandsp to send and receive faxes.

spandsp has been developed by Steve Underwood. spandsp's web site seems to be on http://www.soft-switch.org/ and its latest version can be downloaded from http://www.soft-switch.org/downloads/spandsp/. There's an alternate mirror at http://zarzamora.com.mx/mirror/ftp.soft-switch.org/pub/ but it is may be outdated (at least regarding spandsp) compared to the previous URLs.

AGX Extra Addons for Asterisk provide some fax applications that uses spandsp and works with Asterisk 1.4.

At the time of this writing, the latest version of spandsp is 0.0.5pre2. 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.4.X

SpanDSP is limited to 9600 bit/s and without ECM (error correction)? No, this was true up to and including SpanDSP 0.0.2, but nowadays ECM capabilities have been added. Also V.17 support is included (14400 bit/s), however that might turn out to be not as reliable as desired.

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.



See also


Created by pupeno, Last modification by JustRumours on Thu 29 of May, 2008 [14:42 UTC]

Comments Filter

Multipages fax

by czuker on 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?

Makefile patch for ast 1.2.1

by Jose Valverde on 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

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

by Paul Charles Leddy on 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.

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver