HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Problems with Hylafax + iaxmodem for asterisk server.



Hello everybody, I have installed the hylafax + iaxmodem for asterisk
server, however Finally I cannot receive the email with fax. I paste the
logs here, can anyone give me a favor to overcome this? I have struggled for
this over more than 2 weeks...

Upon Fax in, the CLI shows:

Starting simple switch on 'Zap/1-1'
    -- Executing NoOp("Zap/1-1", "Entering from-zaptel with DID == ") in new
stack
    -- Executing Ringing("Zap/1-1", "") in new stack
    -- Executing Set("Zap/1-1", "DID=s") in new stack
    -- Executing NoOp("Zap/1-1", "DID is now s") in new stack
    -- Executing GotoIf("Zap/1-1", "1?zapok:notzap") in new stack
    -- Goto (from-zaptel,s,8)
    -- Executing NoOp("Zap/1-1", "Is a Zaptel Channel") in new stack
    -- Executing Set("Zap/1-1", "CHAN=1-1") in new stack
    -- Executing Set("Zap/1-1", "CHAN=1") in new stack
    -- Executing Macro("Zap/1-1", "from-zaptel-1|s|1") in new stack
    -- Executing NoOp("Zap/1-1", "Entering macro-from-zaptel-1 with DID =
s") in new stack
    -- Executing Gosub("Zap/1-1", "app-blacklist-check|s|1") in new stack
  == Channel 'Zap/1-1' jumping out of macro 'from-zaptel-1'
    -- Executing LookupBlacklist("Zap/1-1", "") in new stack
    -- Executing GotoIf("Zap/1-1", "0?blacklisted") in new stack
    -- Executing Return("Zap/1-1", "") in new stack
    -- Executing Set("Zap/1-1", "FROM_DID=s") in new stack
    -- Executing Set("Zap/1-1", "FAX_RX=1100") in new stack
    -- Executing Set("Zap/1-1", "FAX_RX_EMAIL=myemail_address@xxxxxxx") in
new stack
    -- Executing Answer("Zap/1-1", "") in new stack
    -- Executing Wait("Zap/1-1", "6") in new stack
    -- Redirecting Zap/1-1 to fax extension
  == Spawn extension (macro-from-zaptel-1, fax, 0) exited non-zero on
'Zap/1-1'
    -- Executing Goto("Zap/1-1", "ext-fax|in_fax|1") in new stack
    -- Goto (ext-fax,in_fax,1)
    -- Executing StopPlayTones("Zap/1-1", "") in new stack
    -- Executing GotoIf("Zap/1-1", "0?3:analog_fax|1") in new stack
    -- Goto (ext-fax,analog_fax,1)
    -- Executing GotoIf("Zap/1-1", "0?4:2") in new stack
    -- Goto (ext-fax,analog_fax,2)
    -- Executing Set("Zap/1-1", "DIAL=IAX2/1100") in new stack
    -- Executing Dial("Zap/1-1", "IAX2/1100|20|d") in new stack
    -- Called 1100
    -- Call accepted by 127.0.0.1 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/1100-1 is ringing
    -- IAX2/1100-1 answered Zap/1-1
    -- Hungup 'IAX2/1100-1'
  == Spawn extension (ext-fax, analog_fax, 3) exited non-zero on 'Zap/1-1'
    -- Executing System("Zap/1-1", "/var/lib/asterisk/bin/fax-process.pl
--to  --from myemail-address@xxxxxxx --subject "Fax from 65564084 "
--attachment fax_xxxxxxxx.pdf --type application/pdf --file ") in new stack
    -- Executing Hangup("Zap/1-1", "") in new stack
  == Spawn extension (ext-fax, h, 2) exited non-zero on 'Zap/1-1'
    -- Hungup 'Zap/1-1'



And 
[root@PT3 bin]# tail /var/log/messages
Jan 10 17:24:19 PT3 FaxGetty[8901]: MODEM Supports 20 ms/scanline
Jan 10 17:24:19 PT3 FaxGetty[8901]: MODEM Supports 40 ms, 20 ms/scanline
Jan 10 17:24:19 PT3 FaxGetty[8901]: MODEM Supports 40 ms/scanline
Jan 10 17:24:19 PT3 FaxGetty[8901]: MODEM WWW.SOFT-SWITCH.ORG spandsp/
Jan 10 17:24:19 PT3 FaxGetty[8901]: <-- [5:ATM0\r]
Jan 10 17:24:19 PT3 FaxGetty[8901]: --> [2:OK]
Jan 10 17:24:19 PT3 FaxGetty[8901]: <-- [9:AT+FAR=1\r]
Jan 10 17:24:19 PT3 FaxGetty[8901]: --> [2:OK]
Jan 10 17:24:19 PT3 FaxGetty[8901]: STATE CHANGE: RECEIVING -> RUNNING
(timeout 30)
Jan 10 17:24:21 PT3 init: Id "iax" respawning too fast: disabled for 5
minutes

And nothing shows out in /var/log/maillog, which means there is no emails
sent out upon fax in.

Vi /var/spool/hylafax/etc/xferfaxlog:

01/09/07 14:13  CALL    000000001       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:43    0:43    "Failure to receive
silence."   "device"        "6501"  "<NONE>::s"     ""      ""
01/09/07 14:16  CALL    000000002       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:43    0:43    "Failure to receive
silence."   "device"        "6501"  "<NONE>::s"     ""      ""
01/09/07 14:26  CALL    000000003       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:43    0:43    "Failure to receive
silence."   "device"        "6501"  "<NONE>::s"     ""      ""
01/09/07 14:45  CALL    000000004       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:32    0:32    "Failure to receive
silence."   "device"        "6501"  "<NONE>::s"     ""      ""
01/09/07 15:17  CALL    000000005       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:43    0:43    "Failure to receive
silence."   "device"        "6501"  "<NONE>::s"     ""      ""
01/09/07 17:24  CALL    000000006       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:43    0:43    "Failure to receive
silence."   "device"        "6501"  "<NONE>::s"     ""      ""
01/09/07 17:37  CALL    000000007       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:03    0:03    "Ring detected
without successful handshake"    "device"        "6501"  "<NONE>::s"     ""
""
01/09/07 18:15  CALL    000000008       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:34    0:34    "RSPREC error/got
EOT"  "<NONE>"        "65564084"      "<NONE>::s"     ""      ""
01/09/07 18:18  CALL    000000009       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:33    0:33    "RSPREC error/got
EOT"  "<NONE>"        "65564084"      "<NONE>::s"     ""      ""
01/09/07 18:21  CALL    000000010       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:33    0:33    "RSPREC error/got
EOT"  "<NONE>"        "65564084"      "<NONE>::s"     ""      ""
01/10/07 17:00  CALL    000000011       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:02    0:02    "Ring detected
without successful handshake"    "device"        "6501"  "<NONE>::s"     ""
""
01/10/07 17:19  CALL    000000012       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:33    0:33    "RSPREC error/got
EOT"  "<NONE>"        "<NONE>"        "<NONE>::s"     ""      ""
01/10/07 17:20  CALL    000000013       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:33    0:33    "RSPREC error/got
EOT"  "<NONE>"        "65564084"      "<NONE>::s"     ""      ""
01/10/07 17:22  CALL    000000014       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:33    0:33    "RSPREC error/got
EOT"  "<NONE>"        "65564084"      "<NONE>::s"     ""      ""
01/10/07 17:23  CALL    000000015       ttyIAX          ""      fax
"+65.6481.1788" ""      0       0       0:33    0:33    "RSPREC error/got
EOT"  "<NONE>"        "65564084"      "<NONE>::s"     ""      ""

Best Regards
 
Johnny    




____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions