Menu

More than one page

Help
2011-07-20
2013-04-05
  • erwan - digiCONTACTS

    Hello,

    I'm using Hylafax 4.3.3 and Iaxmodem 1.2 and asterisk 1.4.25 and i succeed to receive incomming fax with noproblem but evry time i want to send fax with more than one page i got a problem

    here is my config files

    more /etc/iaxmodem/iaxmodem-cfg.ttyIAX2
    device          /dev/ttyIAX2
    owner           uucp:uucp
    mode            660
    port            4569
    refresh         60
    server          127.0.0.1
    peername        3001
    secret          381250
    cidname         Kkot
    cidnumber       +33412385081
    codec           alaw

    more /etc/hylafax/etc/config.ttyIAX2
    CountryCode:            33
    AreaCode:               4
    FAXNumber:              +33412385081
    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:        "Kalori"
    TagLineFont:            etc/lutRS18.pcf
    TagLineFormat:          "From %%l|%c|Page %%P of %%T"
    MaxRecvPages:           200
    #
    #
    # Modem-related stuff: should reflect modem command interface
    # and hardware connection/cabling (e.g. flow control).
    #
    ModemType:              Class1          # use this to supply a hint

    #
    # Enabling this will use the hfaxd-protocol to set Caller*ID
    #
    ModemSetOriginCmd:     AT+VSID="%s","%d"

    #
    # If "glare" during initialization becomes a problem then take
    # the modem off-hook during initialization, and then place it
    # back on-hook when done.
    #
    ModemResetCmds:        "ATH1\nAT+VCID=1"       # enables CallID display
    ModemReadyCmds:        ATH0

    Class1AdaptRecvCmd:     AT+FAR=1
    Class1TMConnectDelay:   400             # counteract quick CONNECT response

    Class1RMQueryCmd:      "!24,48,72,96"  # enable this to disable V.17 receiving
    Class1TMQueryCmd:      "!24,48,72,96"  # enable this to disable V.17 sending

    #
    # You'll likely want Caller*ID display (also displays DID) enabled.
    #
    ModemResetCmds:         AT+VCID=1       # enables CallID display

    #
    # If you are "missing" Caller*ID data on some calls (but not all)
    # and if you do not have adequate glare protection you may want to
    # not answer based on RINGs, but rather enable the CallIDAnswerLength
    # for NDID, disable AT+VCID=1 and do this:
    #
    #RingsBeforeAnswer: 0
    #ModemRingResponse: AT+VRID=1

    CallIDPattern:          "NMBR="
    CallIDPattern:          "NAME="
    CallIDPattern:          "ANID="
    CallIDPattern:          "NDID="
    #CallIDAnswerLength:    4
    # Uncomment these if you really want them, but you probably don't.
    #CallIDPattern:          "DATE="
    #CallIDPattern:          "TIME="

    To dialout i'm using mISDN

    Here is fax log

    SESSION BEGIN 000000817 33958610736
    jui 19 18:32:19.99: : HylaFAX ™ Version 4.3.3
    jui 19 18:32:19.99: : SEND FAX: JOB 67 DEST 0958610736 COMMID 000000817 DEVICE '/dev/ttyIAX1' FROM 'root <root@ipbx.digibox.net>' USER root
    jui 19 18:32:19.99: : STATE CHANGE: RUNNING -> SENDING
    jui 19 18:32:19.99: : <-
    jui 19 18:32:19.99: : ->
    jui 19 18:32:19.99: : MODEM set XON/XOFF/FLUSH: input ignored, output disabled
    jui 19 18:32:20.00: : DIAL 0958610736
    jui 19 18:32:20.00: : <-
    jui 19 18:32:26.66: : ->
    jui 19 18:32:28.06: : -> HDLC<25:FF C0 02 6C CC EC 0C 8C 6C 1C AC 9C 0C 04 1E 86 62 A6 A6 4E 62 04 04 CA 5A>
    jui 19 18:32:28.06: : ->
    jui 19 18:32:28.06: : REMOTE CSI "FreeFax 0958610736"
    jui 19 18:32:28.06: : <-
    jui 19 18:32:28.53: : ->
    jui 19 18:32:28.53: : -> HDLC<15:FF C8 01 00 73 5F 01 01 A9 01 01 01 18 7C 61>
    jui 19 18:32:28.59: : ->
    jui 19 18:32:28.59: : REMOTE best rate 9600 bit/s
    jui 19 18:32:28.59: : REMOTE max A3 page width (303 mm)
    jui 19 18:32:28.59: : REMOTE max unlimited page length
    jui 19 18:32:28.59: : REMOTE best vres R16 x 15.4 line/mm
    jui 19 18:32:28.59: : REMOTE format support: MH, MR
    jui 19 18:32:28.59: : REMOTE best 0 ms/scanline
    jui 19 18:32:28.59: : USE 9600 bit/s
    jui 19 18:32:28.59: : SEND file "docq/doc66.tif;c1"
    jui 19 18:32:28.59: : USE A4 page width (215 mm)
    jui 19 18:32:28.59: : USE unlimited page length
    jui 19 18:32:28.59: : USE 7.7 line/mm
    jui 19 18:32:28.60: : USE 2-D MR
    jui 19 18:32:28.60: : USE 0 ms/scanline
    jui 19 18:32:28.60: : SEND training at v.29 9600 bit/s
    jui 19 18:32:28.60: : <-
    jui 19 18:32:28.65: : ->
    jui 19 18:32:28.65: : <-
    jui 19 18:32:28.67: : ->
    jui 19 18:32:28.67: : <- HDLC<23:FF C0 C2 96 4E F6 36 86 D6 04 04 04 04 04 04 04 04 04 04 04 04 04 04>
    jui 19 18:32:28.67: : <- data
    jui 19 18:32:28.67: : <- data
    jui 19 18:32:30.18: : ->
    jui 19 18:32:30.18: : <- HDLC<6:FF C8 C1 00 63 1E>
    jui 19 18:32:30.18: : <- data
    jui 19 18:32:30.18: : <- data
    jui 19 18:32:30.54: : ->
    jui 19 18:32:30.54: : <-
    jui 19 18:32:30.63: : ->
    jui 19 18:32:30.63: : MODEM set XON/XOFF/FLUSH: input interpreted, output disabled
    jui 19 18:32:30.63: : <-
    jui 19 18:32:30.65: : ->
    jui 19 18:32:30.65: : DELAY 400 ms
    jui 19 18:32:31.05: : <- data
    jui 19 18:32:31.05: : <- data
    jui 19 18:32:31.05: : <- data
    jui 19 18:32:32.54: : ->
    jui 19 18:32:32.54: : MODEM set XON/XOFF/DRAIN: input ignored, output disabled
    jui 19 18:32:32.54: : <-
    jui 19 18:32:33.05: : ->
    jui 19 18:32:33.96: : -> HDLC<5:FF C8 21 57 BE>
    jui 19 18:32:34.02: : ->
    jui 19 18:32:34.02: : TRAINING succeeded
    jui 19 18:32:34.02: : <-
    jui 19 18:32:34.09: : ->
    jui 19 18:32:34.09: : <-
    jui 19 18:32:34.11: : ->
    jui 19 18:32:34.11: : DELAY 400 ms
    jui 19 18:32:34.51: : MODEM set XON/XOFF/FLUSH: input interpreted, output disabled
    jui 19 18:32:34.51: : SEND begin page
    jui 19 18:32:34.56: : Reading MMR-compressed image file
    jui 19 18:32:34.61: : <- data
    jui 19 18:32:34.61: : <- data
    jui 19 18:32:34.61: : <- data
    jui 19 18:32:34.61: : <- data
    jui 19 18:32:35.43: : <- data
    jui 19 18:32:35.43: : <- data
    jui 19 18:32:35.43: : <- data
    jui 19 18:32:35.43: : <- data
    jui 19 18:32:38.73: : <- data
    jui 19 18:32:38.73: : <- data
    jui 19 18:32:38.73: : <- data
    jui 19 18:32:38.73: : <- data
    jui 19 18:32:42.02: : <- data
    jui 19 18:32:42.02: : <- data
    jui 19 18:32:42.02: : <- data
    jui 19 18:32:42.02: : <- data
    jui 19 18:32:45.28: : <- data
    jui 19 18:32:45.28: : <- data
    jui 19 18:32:45.28: : <- data
    jui 19 18:32:45.28: : <- data
    jui 19 18:32:48.51: : <- data
    jui 19 18:32:48.52: : <- data
    jui 19 18:32:48.52: : <- data
    jui 19 18:32:48.52: : <- data
    jui 19 18:32:51.73: : <- data
    jui 19 18:32:51.73: : <- data
    jui 19 18:32:51.73: : <- data
    jui 19 18:32:51.73: : <- data
    jui 19 18:32:54.91: : <- data
    jui 19 18:32:54.91: : <- data
    jui 19 18:32:54.92: : <- data
    jui 19 18:32:54.92: : <- data
    jui 19 18:32:54.92: : SENT 32453 bytes of data
    jui 19 18:32:54.92: : SEND 2D RTC
    jui 19 18:32:54.92: : <- data
    jui 19 18:32:54.92: : <- data
    jui 19 18:32:54.92: : SEND end page
    jui 19 18:32:59.96: : ->
    jui 19 18:32:59.96: : MODEM set XON/XOFF/DRAIN: input ignored, output disabled
    jui 19 18:32:59.96: : <-
    jui 19 18:33:00.05: : ->
    jui 19 18:33:00.05: : SEND send MPS (more pages, same document)
    jui 19 18:33:00.05: : <-
    jui 19 18:33:00.06: : ->
    jui 19 18:33:00.06: : <- HDLC<3:FF C8 F2>
    jui 19 18:33:00.06: : <- data
    jui 19 18:33:00.06: : <- data
    jui 19 18:33:01.04: : ->
    jui 19 18:33:01.04: : <-
    jui 19 18:33:04.15: : ->
    jui 19 18:33:04.15: : MODEM <Empty line>
    jui 19 18:33:04.15: : MODEM TIMEOUT: waiting for v.21 carrier
    jui 19 18:33:04.15: : <- data
    jui 19 18:33:04.15: : ->
    jui 19 18:33:04.15: : SEND send MPS (more pages, same document)
    jui 19 18:33:04.15: : <-
    jui 19 18:33:04.17: : ->
    jui 19 18:33:04.17: : <- HDLC<3:FF C8 F2>
    jui 19 18:33:04.17: : <- data
    jui 19 18:33:04.17: : <- data
    jui 19 18:33:05.14: : ->
    jui 19 18:33:05.14: : <-
    jui 19 18:33:05.66: : ->
    jui 19 18:33:06.56: : -> HDLC<5:FF C8 5F C8 E7>
    jui 19 18:33:06.63: : ->
    jui 19 18:33:06.63: : SEND recv DCN (disconnect)
    jui 19 18:33:06.63: : Remote fax disconnected prematurely
    jui 19 18:33:06.63: : <-
    jui 19 18:33:06.63: : ->
    jui 19 18:33:06.63: : <- HDLC<3:FF C8 DF>
    jui 19 18:33:06.63: : <- data
    jui 19 18:33:06.63: : <- data
    jui 19 18:33:07.60: : ->
    jui 19 18:33:07.60: : MODEM input buffering enabled
    jui 19 18:33:07.60: : <-
    jui 19 18:33:07.72: : ->
    jui 19 18:33:07.72: : MODEM set DTR OFF
    jui 19 18:33:07.72: : MODEM set baud rate: 0 baud (flow control unchanged)
    jui 19 18:33:07.72: : STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
    jui 19 18:33:07.72: : SESSION END

    If someone can help ….

    I've try to change Codec to SLINEAR, i've disable buffer …….

    Thanks in advance

     
  • Lee Howard

    Lee Howard - 2011-08-27

    Historically users who were also using mISDN have had a lot of trouble.  I would start looking at mISDN and then at alternatives.

     

Log in to post a comment.