Re: [asterisk-users] 1.8.4-rc2: ReceiveFAX fails

2011-04-16 Thread Steve Underwood

On 04/16/2011 08:47 PM, Ryan Wagoner wrote:

On Sat, Apr 16, 2011 at 1:56 AM, Steve Underwoodste...@coppice.org  wrote:

On 04/16/2011 07:25 AM, Ryan Wagoner wrote:

On Fri, Apr 15, 2011 at 7:00 PM, sean darcyseandar...@gmail.comwrote:

Using spandsp-0.0.6-pre18, the Jan 22 release.


You might try using spandsp-0.0.6-pre17. That version works great for
me with 1.8.4-rc2. When I tried pre18 it failed to receive any faxes.

Of course, such an important regression was duly reported to the author,
wasn't it.

Steve

I wasn't sure if it was my problem or a regression with the release.
When I had searched nobody else mentioned the issue. I'd guess I have
around a 70% success rate with pre17 over ulaw from free fax services.
When I briefly tested pre18 I couldn't get any to come through. I do
appreciate your effort with spandsp.
70% is awful. You should be getting 99%, unless this is VoIP over a 
sucky network.


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


[asterisk-users] 1.8.4-rc2: ReceiveFAX fails

2011-04-15 Thread sean darcy

On a test fax:

-- Executing [s@incoming-fax:1] Set(DAHDI/4-1, 
FAXFILE=/var/spool/asterisk/fax/20110415_1825) in new stack

-- Executing [s@incoming-fax:2] Answer(DAHDI/4-1, ) in new stack
-- Executing [s@incoming-fax:3] ReceiveFAX(DAHDI/4-1, 
/var/spool/asterisk/fax/20110415_1825.tif) in new stack
-- Channel 'DAHDI/4-1' receiving FAX 
'/var/spool/asterisk/fax/20110415_1825.tif'

-- Channel 4 detected a CED tone towards the network.
[Apr 15 18:25:52] WARNING[5600]: res_fax_spandsp.c:367 spandsp_log: 
WARNING T.30 ECM carrier not found
[Apr 15 18:25:52] WARNING[5600]: res_fax_spandsp.c:367 spandsp_log: 
WARNING T.30 ECM carrier not found

  == Spawn extension (incoming-fax, s, 3) exited non-zero on 'DAHDI/4-1'


/var/spool/asterisk/fax exists, but no file 20110415_1825.tif is created.

Using spandsp-0.0.6-pre18, the Jan 22 release.

Do the log notes of the CED tone or the T.30 ECM warning have anything 
to do with this?


chan_dahdi.conf:

[pstn]
context=incoming-pstn-line ; Incoming calls go to [incoming-pstn-line]
 in extensions.conf
faxdetect=incoming
faxbuffers=6,full  ; who knows what this does
busydetect=yes
dahdichan = 4

Any idea on how to debug this?

sean


--
_
-- 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] 1.8.4-rc2: ReceiveFAX fails

2011-04-15 Thread Shaun Ruffell
On Fri, Apr 15, 2011 at 07:00:27PM -0400, sean darcy wrote:
...
 Do the log notes of the CED tone or the T.30 ECM warning have anything  
 to do with this?

I can't help with this.

 faxbuffers=6,full  ; who knows what this does

But I do know that this faxbuffers policy basically is telling the kernel to
allow ~120ms of audio to build up before shipping it out to the physical
board. This is to work around problems where scheduling jitter on the host
computer would prevent the asterisk process from keeping the DAHDI channel
full and fax machines do not handle gaps in the audio very well.

This is more pertinent if you're connecting a real fax machine to an FXS
port.

Cheers,
Shaun

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com  www.asterisk.org

--
_
-- 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] 1.8.4-rc2: ReceiveFAX fails

2011-04-15 Thread Ryan Wagoner
On Fri, Apr 15, 2011 at 7:00 PM, sean darcy seandar...@gmail.com wrote:
 Using spandsp-0.0.6-pre18, the Jan 22 release.


You might try using spandsp-0.0.6-pre17. That version works great for
me with 1.8.4-rc2. When I tried pre18 it failed to receive any faxes.

Ryan

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