[asterisk-dev] Debian Lenny and res_fax_spandsp

Steve Underwood steveu at coppice.org
Fri Jan 13 13:42:00 CST 2012


On 01/13/2012 11:47 PM, Kevin P. Fleming wrote:
> On 01/13/2012 09:38 AM, Paul Belanger wrote:
>> On 12-01-12 10:59 PM, Alec Davis wrote:
>>> This compile error doesn't worry me, I'll upgrade to squeeze.
>>>
>>> But should we still be supporting old distributions, that are still in
>>> their
>>> own maintenance window.
>>>
>>> This was trunk, but asterisk 10 has the same code.
>>>
>>> [LD] res_fax.o -> res_fax.so
>>> [CC] res_fax_spandsp.c -> res_fax_spandsp.o
>>> res_fax_spandsp.c: In function âspandsp_v21_newâ:
>>> res_fax_spandsp.c:468: error: âMODEM_CONNECT_TONES_FAX_CED_OR_PREAMBLEâ
>>> undeclared (first use in this function)
>>> res_fax_spandsp.c:468: error: (Each undeclared identifier is reported
>>> only
>>> once
>>> res_fax_spandsp.c:468: error: for each function it appears in.)
>>>
>>> I haven't manually replaced libspandsp-dev, so the old version was as
>>> below.
>>>
>>> Package: libspandsp-dev
>>> Status: install ok installed
>>> Priority: optional
>>> Section: libdevel
>>> Installed-Size: 1464
>>> Maintainer: Debian VoIP
>>> Team<pkg-voip-maintainers at lists.alioth.debian.org>
>>> Architecture: i386
>>> Source: spandsp
>>> Version: 0.0.5~pre4-1
>>> Depends: libspandsp1 (= 0.0.5~pre4-1), libtiff4-dev, libjpeg62-dev
>>> Description: Telephony signal processing library
>>> This is a low-level signal processing library that modulate and
>>> demodulate
>>> signals commonly used in telephony, such as the "noise" generated by a
>>> fax modem or DTMF touchpad.
>>>
>> Ideally yes. What version of asterisk is this? If you have not done so,
>> create a new issue in JIRA.
>
> This is the new V.21 preamble detection code that is looking for this 
> Spandsp feature; I did not realize that it had only recently been 
> added to Spandsp.
>
> In order to fix this, we'll need to determine in which version of 
> Spandsp this feature appeared, or if there was a different feature in 
> older versions that could be used instead.
>
The V.21 preamble detection is not recent. You will notice the spandsp 
version above is 0.0.5-pre4, which is ancient. Nobody should be using 
that, especially if they want to use T.38.

Steve




More information about the asterisk-dev mailing list