FAX not working (incoming)

Discussion in 'General' started by itjumper, Oct 26, 2009.

  1. itjumper

    Joined:
    Jul 22, 2008
    Messages:
    81
    Likes Received:
    0
    Using Elastix 1.5.2 and same result with Digium TDM410 and Openvox A1200. Fax is not received, asterisk answered and detected FAX.

    1. Set up IAX extension 10001, with email address
    2. Set FAX extension on general settings to disabled
    2. Set up inbound route FAX extension to 10001, zaptel, 2 seconds

    The following is the asterisk log

    Code:
    [Oct 25 23:27:59] NOTICE[3055] chan_iax2.c: Restricting registration for peer '10001' to 60 seconds (requested 300)
    [Oct 25 23:28:23] VERBOSE[3280] logger.c:     -- Starting simple switch on 'DAHDI/1-1'
    [Oct 25 23:28:24] VERBOSE[3280] logger.c:     -- Executing [s@from-pstn:1] NoOp("DAHDI/1-1", "No DID or CID Match") in new stack
    [Oct 25 23:28:24] VERBOSE[3280] logger.c:     -- Executing [s@from-pstn:2] Answer("DAHDI/1-1", "") in new stack
    [Oct 25 23:28:24] DEBUG[3280] chan_dahdi.c: Took DAHDI/1-1 off hook
    [Oct 25 23:28:24] DEBUG[3280] chan_dahdi.c: Engaged echo training on channel 1
    [Oct 25 23:28:24] VERBOSE[3280] logger.c:     -- Executing [s@from-pstn:3] Wait("DAHDI/1-1", "2") in new stack
    [Oct 25 23:28:26] VERBOSE[3280] logger.c:     -- Executing [s@from-pstn:4] Playback("DAHDI/1-1", "ss-noservice") in new stack
    [Oct 25 23:28:26] VERBOSE[3280] logger.c:     -- <DAHDI/1-1> Playing 'ss-noservice' (language 'en')
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:     -- Redirecting DAHDI/1-1 to fax extension
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:   == Spawn extension (from-pstn, fax, 0) exited non-zero on 'DAHDI/1-1'
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:     -- Executing [fax@from-pstn:1] Goto("DAHDI/1-1", "ext-fax|in_fax|1") in new stack
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:     -- Goto (ext-fax,in_fax,1)
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:     -- Executing [in_fax@ext-fax:1] StopPlayTones("DAHDI/1-1", "") in new stack
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:     -- Executing [in_fax@ext-fax:2] GotoIf("DAHDI/1-1", "0?3:analog_fax|1") in new stack
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:     -- Goto (ext-fax,analog_fax,1)
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:     -- Executing [analog_fax@ext-fax:1] GotoIf("DAHDI/1-1", "1?5:2") in new stack
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:     -- Goto (ext-fax,analog_fax,5)
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:     -- Executing [analog_fax@ext-fax:5] Hangup("DAHDI/1-1", "") in new stack
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:   == Spawn extension (ext-fax, analog_fax, 5) exited non-zero on 'DAHDI/1-1'
    [Oct 25 23:28:28] VERBOSE[3280] logger.c:     -- Executing [h@ext-fax:1] System("DAHDI/1-1", "/var/lib/asterisk/bin/fax-process.pl --to  --from fax@xxxxxx.com --dest "" --subject "Fax from XXXXXXXX" --attachment fax_YYYYYYYYY.pdf --type application/pdf --file ") in new stack
    [Oct 25 23:28:29] VERBOSE[3280] logger.c:     -- Executing [h@ext-fax:2] Hangup("DAHDI/1-1", "") in new stack
    [Oct 25 23:28:29] VERBOSE[3280] logger.c:   == Spawn extension (ext-fax, h, 2) exited non-zero on 'DAHDI/1-1'
    [Oct 25 23:28:29] VERBOSE[3280] logger.c:     -- Hungup 'DAHDI/1-1'
    [Oct 25 23:28:54] NOTICE[3049] chan_iax2.c: Restricting registration for peer '10001' to 60 seconds (requested 300)
    
    Don't know why --to and --file parameters to fax-process.pl are empty. I don't see any tif file in /var/spool/hylafax/recvq. But the sequence # in seqf has been updated.

    Why the iax extension registration is restricted to 60 seconds??
     
  2. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    Can you please tray yum update?

    regards,

    Rafael
     
  3. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
  4. itjumper

    Joined:
    Jul 22, 2008
    Messages:
    81
    Likes Received:
    0
    It works again after I removed all fax modems and redo from the beginning.
     

Share This Page