Can't send Fax with Elastix 2.0

Discussion in 'General' started by gregory14, Aug 16, 2010.

  1. gregory14

    Joined:
    Jun 3, 2010
    Messages:
    7
    Likes Received:
    0
    Hello,

    I installed Elastix 2.0 and I can receive fax but I can't send fax with the web interface. The target fax detect the call but doesn't print anything.

    Did someone already have this problem? How can I fix it?

    With Hylafax, I obtain this message :

    Code:
    SEND: Failure to train remote modem at 2400 bps or minimum speed
    The logs from the CLI :

    Code:
    elastix*CLI> 
        -- Accepting AUTHENTICATED call from 127.0.0.1:
           > requested format = slin,
           > requested prefs = (),
           > actual format = ulaw,
           > host prefs = (ulaw|alaw),
           > priority = mine
        -- Executing [02XXXXXXXX@from-internal:1] Macro("IAX2/1000-5755", "user-callerid,SKIPTTL,") in new stack
        -- Executing [s@macro-user-callerid:1] Set("IAX2/1000-5755", "AMPUSER=1000") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("IAX2/1000-5755", "0?report") in new stack
        -- Executing [s@macro-user-callerid:3] ExecIf("IAX2/1000-5755", "0?Set(REALCALLERIDNUM=1000)") in new stack
        -- Executing [s@macro-user-callerid:4] Set("IAX2/1000-5755", "AMPUSER=1000") in new stack
        -- Executing [s@macro-user-callerid:5] Set("IAX2/1000-5755", "AMPUSERCIDNAME=Fax 1") in new stack
        -- Executing [s@macro-user-callerid:6] GotoIf("IAX2/1000-5755", "0?report") in new stack
        -- Executing [s@macro-user-callerid:7] Set("IAX2/1000-5755", "AMPUSERCID=1000") in new stack
        -- Executing [s@macro-user-callerid:8] Set("IAX2/1000-5755", "CALLERID(all)="Fax 1" <1000>") in new stack
        -- Executing [s@macro-user-callerid:9] ExecIf("IAX2/1000-5755", "0?Set(CHANNEL(language)=)") in new stack
        -- Executing [s@macro-user-callerid:10] GotoIf("IAX2/1000-5755", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,19)
        -- Executing [s@macro-user-callerid:19] NoOp("IAX2/1000-5755", "Using CallerID "Fax 1" <1000>") in new stack
        -- Executing [02XXXXXXXX@from-internal:2] Set("IAX2/1000-5755", "_NODEST=") in new stack
        -- Executing [02XXXXXXXX@from-internal:3] Macro("IAX2/1000-5755", "record-enable,1000,OUT,") in new stack
        -- Executing [s@macro-record-enable:1] GotoIf("IAX2/1000-5755", "1?check") in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing [s@macro-record-enable:4] ExecIf("IAX2/1000-5755", "0?MacroExit()") in new stack
        -- Executing [s@macro-record-enable:5] GotoIf("IAX2/1000-5755", "0?Group:OUT") in new stack
        -- Goto (macro-record-enable,s,15)
        -- Executing [s@macro-record-enable:15] GotoIf("IAX2/1000-5755", "0?IN") in new stack
        -- Executing [s@macro-record-enable:16] ExecIf("IAX2/1000-5755", "1?MacroExit()") in new stack
        -- Executing [02XXXXXXXX@from-internal:4] Macro("IAX2/1000-5755", "dialout-trunk,2,02XXXXXXXX,,") in new stack
        -- Executing [s@macro-dialout-trunk:1] Set("IAX2/1000-5755", "DIAL_TRUNK=2") in new stack
        -- Executing [s@macro-dialout-trunk:2] GosubIf("IAX2/1000-5755", "0?sub-pincheck,s,1") in new stack
        -- Executing [s@macro-dialout-trunk:3] GotoIf("IAX2/1000-5755", "0?disabletrunk,1") in new stack
        -- Executing [s@macro-dialout-trunk:4] Set("IAX2/1000-5755", "DIAL_NUMBER=02XXXXXXXX") in new stack
        -- Executing [s@macro-dialout-trunk:5] Set("IAX2/1000-5755", "DIAL_TRUNK_OPTIONS=tr") in new stack
        -- Executing [s@macro-dialout-trunk:6] Set("IAX2/1000-5755", "OUTBOUND_GROUP=OUT_2") in new stack
        -- Executing [s@macro-dialout-trunk:7] GotoIf("IAX2/1000-5755", "1?nomax") in new stack
        -- Goto (macro-dialout-trunk,s,9)
        -- Executing [s@macro-dialout-trunk:9] GotoIf("IAX2/1000-5755", "0?skipoutcid") in new stack
        -- Executing [s@macro-dialout-trunk:10] Set("IAX2/1000-5755", "DIAL_TRUNK_OPTIONS=") in new stack
        -- Executing [s@macro-dialout-trunk:11] Macro("IAX2/1000-5755", "outbound-callerid,2") in new stack
        -- Executing [s@macro-outbound-callerid:1] ExecIf("IAX2/1000-5755", "0?Set(CALLERPRES()=)") in new stack
        -- Executing [s@macro-outbound-callerid:2] ExecIf("IAX2/1000-5755", "0?Set(REALCALLERIDNUM=1000)") in new stack
        -- Executing [s@macro-outbound-callerid:3] GotoIf("IAX2/1000-5755", "1?normcid") in new stack
        -- Goto (macro-outbound-callerid,s,6)
        -- Executing [s@macro-outbound-callerid:6] Set("IAX2/1000-5755", "USEROUTCID=") in new stack
        -- Executing [s@macro-outbound-callerid:7] Set("IAX2/1000-5755", "EMERGENCYCID=") in new stack
        -- Executing [s@macro-outbound-callerid:8] Set("IAX2/1000-5755", "TRUNKOUTCID=975171775") in new stack
        -- Executing [s@macro-outbound-callerid:9] GotoIf("IAX2/1000-5755", "1?trunkcid") in new stack
        -- Goto (macro-outbound-callerid,s,12)
        -- Executing [s@macro-outbound-callerid:12] ExecIf("IAX2/1000-5755", "1?Set(CALLERID(all)=975171775)") in new stack
        -- Executing [s@macro-outbound-callerid:13] ExecIf("IAX2/1000-5755", "0?Set(CALLERID(all)=)") in new stack
        -- Executing [s@macro-outbound-callerid:14] ExecIf("IAX2/1000-5755", "0?Set(CALLERID(all)=)") in new stack
        -- Executing [s@macro-outbound-callerid:15] ExecIf("IAX2/1000-5755", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
        -- Executing [s@macro-dialout-trunk:12] ExecIf("IAX2/1000-5755", "0?AGI(fixlocalprefix)") in new stack
        -- Executing [s@macro-dialout-trunk:13] Set("IAX2/1000-5755", "OUTNUM=02XXXXXXXX") in new stack
        -- Executing [s@macro-dialout-trunk:14] Set("IAX2/1000-5755", "custom=SIP/openip") in new stack
        -- Executing [s@macro-dialout-trunk:15] ExecIf("IAX2/1000-5755", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
        -- Executing [s@macro-dialout-trunk:16] Macro("IAX2/1000-5755", "dialout-trunk-predial-hook,") in new stack
        -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("IAX2/1000-5755", "") in new stack
        -- Executing [s@macro-dialout-trunk:17] GotoIf("IAX2/1000-5755", "0?bypass,1") in new stack
        -- Executing [s@macro-dialout-trunk:18] GotoIf("IAX2/1000-5755", "0?customtrunk") in new stack
        -- Executing [s@macro-dialout-trunk:19] Dial("IAX2/1000-5755", "SIP/openip/02XXXXXXXX,300,") in new stack
      == Using SIP RTP TOS bits 184
      == Using SIP RTP CoS mark 5
        -- Called openip/02XXXXXXXX
        -- Registered IAX2 '1000' (AUTHENTICATED) at 127.0.0.1:40000
        -- SIP/openip-0000006a is ringing
        -- SIP/openip-0000006a is making progress passing it to IAX2/1000-5755
    elastix*CLI> 
    elastix*CLI> 
        -- SIP/openip-0000006a answered IAX2/1000-5755
    elastix*CLI> 
    elastix*CLI> 
        -- Registered IAX2 '1000' (AUTHENTICATED) at 127.0.0.1:33529
        -- Registered IAX2 '1000' (AUTHENTICATED) at 127.0.0.1:40000
        -- Executing [h@macro-dialout-trunk:1] Macro("IAX2/1000-5755", "hangupcall,") in new stack
        -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/1000-5755", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,4)
        -- Executing [s@macro-hangupcall:4] GotoIf("IAX2/1000-5755", "1?skipblkvm") in new stack
        -- Goto (macro-hangupcall,s,7)
        -- Executing [s@macro-hangupcall:7] GotoIf("IAX2/1000-5755", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] Hangup("IAX2/1000-5755", "") in new stack
      == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/1000-5755' in macro 'hangupcall'
      == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'IAX2/1000-5755'
      == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'IAX2/1000-5755' in macro 'dialout-trunk'
      == Spawn extension (from-internal, 02XXXXXXXX, 4) exited non-zero on 'IAX2/1000-5755'
        -- Executing [h@from-internal:1] Macro("IAX2/1000-5755", "hangupcall") in new stack
        -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/1000-5755", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,4)
        -- Executing [s@macro-hangupcall:4] GotoIf("IAX2/1000-5755", "1?skipblkvm") in new stack
        -- Goto (macro-hangupcall,s,7)
        -- Executing [s@macro-hangupcall:7] GotoIf("IAX2/1000-5755", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] Hangup("IAX2/1000-5755", "") in new stack
      == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/1000-5755' in macro 'hangupcall'
      == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/1000-5755'
        -- Hungup 'IAX2/1000-5755'
        -- Registered IAX2 '1000' (AUTHENTICATED) at 127.0.0.1:33529
    
    The config.ttyIAX1 file :

    Code:
    CountryCode:            33
    AreaCode:               1
    FAXNumber:              09XXXXXXXX
    LongDistancePrefix:     1
    InternationalPrefix:    011
    DialStringRules:        etc/dialrules
    ServerTracing:          0xFFF
    SessionTracing:         0xFFF
    RecvFileMode:           0600
    LogFileMode:            0600
    DeviceMode:             0600
    RingsBeforeAnswer:      1
    SpeakerVolume:          off
    GettyArgs:              "-h %l dx_%s"
    LocalIdentifier:        "09XXXXXXXX"
    TagLineFont:            etc/lutRS18.pcf
    TagLineFormat:          "From %%l|%c|Page %%P of %%T"
    MaxRecvPages:           200
    
    The iaxmodem-cfg.ttyIAX4 file :

    Code:
    device          /dev/ttyIAX4
    owner           uucp:uucp
    mode            660
    port            5061
    refresh         60
    server          127.0.0.1
    peername        1003
    secret          1003
    cidname         xxxxxx
    cidnumber       09xxxxxxxx
    codec           ulaw
    
    Thanks
     

Share This Page