[Asterisk-Users] "Fax Handled: no" config

TC trclark at shaw.ca
Wed Mar 12 15:15:53 MST 2003


>Tim - can you show us your config as an example ?
[inBound]
exten => s,1,Answer
exten => s,2,setmusiconhold,default
exten => s,3,DigitTimeout,5
exten => s,4,responsetimeout,20
exten => s,5,BackGround,officemenu ;/var/lib/asterisk/sounds

;... other exts

;Fax Test
exten => fax,1,Dial,Zap/6
------
If you are not getting a fax re-route when using this set up
then you prolly need to check & see if the logic in dsp.d->dtmf_detect
lines 510-540 are seeing a CNG tone based on the fax_energy var
look for this test
if (!hit && (fax_energy >= FAX_THRESHOLD) && (fax_energy > s->energy *
21.0))

and add some debugging to see what fax_energy & s-energy look like sumfin
like
ast_log(LOG_DEBUG, "fax_energy %f ratio %f \n", fax_energy,
fax_energy/s-energy );

Also when playing with this last week & googling around it looks like the
ITU
allows 4 standards for a fax handshake, only one of which is for the sending
fax device
to start the hand shake with a CNG tone. I beleive to have discovered that
my telephone/fax
for example is one of these devices that will call a fax device then wait
for the called
fax device to send a CED tone (2100hz) then start the fax transmisison only
after the
called device sends the CED.. in this case * will fail to detect the remote
fax bcus
* does not send the CED tone, during the ans sequence







More information about the asterisk-users mailing list