[Home]

Summary:ASTERISK-14336: app_fax does not compile with iaxmodem 1.2.0
Reporter:Deuf (deuffy)Labels:
Date Opened:2009-06-18 12:05:14Date Closed:2009-06-20 14:14:28
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_fax
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hi,

Following an issue I'm still facing: sending fax with Mail2Fax (Hylafax-Iaxmodem-Asterisk) fails, I’ve noticed a possible cause hereafter. When I compile Asterisk 1.6.1.1 I've got the following error:


[venus -root] pwd
[venus -root] /usr/src/asterisk/asterisk-1.6.1.1
[venus -root] make
app_fax.c: In function transmit_audio:
app_fax.c:337: error: fax_state_t has no member named t30_state
app_fax.c: In function transmit_t38:
app_fax.c:517: error: t38_terminal_state_t has no member named t3_state
app_fax.c:518: error: t38_terminal_state_t has no member named t38
make[1]: *** [app_fax.o] Error 1
make: *** [apps] Error 2

Apparantly app_fax does not compile.
In the iaxmodem-1.2.0 README:
The spandsp source is spandsp-0.0.5 snapshot 20080725

Now I saw very similar cases closed about this issue (not exately the same version), but the problem is:
1) I don't find where I can download the desired spandsp version
2) How exactely can I link the spandsp version I want to iaxmodem
3) Where will Astersik load its spandsp library? into:
/usr/local/include or /usr/src/iaxmodem/lib/

Could you please help on this case.


Cheers

Fred.

Comments:By: Dmitry Andrianov (dimas) 2009-06-18 12:56:17

You can find many versions of SpanDSP on its official website: http://www.soft-switch.org/downloads/spandsp/

By: Deuf (deuffy) 2009-06-19 10:15:53

Ok but is there someone who knows which version to install with Asterisk 1.6.1.1 and how to install it instead of the spandsp's iaxmodem one.

By: Roberto Lopes (rflopes3) 2009-06-19 13:15:58

try to make iaxmodem statically with ./build static and compile app_fax with the spandsp version that it was made for.

By: Digium Subversion (svnbot) 2009-06-20 14:09:48

Repository: asterisk
Revision: 202183

U   trunk/apps/app_fax.c

------------------------------------------------------------------------
r202183 | seanbright | 2009-06-20 14:09:47 -0500 (Sat, 20 Jun 2009) | 5 lines

Fix version detection for API changes in spandsp.

(closes issue ASTERISK-14336)
Reported by: deuffy

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=202183

By: Digium Subversion (svnbot) 2009-06-20 14:14:21

Repository: asterisk
Revision: 202184

_U  branches/1.6.0/
U   branches/1.6.0/apps/app_fax.c

------------------------------------------------------------------------
r202184 | seanbright | 2009-06-20 14:14:20 -0500 (Sat, 20 Jun 2009) | 12 lines

Merged revisions 202183 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r202183 | seanbright | 2009-06-20 15:09:47 -0400 (Sat, 20 Jun 2009) | 5 lines
 
 Fix version detection for API changes in spandsp.
 
 (closes issue ASTERISK-14336)
 Reported by: deuffy
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=202184

By: Digium Subversion (svnbot) 2009-06-20 14:14:24

Repository: asterisk
Revision: 202185

_U  branches/1.6.1/
U   branches/1.6.1/apps/app_fax.c

------------------------------------------------------------------------
r202185 | seanbright | 2009-06-20 14:14:24 -0500 (Sat, 20 Jun 2009) | 12 lines

Merged revisions 202183 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r202183 | seanbright | 2009-06-20 15:09:47 -0400 (Sat, 20 Jun 2009) | 5 lines
 
 Fix version detection for API changes in spandsp.
 
 (closes issue ASTERISK-14336)
 Reported by: deuffy
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=202185

By: Digium Subversion (svnbot) 2009-06-20 14:14:27

Repository: asterisk
Revision: 202186

_U  branches/1.6.2/
U   branches/1.6.2/apps/app_fax.c

------------------------------------------------------------------------
r202186 | seanbright | 2009-06-20 14:14:27 -0500 (Sat, 20 Jun 2009) | 12 lines

Merged revisions 202183 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r202183 | seanbright | 2009-06-20 15:09:47 -0400 (Sat, 20 Jun 2009) | 5 lines
 
 Fix version detection for API changes in spandsp.
 
 (closes issue ASTERISK-14336)
 Reported by: deuffy
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=202186