[Home]

Summary:ASTERISK-02940: faxdetect fails on Asterisk CVS-HEAD-12/07/04-21:50:06
Reporter:heison (heison)Labels:
Date Opened:2004-12-08 10:39:36.000-0600Date Closed:2004-12-09 00:22:01.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Asterisk CVS-HEAD-12/07/04-21:50:06 built by root@pbx.ykz.zealnetworks.com on a i686 running Linux

incoming fax get thrown away:
   -- Executing SetVar("Zap/1-1", "count=0") in new stack
   -- Executing BackGround("Zap/1-1", "silence/1") in new stack
   -- Playing 'silence/1' (language 'en')
   -- Executing BackGround("Zap/1-1", "home-greeting") in new stack
   -- Playing 'home-greeting' (language 'en')
   -- Redirecting Zap/1-1 to fax extension
 == Spawn extension (incoming, fax, 61) exited non-zero on 'Zap/1-1'
   -- Timeout on Zap/1-1
 == CDR updated on Zap/1-1
   -- Executing Goto("Zap/1-1", "#|1") in new stack
   -- Goto (incoming,#,1)
   -- Executing Hangup("Zap/1-1", "") in new stack
 == Spawn extension (incoming, #, 1) exited non-zero on 'Zap/1-1'
   -- Hungup 'Zap/1-1'


-------------------

extension.conf:
[global]
FAX=Zap/5

[incoming]
.
.
. ; whitelist and blaclist
exten => s,59,SetVar,"count=0";
exten => s,60,BackGround(silence/1)            
exten => s,61,BackGround(home-greeting)        
exten => s,62,SetVar,"count=$[1 + ${count}]";
exten => s,63,BackGround(ext-or-zero)
exten => s,64,BackGround(silence/1)
exten => s,65,BackGround(to-dial-by-name-press)
exten => s,66,BackGround(digits/5)
exten => s,67,BackGround(silence/3)
exten => s,68,BackGround(to-place-outgoing-call)
exten => s,69,BackGround(pls-ent-num-transfer)
exten => s,70,BackGround(silence/5)
exten => s,71,BackGround(please-try-again)
exten => s,72,BackGround(silence/1)

exten => s,73,GotoIf($[${count} < 2 ]?s,61:s,74)
.
.
.
exten => fax,1,Dial(${FAX})


The last fax received successfully was on Dec 5 with the same config files.
Comments:By: Brian West (bkw918) 2004-12-08 12:56:53.000-0600

whats your exten => t,

bkw

By: heison (heison) 2004-12-08 13:19:53.000-0600

[incoming]
.
.
.

exten => t,1,Goto(#,1)

By: Anthony Minessale (anthm) 2004-12-08 13:27:14.000-0600

Try new CVS

By: Mark Spencer (markster) 2004-12-08 13:28:38.000-0600

you have to specify faxdetect=both in recent CVS.

By: heison (heison) 2004-12-08 14:01:09.000-0600

it had faxdetect=both in zapata.conf already, but then it works fine with current.
Thanks

By: heison (heison) 2004-12-08 14:01:58.000-0600

closing.