inbound Fax to e-mail or Fax machine

Discussion in 'General' started by Terry, Dec 28, 2007.

  1. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Dear Sir,
    I have test the Fax function on Version 0.9.2(Beta)
    (1)IAX 2 extension 205 can fax to IAX 2 extension 206
    and i can received e-mail also ,it is working
    (2)IAX 2 send fax to outside PSTN though IAX trunk is working
    3 My problems is I have a Zaptel card 2FXS2FXO ,I connect with fax machine on FXS ports 1 ,local PSTN connect with FXO ports 3 ,How can I config the extension let ports 3 PSTN ring then received the Fax then send to my e-mail account

    Terry
     
  2. MUD

    MUD

    Joined:
    Sep 12, 2007
    Messages:
    15
    Likes Received:
    0
    I also followed the videos, I am having problems with Fax incomming via PSTN on a Wildcard TDM400P REV I Board 1, it's not detecting and sending it as a voice call.
     
  3. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    To setup the fax on the FXS port configure it as extension > plug fax in

    goto inbound routes and configure your fxo inbound but also enable fax extension which will be the fxs port your fax is on

    Detect fax is zaptel and config a wait time of about 5sec to listen for fax tone

    then goto general tab and set extension of fax machine as your fxs port

    note:set on extension faxemail as freepbx default as defined under general settings

    Hope that helps

    forgot to add make sure echo training has no figures in it on the fxs port<br><br>Post edited by: DaveD, at: 2007/12/29 02:13
     
  4. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Dear Sll,
    My first test is config TDM 400 FXS port as
    Zaptel FXS ports =2,connect with Fax machine
    extension 555555,
    Fax Extension=555555,
    Fax Detection Type=Zaptel
    Pause after answer=5
    others is default

    IAX 2 Winprint HylaFax
    Extension is 204

    Fax from 204 to 555555 after 4 ring then connect with fax machine ,after 30 sec ,Fax machine hangup

    == Parsing '/etc/asterisk/asterisk.conf': Found
    == Parsing '/etc/asterisk/extconfig.conf': Found
    Connected to Asterisk 1.4.15 currently running on elastix (pid = 2535)
    Verbosity is at least 9
    -- Accepting AUTHENTICATED call from 127.0.0.1:
    > requested format = slin,
    > requested prefs = (),
    > actual format = ulaw,
    > host prefs = (ulaw|alaw|gsm),
    > priority = mine
    -- Executing [555555@from-internal:1] Macro("IAX2/204-1", "exten-vm|novm|555555") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("IAX2/204-1", "user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("IAX2/204-1", "user-callerid: ") in new stack
    -- Executing [s@macro-user-callerid:2] Set("IAX2/204-1", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("IAX2/204-1", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] GotoIf("IAX2/204-1", "1?start") in new stack
    -- Goto (macro-user-callerid,s,6)
    -- Executing [s@macro-user-callerid:6] NoOp("IAX2/204-1", "REALCALLERIDNUM is 204") in new stack
    -- Executing [s@macro-user-callerid:7] Set("IAX2/204-1", "AMPUSER=204") in new stack
    -- Executing [s@macro-user-callerid:8] Set("IAX2/204-1", "AMPUSERCIDNAME=204") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("IAX2/204-1", "0?report") in new stack
    -- Executing [s@macro-user-callerid:10] Set("IAX2/204-1", "AMPUSERCID=204") in new stack
    -- Executing [s@macro-user-callerid:11] Set("IAX2/204-1", "CALLERID(all)="204" <204>") in new stack
    -- Executing [s@macro-user-callerid:12] Set("IAX2/204-1", "REALCALLERIDNUM=204") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("IAX2/204-1", "TTL: ARG1: novm") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("IAX2/204-1", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("IAX2/204-1", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("IAX2/204-1", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("IAX2/204-1", "Using CallerID "204" <204>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("IAX2/204-1", "FROMCONTEXT=exten-vm") in new stack
    -- Executing [s@macro-exten-vm:3] Set("IAX2/204-1", "VMBOX=novm") in new stack
    -- Executing [s@macro-exten-vm:4] Set("IAX2/204-1", "EXTTOCALL=555555") in new stack
    -- Executing [s@macro-exten-vm:5] Set("IAX2/204-1", "CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("IAX2/204-1", "CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("IAX2/204-1", "RT=""") in new stack
    -- Executing [s@macro-exten-vm:8] Macro("IAX2/204-1", "record-enable|555555|IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("IAX2/204-1", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("IAX2/204-1", "recordingcheck|20071229-065853|1198882732.2") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20071229-065853|1198882732.2: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("IAX2/204-1", "No recording needed") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("IAX2/204-1", "dial||tr|555555") in new stack
    -- Executing [s@macro-dial:1] GotoIf("IAX2/204-1", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("IAX2/204-1", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    dialparties.agi: Starting New Dialparties.agi
    == Parsing '/etc/asterisk/manager.conf': Found
    == Parsing '/etc/asterisk/manager_custom.conf': Found
    == Manager 'admin' logged on from 127.0.0.1
    dialparties.agi: Caller ID name is '204' number is '204'
    dialparties.agi: USE_CONFIRMATION: 'FALSE'
    dialparties.agi: RINGGROUP_INDEX: ''
    dialparties.agi: Methodology of ring is 'none'
    -- dialparties.agi: Added extension 555555 to extension map
    -- dialparties.agi: Extension 555555 cf is disabled
    -- dialparties.agi: Extension 555555 do not disturb is disabled
    > dialparties.agi: extnum 555555 has: cw: 0; hascfb: 0 [] hascfu: 0 []
    > dialparties.agi: ExtensionState: 0
    dialparties.agi: Extension 555555 has ExtensionState: 0
    -- dialparties.agi: Checking CW and CFB status for extension 555555
    -- dialparties.agi: dbset CALLTRACE/555555 to 204
    == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:10] Dial("IAX2/204-1", "ZAP/2||tr") in new stack
    -- Called 2
    -- Zap/2-1 is ringing
    -- Zap/2-1 is ringing
    -- Zap/2-1 is ringing
    -- Zap/2-1 is ringing
    -- Zap/2-1 is ringing
    -- Zap/2-1 answered IAX2/204-1
    -- Hungup 'Zap/2-1'
    == Spawn extension (macro-dial, s, 10) exited non-zero on 'IAX2/204-1' in macro 'dial'
    == Spawn extension (macro-dial, s, 10) exited non-zero on 'IAX2/204-1' in macro 'exten-vm'
    == Spawn extension (macro-dial, s, 10) exited non-zero on 'IAX2/204-1'
    -- Executing [h@macro-dial:1] Macro("IAX2/204-1", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("IAX2/204-1", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("IAX2/204-1", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("IAX2/204-1", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("IAX2/204-1", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("IAX2/204-1", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("IAX2/204-1", "") in new stack
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'IAX2/204-1' in macro 'hangupcall'
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'IAX2/204-1'
    -- Hungup 'IAX2/204-1'
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected


    Need u mre help ,,,,,thanks<br><br>Post edited by: Terry, at: 2007/12/29 02:35
     
  5. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    From what I can see your sending faxes internally

    The setup I gave you was to get faxes incoming from your fxo to your fxs

    to test internally dial your fxs extension from another extension and see if you hear the fax tone from the fax machine

    also make sure there is no echo cancelling on the fxs port edit your fxs extension and leave all echo cancelling blank or it will not work

    Let me know if you get a fax tone when you dial the fax machine from normal sip phone
     
  6. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Dear Sir,
    I call from another sip extension (X-ten) softphone with Codec g711
    dial Zaptel FXS ports(connect with Fax machine)


    Cannot get Fax tone

    Terry
     
  7. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    Ok thanks that has narrowed this issue

    Is the fax machine on that extension actually answering ?

    Check the fax machine is set to fax and not fax-phone

    Let me know how it goes

    Will be popping in and out
     
  8. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Dear Sir,
    1 Yes,Fax machine get ring then show received ,,,,then hangup
    2 This is Fax Phone machine ,,,,,But i fix it at only fax function
    3 I make another test ,,,send Fax from this Fax machine to Iax 2 Hylafax extension ,,,and it is working ,i can received e-mail from this fax machine


    Terry
     
  9. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    It's good you can send a fax from the fax machine which tends to suggest it is something to do with the baud at which the fax machine receives or its the baud of the IAX modem at which it is sending

    Can you test sending a fax from your IAX modem to an external fax machine and see if it picks it up

    I think IAX modem is not negotiating correct send baud rate
     
  10. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Dear Sir,
    I have test many times
    1 Iax2 HylaFax extension send to another Iax2 HylaFax is Working ,E-mail can received also.
    2 Iax 2 HylaFax extension send through IAX 2 Trunk call to my Fax Machine connect with Local PSTN Line is working too


    But Through Zap FXS connect the same FAX Machine is Failed

    I am doubt
    Iax 2 HylaFax extension call Zap FXS connect with Fax machine ,IT is failed because of baud problems ?
    I think IAX modem is not negotiating correct send baud rate (when FAX is connect with Zap FXS ports)


    Very strange problems

    If Fax machine is connect with Zap FXS Ports ,Fax can Fax out But cannot Fax in (cannot received FAX from Iax2 HylaFax extension)



    Terry<br><br>Post edited by: Terry, at: 2007/12/29 06:55
     
  11. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    Sorry would say I miss read your reply

    In freepbx gui can you make sure there is no echo caceller enabled for you fax extension

    If there is delete them and submit leave them blank
     
  12. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Dear Sir,
    Thanks DaveD
    Yes,It is working now
    I turn off the echo cancel ,Fax can received now
    Thanks your Full support :)
    Terry
     
  13. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    Terry good to see you got it working
    Glad to help
     

Share This Page