[asterisk-users] fax & spandsp

Tommy Botten Jensen tommy.jensen at freecode.no
Wed Mar 10 03:11:56 CST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Edwin Lam skrev:
> Klaus Darilion wrote:
>> The backtrace is not useable. Try to rebuild Asterisk with the "Don't 
>> Optimize" Option ("make menuconfig" and the the build options)
> 
> did that. no effect.
> i've got exactly the same result.
> 
>> Edwin Lam wrote:
>>> 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]
> 
> 

I am running Asterisk 1.6.2.1 and 1.6.2.2 with Spandsp 0.0.6-pre17 with
the exact same error messages. But my asterisk does not have any trouble
 apart from the messages themselves.

I did however run into this earlier, and I believe it was fixed for the
1.6.2.x series. At least it worked for me.


Best regards,

Tommy Botten Jensen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkuXYlwACgkQ573V05EH/pZpZQCeO8FPGqAJ4cRDlnyZOERbgNoj
0TEAmgOiY0byfIy3SIM5GR9gDrG+LZEY
=oN/L
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list