On 03/09/2010 07:31 AM, Edwin Lam wrote:
> hi folks.
>
> i recently upgraded asterisk to 1.6.1.17(from 1.2) and i'm having
> problems with fax. after receiving fax with the ReceiveFAX app.
> everything seems ok. the .tiff file was there, phone line seems
> to hang up. then asterisk will crash. any ideas?
> also i looked in the log file. this is what before it crashed:
>
> [Mar  8 12:12:12] WARNING[30115] app_fax.c: WARNING T.30 ECM carrier not found
> [Mar  8 12:12:12] WARNING[30115] app_fax.c: WARNING T.30 ECM carrier not found
> [Mar  8 12:12:12] WARNING[30115] app_fax.c: WARNING T.30 ECM carrier not found
> [Mar  8 12:12:12] WARNING[30115] app_fax.c: WARNING T.30 ECM carrier not found
> [Mar  8 12:12:30] VERBOSE[30115] pbx.c: [Mar  8 12:12:30]     -- Auto 
> fallthrough, channel 'DAHDI/8-1' status is 'UNKNOWN'
> [Mar  8 12:12:30] VERBOSE[30115] pbx.c: [Mar  8 12:12:30]     -- Executing 
> [...@detectfax:1] GotoIf("DAHDI/8-1", "1?200") in new stack
> [Mar  8 12:12:30] VERBOSE[30115] pbx.c: [Mar  8 12:12:30]     -- Goto 
> (detectfax,h,200)
> [Mar  8 12:12:30] VERBOSE[30115] pbx.c: [Mar  8 12:12:30]     -- Executing 
> [...@detectfax:200] System("DAHDI/8-1", "/usr/local/bin/mailfax 
> /var/spool/asterisk/fax/4502-1268079069.417.tif x...@xxxx.com   ") in new 
> stack
> [Mar  8 12:12:31] VERBOSE[30115] chan_dahdi.c: [Mar  8 12:12:31]     -- 
> Hungup 'DAHDI/8-1'
>
> asterisk: 1.6.1.17
> spandsp: 0.0.6pre17
>    
Crashes of this kind are not uncommon, but the causes are:

     - Multiple versions of libtiff installed in different directories

     - Multiple versions of spandsp installed in different directories

     - Asterisk was built against a spandsp installed in a directory 
that is not in the library search path, while another version of spandsp 
is in a directory that is in the library search path. so, at run time 
the wrong library is picked up.

Many machines will happily build and install a library to /usr/local, 
and then successfully like applications against it, even though 
/usr/local is not in the library search path. Dumb, but true.

The installation information page for spandsp, at 
http://www.soft-switch.org/installing-spandsp.html , warns about these 
issues.

Steve




-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to