Fax Receiving Issue

thebdj
Posts: 3
Member Since:
2007-10-10

I am having problems with receiving faxes since our switch from a Digium TDM400P to a Sangoma A200D. The switch was made for echo reasons, a problem which the Sangoma card with its hardware echo cancellation solved.

Since the switch was made, we are not able to receive incoming faxes. (Outgoing faxes didn't work properly before, and I have not tested them now. I am more worried about receiving them.) Our setup is using the rxfax app and spandsp to handle the faxes. We are not using Asterfax, Hylafax, or any other application. (I would prefer to keep it this way unless totally necessary to change.)

Incoming faxes appear to be properly handled as they were before based on my monitoring of our test fax attempts. Asterisk recognizes the incoming fax and begins the steps of receiving the fax; however, the transmission never occurs.

The transmitting fax machine also indicates that the connection is established, but it never starts the transmission of fax data. It appears the line is held open, but nothing occurs and eventually the attempt times out.

The following is my zapata.conf:

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
faxdetect=incoming
relaxdtmf = yes

immediate=no

;Sangoma A200 [slot:0 bus:1 span:1]
context=from-zaptel
group=0
signalling = fxs_ks
channel => 1

context=from-zaptel
group=0
signalling = fxs_ks
channel => 2

context=from-zaptel
group=0
signalling = fxs_ks
channel => 3

context=from-zaptel
group=0
signalling = fxs_ks
channel => 4

And my wanpipe1.conf:

[devices]
wanpipe1 = WAN_AFT_ANALOG, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 0
PCIBUS = 1
FE_MEDIA = FXO/FXS
TDMV_LAW = MULAW
TDMV_OPERMODE = FCC
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1

[w1g1]
ACTIVE_CH = ALL
TDMV_ECHO_OFF = NO
TDMV_HWEC = YES

Any help or suggestions would be appreciated. Is there any way I can get additional debug information during/after the fax procedure? (I am currently monitoring with Asterisk using a verbosity of 10.)



jbauman
Posts: 12
Member Since:
2007-03-29
Which version of wanpipe are

Which version of wanpipe are you using? According to the changelog at ftp://sangoma.com/linux/current_wanpipe/ChangeLog.stable.234 there were some fixes done related to faxing.



iBrokeIt
Posts: 25
Member Since:
2007-01-18
Turn up your rxgain. We

Turn up your rxgain in your zapata.conf file. We turn ours up to at least 5.0.

From the linux command line type in "ztmonitor [zap channel number] -v". This will show you a graphical representation of the signal strength of tx and rx. With an rxgain of zero, the rx signal would be very weak, only 4 or 5 *'s. Start turning up the rxgain until the rx signal strength is about the same as the tx signal strength.

Also, make sure you are using spand .2 and not .4 . The .4 version will not work.

FWIW...we started using Hylafax and the difference was night and day. You also get a lot more options and flexibility too.

HTH,
Jason



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.