[asterisk-users] fax & spandsp

Edwin Lam edwin.lam at officegeneral.com
Mon Mar 8 19:23:37 CST 2010


Philip A. Prindeville wrote:
> On 03/08/2010 04:31 PM, 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 [h at 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 [h at detectfax:200] System("DAHDI/8-1", "/usr/local/bin/mailfax /var/spool/asterisk/fax/4502-1268079069.417.tif xxxx at 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
>>   
> 
> What happens when you turn off autofallthrough?

exactly same thing except instead of the "Auto fallthrough" line
the following came up:
pbx.c:3928 __ast_pbx_run: Don't know what to do with 'DAHDI/5-1'


and also here's the backtracce (i'm using Debian lenny)

*** glibc detected *** /usr/sbin/asterisk: double free or corruption (!prev): 0x082528b8 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7d66624]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7d68826]
/usr/sbin/asterisk[0x80d2e89]
/lib/i686/cmov/libpthread.so.0[0xb7ce156a]
/lib/i686/cmov/libc.so.6(clone+0x5e)[0xb7dd86de]



-- 
Edwin Lam <edwin.lam at officegeneral.com>
Systems Engineer, Office General, Inc.
Ph: +1 415 439 4988 Fax: +1 415 283 3370
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20




More information about the asterisk-users mailing list