res_fax.so res_fax_spandsp.so are connected
sip.conf:
callevents=yes allowtransfer=yes disallow=all allow=g729 allow=alaw allow=ulaw bindaddr=0.0.0.0 bindport=5060 canreinvite=no defaultexpirey=120 dtmfmode=rfc2833 t38pt_udptl=yes,redundancy,maxdatagram=400 faxdetect=yes echocancel=yes extensions.conf
exten => _0XXX.,1,NoOp(================outgoing fax ==============) exten => _0XXX.,n,Set(FAXOPT(ecm)=yes) exten => _0XXX.,n,Set(FAXOPT(minrate)=2400) exten => _0XXX.,n,Set(FAXFILE=/opt/fax/out/${UNIQUEID:0:10}_${CALLERID (num)}.tif) exten => _0XXX.,n,NoOp(Callerid:${CALLERID}=========EXTEN:${EXTEN}) exten => _0XXX.,n,RecieveFax(${FAXFILE},d) exten => _0XXX.,n,system(/bin/bash /opt/fax/make_fax.sh ${EXTEN:1} ${FAXFILE}) exten => _0XXX.,n,Hangup() Just because the fax is not sent (T.38 provider supports). I started inventing crutches (I still need to). The bottom line is that when we send someone a fax, dial the number after 0 and the fax receives an asterisk. On the line exten => fax, n, RecieveFax ($ {FAXFILE}, d), the asterisk starts receiving the fax, accepts it for a while, and then drops. The logs are empty (asterisk is clearly ending), there is no typh file.
The fax is physically connected to granstream gwx 4216, which is on the same network as the aster.
Where to dig?
core set debug 9enabled (core set debug 9in the asterisk console) - StuxForce