[Asterisk-Dev] fax codec problem

Matt Fredrickson creslin at digium.com
Fri Aug 26 09:21:02 MST 2005


On Fri, Aug 26, 2005 at 10:17:20AM +0300, Daniel Grad wrote:
> Hello,
> 
> I have the following problem when I send fax to asterisk:
> 
>    -- Executing RxFAX("IAX2/1002 at 123.123.12.12:4569/2", 
> "/var/spool/asterisk/fax/_1125039307.1.tif") in new stack
> 2005-08-26 06:55:09 NOTICE[30852]: channel.c:1317 ast_read: Dropping 
> incompatible voice frame on IAX2/1002 at 213.210.63.73:4569/2 of format 
> slin since our native format has changed to gsm
> 
> Reading around, I understood that I would have to add `allow=slin' to 
> iax.conf, but this hasn't changed anything. The dis/allow part of my 
> iax.conf is:
> 
> [general]
> ...
> disallow=all
> allow=gsm
> allow=slin
> ...
> [1002]
> ...
> disallow=all
> allow=gsm
> allow=slin

If you're receiving/transmitting faxes, you don't want to use gsm for anything.

Don't use lossy codecs for data.  Use slin or ulaw.

-- 
Matthew Fredrickson



More information about the asterisk-dev mailing list