Some fax success - more help required

I have eventually been able to configure my dialplan to direct fax calls to my fax machine connected to a Linksys SPA3102. However, although the phone attached to the fax machine rings, the fax never picks up the call.

The Linksys is bridged, and I am not using the PSTN side - that comes in via Asterisk, with the fax extension set up as a Sip entry.

My relevant dialplan section looks like this:

[fax_in]
;
; Incoming fax calls directed here by distinctive ring settings in zapata.conf
;
exten => s,1,Answer()
exten => s,n,Wait(4)
exten => s,n,Playtones(ring)
exten => s,n,NVFaxDetect(4|dt)
exten => s,n,Hangup

exten => fax,1,StopPlaytones
exten => fax,n,NoOp(${CALLERID})
exten => fax,n,Dial(SIP/6003)
exten => fax,n,Congestion
exten => fax,n,Hangup()
exten => t,1,Hangup()
;

As I mentioned, this causes the extension to ring OK, but not to be picked up. I am assuming that this is an issue with the SPA3102’s configuration, but nothing I have found by Googling has made a difference.

I have downloaded the syslog app I found referenced on the Linksys site, and have debug information being recorded; however, I can’t make out if it is telling me anything of use. I’ve pasted the last attempted fax receive log here:

[0]<<192.168.0.2:5060(870)
[0]<<192.168.0.2:5060(870)
INVITE sip:6003@192.168.0.12:5061 SIP/2.0

INVITE sip:6003@192.168.0.12:5061 SIP/2.0

[0]->192.168.0.2:5060(304)
[0]->192.168.0.2:5060(304)
SIP/2.0 100 Trying

[0:0]AUD ALLOC CALL (port=17512)
[0:0]RTP Rx Up
[0]->192.168.0.2:5060(398)
[0]->192.168.0.2:5060(398)
SIP/2.0 180 Ringing

IDBG:sc-0
IDBG:rs:12
IDBG:sc-0
IDBG:rs:12
IDBG:sc-0
IDBG:rs:12
[0]<<192.168.0.2:5060(342)
[0]<<192.168.0.2:5060(342)
CANCEL sip:6003@192.168.0.12:5061 SIP/2.0

CANCEL sip:6003@192.168.0.12:5061 SIP/2.0

[0]->192.168.0.2:5060(339)
[0]->192.168.0.2:5060(339)
SIP/2.0 487 Request Terminated

[0]->192.168.0.2:5060(323)
[0]->192.168.0.2:5060(323)
SIP/2.0 200 OK

[0]FM Alert Stop RxTx (c=0023a2d0;a=0)
[0:0]AUD Rel Call
CC:Ended
[0]<<192.168.0.2:5060(398)
[0]<<192.168.0.2:5060(398)
ACK sip:6003@192.168.0.12:5061 SIP/2.0

ACK sip:6003@192.168.0.12:5061 SIP/2.0

DLG Terminated 26d504
Sess Terminated
CC:Clean Up
— OBJ POOL STAT —
OP:RTPRXB = 96 ( 96 192) OP:RTPREB = 40 ( 40 48)
OP:RTPTXB = 64 ( 64 108) OP:TIMEOU = 110 (120 52)
OP:SIPCOR = 0 ( 1 28) OP:SIPCTS = 32 ( 32 568)
OP:SIPSTS = 31 ( 32 3492) OP:SIPAUS = 0 ( 8 588)
OP:SIPDLG = 10 ( 10 148) OP:SIPSES = 12 ( 12 7936)
OP:SIPREG = 3 ( 4 292) OP:SIPLIN = 0 ( 2 140)
OP:SUBDLG = 2 ( 2 6436) OP:STUNTS = 16 ( 16 68)

Has anyone got this working correctly? It seems really odd that the extension rings but that the fax machine doesn’t answer it - and the fax machine was working fine before I connected it to *.

Thanks for any help.

Des

I found why the fax wasn’t being answered - I had forgotten to change the fax ring pickup from the distinctive ring setting, so it wasn’t getting the tones it expected.

I have now resolved that, and the machine now answers the fax calls; however, it consistently fails with an “Incomplete Reception” error message. I’m assuming that this is because it is not getting a clear fax signal. I’ve tried with echocancel on and off and have also added “dtmfmode=rfc2833” in the sip.conf definition for the extension, all to no avail.

I’d appreciate any thoughts on this.

Thanks,

Des

Fax and VOIP don’t work well together. (In fact, it doesn’t work at all.)

If I were you, I’d get an analog Digium card. One with an FXS and an FXO card.

Run your analog line into the FXO port, and then plug your fax into the FXS port.

You will never get fax lines to work over SIP ATA devices. Don’t bother to try. Seriously. It’s just not possible.

Try to use asterisk+iaxmodem+hylafax solution
this gave me good results, also through voip lines.

bye
smaikol

I suppose you use no compression - to have any chance getting FAX you should use codecs without compression.
There is some payed modules for Asterisk especially designed for fax channels.