WinprintHylaFAX send fax fail ,help!!!

Discussion in 'General' started by tbmax, Jul 17, 2009.

  1. tbmax

    Joined:
    Jul 16, 2009
    Messages:
    2
    Likes Received:
    0
    I can reviced fax ,but can't send fax. Can you help me ?my email:peter@tbmax.com.cn ,thanks a lot.
    system:elastix
    client:WinprintHylaFAX-1.2.9
    card : x100p


    elastix*CLI>
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Accepting AUTHENTICATED call from 127.0.0.1:
    > requested format = slin,
    > requested prefs = (),
    > actual format = ulaw,
    > host prefs = (ulaw|alaw|gsm),
    > priority = mine
    -- Executing [961502489@from-internal:1] Macro("IAX2/8008-807", "user-callerid|SKIPTTL|" ) in new stack
    -- Executing [s@macro-user-callerid:1] Set("IAX2/8008-807", "AMPUSER=8008" ) in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("IAX2/8008-807", "0?report" ) in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("IAX2/8008-807", "0|Set|REALCALLERIDNUM=8008" ) in new stack
    -- Executing [s@macro-user-callerid:4] Set("IAX2/8008-807", "AMPUSER=8008" ) in new stack
    -- Executing [s@macro-user-callerid:5] Set("IAX2/8008-807", "AMPUSERCIDNAME=guangruide fax" ) in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("IAX2/8008-807", "0?report" ) in new stack
    -- Executing [s@macro-user-callerid:7] Set("IAX2/8008-807", "AMPUSERCID=8008" ) in new stack
    -- Executing [s@macro-user-callerid:8] Set("IAX2/8008-807", "CALLERID(all)="guangruide fax" <8008>" ) in new stack
    -- Executing [s@macro-user-callerid:9] Set("IAX2/8008-807", "REALCALLERIDNUM=8008" ) in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("IAX2/8008-807", "0|Set|CHANNEL(language)=" ) in new stack
    -- Executing [s@macro-user-callerid:11] GotoIf("IAX2/8008-807", "1?continue" ) in new stack
    -- Goto (macro-user-callerid,s,20)
    -- Executing [s@macro-user-callerid:20] NoOp("IAX2/8008-807", "Using CallerID "guangruide fax" <8008>" ) in new stack
    -- Executing [961502489@from-internal:2] Set("IAX2/8008-807", "_NODEST=" ) in new stack
    -- Executing [961502489@from-internal:3] Macro("IAX2/8008-807", "record-enable|8008|OUT|" ) in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("IAX2/8008-807", "1?check" ) in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("IAX2/8008-807", "recordingcheck|20090717-013526|1247765726.27" ) in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20090717-013526|1247765726.27: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("IAX2/8008-807", "" ) in new stack
    -- Executing [961502489@from-internal:4] Macro("IAX2/8008-807", "dialout-trunk|1|61502489|" ) in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("IAX2/8008-807", "DIAL_TRUNK=1" ) in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("IAX2/8008-807", "0?sub-pincheck|s|1" ) in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("IAX2/8008-807", "0?disabletrunk|1" ) in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("IAX2/8008-807", "DIAL_NUMBER=61502489" ) in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("IAX2/8008-807", "DIAL_TRUNK_OPTIONS=tr" ) in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("IAX2/8008-807", "OUTBOUND_GROUP=OUT_1" ) in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("IAX2/8008-807", "1?nomax" ) in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("IAX2/8008-807", "0?skipoutcid" ) in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("IAX2/8008-807", "DIAL_TRUNK_OPTIONS=" ) in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("IAX2/8008-807", "outbound-callerid|1" ) in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("IAX2/8008-807", "0|SetCallerPres|" ) in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("IAX2/8008-807", "0|Set|REALCALLERIDNUM=8008" ) in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("IAX2/8008-807", "1?normcid" ) in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("IAX2/8008-807", "USEROUTCID=" ) in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("IAX2/8008-807", "EMERGENCYCID=" ) in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("IAX2/8008-807", "TRUNKOUTCID=" ) in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("IAX2/8008-807", "1?trunkcid" ) in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("IAX2/8008-807", "0|Set|CALLERID(all)=" ) in new stack
    -- Executing [s@macro-outbound-callerid:13] GotoIf("IAX2/8008-807", "1?exit" ) in new stack
    -- Goto (macro-outbound-callerid,s,11)
    -- Executing [s@macro-outbound-callerid:11] MacroExit("IAX2/8008-807", "" ) in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("IAX2/8008-807", "0|AGI|fixlocalprefix" ) in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("IAX2/8008-807", "OUTNUM=61502489" ) in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("IAX2/8008-807", "custom=DAHDI/g0" ) in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("IAX2/8008-807", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)" ) in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("IAX2/8008-807", "dialout-trunk-predial-hook|" ) in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("IAX2/8008-807", "" ) in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("IAX2/8008-807", "0?bypass|1" ) in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("IAX2/8008-807", "0?customtrunk" ) in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("IAX2/8008-807", "DAHDI/g0/61502489|300|" ) in new stack
    -- Called g0/61502489
    -- DAHDI/1-1 answered IAX2/8008-807
    -- Executing [h@macro-dialout-trunk:1] Macro("IAX2/8008-807", "hangupcall|" ) in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("IAX2/8008-807", "w" ) in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("IAX2/8008-807", "" ) in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("IAX2/8008-807", "1?skiprg" ) in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("IAX2/8008-807", "1?skipblkvm" ) in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("IAX2/8008-807", "1?theend" ) in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("IAX2/8008-807", "" ) in new stack
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'IAX2/8008-807' in macro 'hangupcall'
    == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'IAX2/8008-807'
    -- Hungup 'DAHDI/1-1'
    == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'IAX2/8008-807' in macro 'dialout-trunk'
    == Spawn extension (from-internal, 961502489, 4) exited non-zero on 'IAX2/8008-807'
    -- Hungup 'IAX2/8008-807'
    elastix*CLI>
     
  2. apcloic

    Joined:
    May 6, 2009
    Messages:
    90
    Likes Received:
    0
    Hi,

    I've had the same problem (receive Ok but unable to send).
    Here's what solved the problem for me :
    - go to your IAX extension
    - change the parameter "notransfer" to "no" instead of "yes"
    It works for me, so maybe you could give a try.
    Byye
     
  3. tbmax

    Joined:
    Jul 16, 2009
    Messages:
    2
    Likes Received:
    0
    I have tried it,but can't send fax.What's wrong?:S




    -- Executing [961502489@from-internal:1] Macro("IAX2/8008-8669", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("IAX2/8008-8669", "AMPUSER=8008") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("IAX2/8008-8669", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("IAX2/8008-8669", "0|Set|REALCALLERIDNUM=8008") in new stack
    -- Executing [s@macro-user-callerid:4] Set("IAX2/8008-8669", "AMPUSER=8008") in new stack
    -- Executing [s@macro-user-callerid:5] Set("IAX2/8008-8669", "AMPUSERCIDNAME=guangruide fax") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("IAX2/8008-8669", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("IAX2/8008-8669", "AMPUSERCID=8008") in new stack
    -- Executing [s@macro-user-callerid:8] Set("IAX2/8008-8669", "CALLERID(all)="guangruide fax" <8008>") in new stack
    -- Executing [s@macro-user-callerid:9] Set("IAX2/8008-8669", "REALCALLERIDNUM=8008") in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("IAX2/8008-8669", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:11] GotoIf("IAX2/8008-8669", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,20)
    -- Executing [s@macro-user-callerid:20] NoOp("IAX2/8008-8669", "Using CallerID "guangruide fax" <8008>") in new stack
    -- Executing [961502489@from-internal:2] Set("IAX2/8008-8669", "_NODEST=") in new stack
    -- Executing [961502489@from-internal:3] Macro("IAX2/8008-8669", "record-enable|8008|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("IAX2/8008-8669", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("IAX2/8008-8669", "recordingcheck|20090720-180711|1248084431.4") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20090720-180711|1248084431.4: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("IAX2/8008-8669", "") in new stack
    -- Executing [961502489@from-internal:4] Macro("IAX2/8008-8669", "dialout-trunk|1|61502489|") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("IAX2/8008-8669", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("IAX2/8008-8669", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("IAX2/8008-8669", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("IAX2/8008-8669", "DIAL_NUMBER=61502489") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("IAX2/8008-8669", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("IAX2/8008-8669", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("IAX2/8008-8669", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("IAX2/8008-8669", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("IAX2/8008-8669", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("IAX2/8008-8669", "outbound-callerid|1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("IAX2/8008-8669", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("IAX2/8008-8669", "0|Set|REALCALLERIDNUM=8008") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("IAX2/8008-8669", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("IAX2/8008-8669", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("IAX2/8008-8669", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("IAX2/8008-8669", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("IAX2/8008-8669", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("IAX2/8008-8669", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] GotoIf("IAX2/8008-8669", "1?exit") in new stack
    -- Goto (macro-outbound-callerid,s,11)
    -- Executing [s@macro-outbound-callerid:11] MacroExit("IAX2/8008-8669", "") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("IAX2/8008-8669", "0|AGI|fixlocalprefix") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("IAX2/8008-8669", "OUTNUM=61502489") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("IAX2/8008-8669", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("IAX2/8008-8669", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("IAX2/8008-8669", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("IAX2/8008-8669", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("IAX2/8008-8669", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("IAX2/8008-8669", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("IAX2/8008-8669", "DAHDI/g0/61502489|300|") in new stack
    -- Called g0/61502489
    -- DAHDI/1-1 answered IAX2/8008-8669
    -- Executing [h@macro-dialout-trunk:1] Macro("IAX2/8008-8669", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("IAX2/8008-8669", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("IAX2/8008-8669", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("IAX2/8008-8669", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("IAX2/8008-8669", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("IAX2/8008-8669", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("IAX2/8008-8669", "") in new stack
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'IAX2/8008-8669' in macro 'hangupcall'
    == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'IAX2/8008-8669'
    -- Hungup 'DAHDI/1-1'
    == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'IAX2/8008-8669' in macro 'dialout-trunk'
    == Spawn extension (from-internal, 961502489, 4) exited non-zero on 'IAX2/8008-8669'
     
  4. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Are you able to dial the same fax number from any extension using the same trunk zap/g0 ?? You should hear the fax tone. If not, it is a problem with your outbound routes.

    You should also have a look at the hylafax logs in /var/spool/hylafax/logs. Maybe you can see the problem there.

    If you can't see anything definitive there neither, try to increase the verbosity and debug level in the asterisk console and see if you find the problem at the logs.
     
  5. sara230

    Joined:
    Sep 1, 2009
    Messages:
    1
    Likes Received:
    0
    I have the same problem. I can not send faxes to my fax machine(88590527) asterisk log is similar to "tbmax" but in hylafax log I get the following error:

    Sep 07 14:15:32.98: [ 3444]: SESSION BEGIN 000000089 982188590527
    Sep 07 14:15:32.98: [ 3444]: HylaFAX (tm) Version 4.3.3
    Sep 07 14:15:32.98: [ 3444]: SEND FAX: JOB 29 DEST 88590527 COMMID 000000089 DEVICE '/dev/ttyIAX1' FROM '251 <251@192.168.200.206>' USER 251
    Sep 07 14:15:32.98: [ 3444]: STATE CHANGE: RUNNING -> SENDING
    Sep 07 14:15:32.98: [ 3444]: <-- [12:AT+FCLASS=1\r]
    Sep 07 14:15:32.98: [ 3444]: --> [2]
    Sep 07 14:15:32.98: [ 3444]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
    Sep 07 14:15:32.98: [ 3444]: DIAL 88590527
    Sep 07 14:15:32.98: [ 3444]: <-- [13:ATDT88590527\r]
    Sep 07 14:16:37.42: [ 3444]: --> [10:NO CARRIER]
    Sep 07 14:16:37.43: [ 3444]: SEND FAILED: JOB 29 DEST 88590527 ERR No carrier detected
    Sep 07 14:16:37.43: [ 3444]: <-- [5:ATH0\r]
    Sep 07 14:16:37.43: [ 3444]: --> [2]
    Sep 07 14:16:37.43: [ 3444]: MODEM set DTR OFF
    Sep 07 14:16:37.43: [ 3444]: MODEM set baud rate: 0 baud (flow control unchanged)
    Sep 07 14:16:37.43: [ 3444]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
    Sep 07 14:16:37.43: [ 3444]: SESSION END


    Also I can hear the fax tone but it seems like that it never starts to send fax. I tried to change "notransfer" to "no",it did not work either!!!! no luck!!!
    note:I am using PSTN +4 FXO (Openvox)
    Please help me:( . Thanks a lot
     

Share This Page