Re: [asterisk-users] fax spandsp

2010-03-17 Thread Klaus Darilion


Am 16.03.2010 20:59, schrieb Edwin Lam:
 Steve Underwood wrote:
 Crashes of this kind are not uncommon, but the causes are:

   - Multiple versions of libtiff installed in different directories

 checked that. got only single version.

   - Multiple versions of spandsp installed in different directories

 i've got this:

 Hydra:/usr/local/lib# ls -l libspandsp*
 -rw-r--r-- 1 root staff 2098532 2010-03-07 17:05 libspandsp.a
 -rwxr-xr-x 1 root staff 865 2010-03-07 17:05 libspandsp.la
 lrwxrwxrwx 1 root staff  19 2010-03-07 17:05 libspandsp.so -  
 libspandsp.so.2.0.0
 lrwxrwxrwx 1 root staff  19 2006-08-02 08:35 libspandsp.so.0 -  
 libspandsp.so.0.0.1
 -rwxr-xr-x 1 root staff  976884 2006-08-02 08:35 libspandsp.so.0.0.1
 lrwxrwxrwx 1 root staff  19 2010-03-07 17:05 libspandsp.so.2 -  
 libspandsp.so.2.0.0
 -rwxr-xr-x 1 root staff 1597979 2010-03-07 17:05 libspandsp.so.2.0.0

 but whereis command only show 1 version.

 Hydra:/usr/local/lib# whereis libspandsp
 libspandsp: /usr/local/lib/libspandsp.a /usr/local/lib/libspandsp.la 
 /usr/local/lib/libspandsp.so

 should i delete the .0.0.1 just in case?

Yes.

You can also check which version will be used:

ldd /usr/lib/asterisk/modules/app_fax.so

regards
klaus



   - 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.



-- 
_
-- 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


Re: [asterisk-users] fax spandsp

2010-03-16 Thread Edwin Lam
Steve Underwood wrote:
 Crashes of this kind are not uncommon, but the causes are:
 
  - Multiple versions of libtiff installed in different directories

checked that. got only single version.
 
  - Multiple versions of spandsp installed in different directories

i've got this:

Hydra:/usr/local/lib# ls -l libspandsp*
-rw-r--r-- 1 root staff 2098532 2010-03-07 17:05 libspandsp.a
-rwxr-xr-x 1 root staff 865 2010-03-07 17:05 libspandsp.la
lrwxrwxrwx 1 root staff  19 2010-03-07 17:05 libspandsp.so - 
libspandsp.so.2.0.0
lrwxrwxrwx 1 root staff  19 2006-08-02 08:35 libspandsp.so.0 - 
libspandsp.so.0.0.1
-rwxr-xr-x 1 root staff  976884 2006-08-02 08:35 libspandsp.so.0.0.1
lrwxrwxrwx 1 root staff  19 2010-03-07 17:05 libspandsp.so.2 - 
libspandsp.so.2.0.0
-rwxr-xr-x 1 root staff 1597979 2010-03-07 17:05 libspandsp.so.2.0.0

but whereis command only show 1 version.

Hydra:/usr/local/lib# whereis libspandsp
libspandsp: /usr/local/lib/libspandsp.a /usr/local/lib/libspandsp.la 
/usr/local/lib/libspandsp.so

should i delete the .0.0.1 just in case?

 
  - 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.


-- 
Edwin Lam edwin@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=getsearch=0xD6506D20


-- 
_
-- 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


Re: [asterisk-users] fax spandsp

2010-03-12 Thread Edwin Lam
i gave up on ReceiveFAX and uses iaxmodem/hylafax instead.


Tommy Botten Jensen wrote:
 -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 [...@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...@.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-
 


-- 
Edwin Lam edwin@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=getsearch=0xD6506D20


-- 
_
-- 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


Re: [asterisk-users] fax spandsp

2010-03-12 Thread Steve Underwood
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...@.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


Re: [asterisk-users] fax spandsp

2010-03-10 Thread Edwin Lam
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 
 [...@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...@.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@officegeneral.com __
__ Systems Engineer, Office General, Inc. 
__ Ph: +1 415 439 4988 Fax: +1 415 283 3370 __
__ http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xEF11A895 __


-- 
_
-- 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


Re: [asterisk-users] fax spandsp

2010-03-10 Thread Tommy Botten Jensen
-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 [...@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...@.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-

-- 
_
-- 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


Re: [asterisk-users] fax spandsp

2010-03-09 Thread Klaus Darilion
The backtrace is not useable. Try to rebuild Asterisk with the Don't 
Optimize Option (make menuconfig and the the build options)

regards
klaus

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 
 [...@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...@.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]
 
 
 


-- 
_
-- 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


[asterisk-users] fax spandsp

2010-03-08 Thread Edwin Lam
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...@.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


-- 
Edwin Lam edwin@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=getsearch=0xD6506D20


-- 
_
-- 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


Re: [asterisk-users] fax spandsp

2010-03-08 Thread Philip A. Prindeville
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 
 [...@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...@.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?



-- 
_
-- 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


Re: [asterisk-users] fax spandsp

2010-03-08 Thread Edwin Lam
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 
 [...@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...@.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@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=getsearch=0xD6506D20


-- 
_
-- 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