sending faxes

Help
drook
2009-07-02
2013-04-05
  • drook

    drook - 2009-07-02

    Hi.
    I've set up an installation of an * 1.4.24, iaxmodem 1.2.0 and hylafax 4.4.4.
    All of this works in the environment like
    hylafax <---> iaxmodem <----> * <--SIP--> cisco E1 gateway <--E1--> Avaya <--E1--> PSTN
    Ofc, hylafax/*/iaxmodem are on the same machine.

    I am able to receive faxes from PSTN, and it works like a charm.
    I am also able to send faxes from myself to myself (I got 6 iaxmodems).
    I am able to send faxes from Avaya extensions to hylafax.
    And it would be a complete success story if I would be able to send faxes to some place other that local iaxmodems. But it seems to be some trouble here, only like 10% of sent faxes are successful.

    Is it for me possible to do something to fox this isssue ?
    I tried to play with speeds when sending via sendfax, even on 2400 I can get "TRAINING failed", and lowering speed doesn't seem to help.
    I tried slinear codes and alaw, but didn't get any impovement.
    I also tried to set the initial skew value to 160, this didn't help too.

    * and cisco are on the same switch, and network load isn't high at all.
    Both are NTP-synchronized.

    The ususal log file with a failure looks like:

    ===Cut===[ 4026]: SESSION BEGIN 000000140 1800372                                                                      [ 4026]: HylaFAX (tm) Version 4.4.4                                                                           [ 4026]: SEND FAX: JOB 45 DEST 372 COMMID 000000140 DEVICE '/dev/ttyIAX4' FROM 'Charlie Root <root@asterisk-alpha.norma.perm.ru>' USER root                                                                                                     [ 4026]: STATE CHANGE: RUNNING -> SENDING                                                                     [ 4026]: <-- [12:AT+FCLASS=1\r]                                                                               [ 4026]: --> [2:OK]                                                                                           [ 4026]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled                                             [ 4026]: DIAL 372                                                                                             [ 4026]: <-- [8:ATDT372\r]                                                                                    [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: --> [20:9E E7 79 9E E7 79 9E E7 79 9E E7 79 9E E7 79 9E E7 79 9E E7]                                 [ 4026]: --> [20:79 9E E7 79 9E E7 79 9E E7 79 9E E7 79 9E E7 79 9E E7 79 9E]                                 [ 4026]: --> [20:E7 79 9E E7 79 9E E7 79 9E E7 79 9E E7 79 9E E7 79 9E E7 79]                                 [ 4026]: --> [20:9E E7 79 9E E7 79 9E E7 79 9E E7 79 9E E7 79 9E E7 79 9E E7]                                 [ 4026]: --> [20:79 9E E7 79 9E E7 79 9E E7 79 3E C0 19 11 10 10 30 42 26 C7]                                 [ 4026]: --> [2:10 03]                                                                                        [ 4026]: --> [5:ERROR]                                                                                        [ 4026]: MODEM Command error                                                                                  [ 4026]: FCS error                                                                                            [ 4026]: <-- [10:AT+FRS=21\r]                                                                                 [ 4026]: --> [2:OK]                                                                                           [ 4026]: <-- [9:AT+FTH=3\r]                                                                                   [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: <-- HDLC<3:FF C8 D8>                                                                                 [ 4026]: <-- data [3]                                                                                         [ 4026]: <-- data [2]                                                                                         [ 4026]: --> [2:OK]                                                                                           [ 4026]: SEND send CRP (command repeat)                                                                       [ 4026]: <-- [9:AT+FRH=3\r]                                                                                   [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: --> HDLC<22:FF C0 04 00 00 70 00 00 00 68 F0 82 E0 00 08 00 40 A9 01 10 13 A2>                       [ 4026]: --> [2:OK]                                                                                           [ 4026]: REMOTE NSF "00 00 0E 00 00 00 16 0F 41 07 00 10 00 02 95 80 08"                                      [ 4026]: NSF remote fax equipment: Panasonic                                                                  [ 4026]: <-- [9:AT+FRH=3\r]                                                                                   [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: --> HDLC<25:FF C0 02 1C 8C AC 0C 0C 4C 4C 04 04 04 04 04 04 04 04 04 04 04 04 04 C8 4C>              [ 4026]: --> [2:OK]                                                                                           [ 4026]: REMOTE CSI "2200518"                                                                                 [ 4026]: <-- [9:AT+FRH=3\r]                                                                                   [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: --> HDLC<11:FF C8 01 00 73 11 01 01 88 4C 9C>                                                        [ 4026]: --> [2:OK]                                                                                           [ 4026]: REMOTE best rate 9600 bit/s                                                                          [ 4026]: REMOTE max A4 page width (215 mm)                                                                    [ 4026]: REMOTE max unlimited page length                                                                     [ 4026]: REMOTE best vres 15.4 line/mm                                                                        [ 4026]: REMOTE format support: MH, MR                                                                        [ 4026]: REMOTE best 20 ms/scanline                                                                           [ 4026]: USE 9600 bit/s                                                                                       [ 4026]: SEND file "docq/doc50.ps;f0"                                                                         [ 4026]: USE A4 page width (215 mm)                                                                           [ 4026]: USE unlimited page length                                                                            [ 4026]: USE 3.85 line/mm                                                                                     [ 4026]: USE 2-D MR                                                                                           [ 4026]: USE 20 ms/scanline                                                                                   [ 4026]: SEND training at v.29 9600 bit/s                                                                     [ 4026]: <-- [9:AT+FRS=7\r]                                                                                   [ 4026]: --> [2:OK]                                                                                           [ 4026]: <-- [9:AT+FTH=3\r]                                                                                   [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: <-- HDLC<23:FF C0 C2 2C B6 A6 26 F6 B6 1A 82 92 04 04 04 04 04 04 04 04 04 04 04>                    [ 4026]: <-- data [23]                                                                                        [ 4026]: <-- data [2]                                                                                         [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: <-- HDLC<6:FF C8 C1 00 61 10>                                                                        [ 4026]: <-- data [6]                                                                                         [ 4026]: <-- data [2]                                                                                         [ 4026]: --> [2:OK]                                                                                           [ 4026]: <-- [9:AT+FTS=7\r]                                                                                   [ 4026]: --> [2:OK]                                                                                           [ 4026]: MODEM set XON/XOFF/FLUSH: input interpreted, output disabled                                         [ 4026]: <-- [10:AT+FTM=96\r]                                                                                 [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: DELAY 400 ms                                                                                         [ 4026]: <-- data [1024]                                                                                      [ 4026]: <-- data [776]                                                                                       [ 4026]: <-- data [2]                                                                                         [ 4026]: --> [2:OK]                                                                                           [ 4026]: MODEM set XON/XOFF/DRAIN: input ignored, output disabled                                             [ 4026]: <-- [9:AT+FRH=3\r]                                                                                   [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: --> HDLC<22:FF C0 04 00 00 70 00 00 00 68 F0 82 E0 00 08 00 40 A9 01 10 13 A2>                       [ 4026]: --> [2:OK]                                                                                           [ 4026]: REMOTE NSF "00 00 0E 00 00 00 16 0F 41 07 00 10 00 02 95 80 08"                                      [ 4026]: NSF remote fax equipment: Panasonic                                                                  [ 4026]: <-- [9:AT+FRH=3\r]                                                                                   [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: --> HDLC<25:FF C0 02 1C 8C AC 0C 0C 4C 4C 04 04 04 04 04 04 04 04 04 04 04 04 04 C8 4C>              [ 4026]: --> [2:OK]                                                                                           [ 4026]: REMOTE CSI "2200518"                                                                                 [ 4026]: <-- [9:AT+FRH=3\r]                                                                                   [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: --> HDLC<11:FF C8 01 00 73 11 01 01 88 4C 9C>                                                        [ 4026]: --> [2:OK]                                                                                           [ 4026]: SEND training at v.29 9600 bit/s                                                                     [ 4026]: <-- [9:AT+FRS=7\r]                                                                                   [ 4026]: --> [2:OK]                                                                                           [ 4026]: <-- [9:AT+FTH=3\r]                                                                                   [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: <-- HDLC<23:FF C0 C2 2C B6 A6 26 F6 B6 1A 82 92 04 04 04 04 04 04 04 04 04 04 04>                    [ 4026]: <-- data [23]                                                                                        [ 4026]: <-- data [2]                                                                                         [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: <-- HDLC<6:FF C8 C1 00 61 10>                                                                        [ 4026]: <-- data [6]                                                                                         [ 4026]: <-- data [2]                                                                                         [ 4026]: --> [2:OK]                                                                                           [ 4026]: <-- [9:AT+FTS=7\r]                                                                                   [ 4026]: --> [2:OK]                                                                                           [ 4026]: MODEM set XON/XOFF/FLUSH: input interpreted, output disabled                                         [ 4026]: <-- [10:AT+FTM=96\r]                                                                                 [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: DELAY 400 ms                                                                                         [ 4026]: <-- data [1024]                                                                                      [ 4026]: <-- data [776]                                                                                       [ 4026]: <-- data [2]                                                                                         [ 4026]: --> [2:OK]                                                                                           [ 4026]: MODEM set XON/XOFF/DRAIN: input ignored, output disabled                                             [ 4026]: <-- [9:AT+FRH=3\r]                                                                                   [ 4026]: --> [7:CONNECT]                                                                                      [ 4026]: --> HDLC<22:FF C0 04 00 00 70 00 00 00 68 F0 82 E0 00 08 00 40 A9 01 10 13 A2>                       [ 4026]: --> [2:OK]                                                                                           [ 4026]: REMOTE NSF "00 00 0E 00 00 00 16 0F 41 07 00 10 00 02 95 80 08"                                      [ 4026]: NSF remote fax equipment: Panasonic                                 [ 4026]: [9:AT+FRH=3\r][ 4026]: --[7:CONNECT][ 4026]: --[ 4026]: --[2:OK][ 4026]: REMOTE CSI [ 4026]: [9:AT+FRH=3\r][ 4026]: --[7:CONNECT][ 4026]: --[ 4026]: --[2:OK][ 4026]: SEND training at v.29 9600 bit/s[ 4026]: [9:AT+FRS=7\r][ 4026]: --[2:OK][ 4026]: [9:AT+FTH=3\r][ 4026]: --[7:CONNECT][ 4026]: [ 4026]: [23][ 4026]: [2][ 4026]: --[7:CONNECT][ 4026]: [ 4026]: [6][ 4026]: [2][ 4026]: --[2:OK][ 4026]: [9:AT+FTS=7\r][ 4026]: --[2:OK][ 4026]: MODEM set XON/XOFF/FLUSH: input interpreted, output disabled[ 4026]: [10:AT+FTM=96\r][ 4026]: --[7:CONNECT][ 4026]: DELAY 400 ms[ 4026]: [1024][ 4026]: [776][ 4026]: [2][ 4026]: --[2:OK][ 4026]: MODEM set XON/XOFF/DRAIN: input ignored, output disabled[ 4026]: [9:AT+FRH=3\r][ 4026]: --[7:CONNECT][ 4026]: --[ 4026]: --[2:OK][ 4026]: TRAINING failed[ 4026]: [9:AT+FRS=7\r][ 4026]: --[2:OK][ 4026]: [9:AT+FTH=3\r][ 4026]: --[7:CONNECT][ 4026]: [ 4026]: [3][ 4026]: [2][ 4026]: --[2:OK][ 4026]: MODEM input buffering enabled[ 4026]: [5:ATH0\r][ 4026]: --[2:OK][ 4026]: MODEM set DTR OFF[ 4026]: MODEM set baud rate: 0 baud (flow control unchanged)[ 4026]: STATE CHANGE: SENDING -(timeout 5)[ 4026]: SESSION ENDklzzwxh:10997===Cut===

    iaxmodem in foreground shows:klzzwxh:11067===Cut===klzzwxh:11068klzzwxh:109982009-07-02 13:32:54klzzwxh:10999 Dialing '372'klzzwxh:11069klzzwxh:110002009-07-02 13:32:54klzzwxh:11001 Call accepted.klzzwxh:11070klzzwxh:110022009-07-02 13:32:54klzzwxh:11003 Ringing heard.klzzwxh:11071klzzwxh:110042009-07-02 13:33:01klzzwxh:11005 Remote answered.klzzwxh:11072klzzwxh:110062009-07-02 13:33:09klzzwxh:11007 Adjusting skew to 10.klzzwxh:11073klzzwxh:110082009-07-02 13:33:09klzzwxh:11009 Adjusting skew to 20.klzzwxh:11074klzzwxh:110102009-07-02 13:33:09klzzwxh:11011 Adjusting skew to 30.klzzwxh:11075klzzwxh:110122009-07-02 13:33:09klzzwxh:11013 Adjusting skew to 40.klzzwxh:11076klzzwxh:110142009-07-02 13:33:09klzzwxh:11015 Adjusting skew to 50.klzzwxh:11077klzzwxh:110162009-07-02 13:33:09klzzwxh:11017 Adjusting skew to 60.klzzwxh:11078klzzwxh:110182009-07-02 13:33:09klzzwxh:11019 Adjusting skew to 70.klzzwxh:11079klzzwxh:110202009-07-02 13:33:09klzzwxh:11021 Adjusting skew to 80.klzzwxh:11080klzzwxh:110222009-07-02 13:33:10klzzwxh:11023 Adjusting skew to 90.klzzwxh:11081klzzwxh:110242009-07-02 13:33:10klzzwxh:11025 Adjusting skew to 100.klzzwxh:11082klzzwxh:110262009-07-02 13:33:10klzzwxh:11027 Adjusting skew to 110.klzzwxh:11083klzzwxh:110282009-07-02 13:33:10klzzwxh:11029 Adjusting skew to 120.klzzwxh:11084klzzwxh:110302009-07-02 13:33:10klzzwxh:11031 Adjusting skew to 130.klzzwxh:11085klzzwxh:110322009-07-02 13:33:10klzzwxh:11033 Adjusting skew to 140.klzzwxh:11086klzzwxh:110342009-07-02 13:33:10klzzwxh:11035 Adjusting skew to 150.klzzwxh:11087klzzwxh:110362009-07-02 13:33:10klzzwxh:11037 Adjusting skew to 160.klzzwxh:11088klzzwxh:110382009-07-02 13:33:10klzzwxh:11039 Adjusting skew to 170.klzzwxh:11089klzzwxh:110402009-07-02 13:33:11klzzwxh:11041 Adjusting skew to 180.klzzwxh:11090klzzwxh:110422009-07-02 13:33:11klzzwxh:11043 Adjusting skew to 190.klzzwxh:11091klzzwxh:110442009-07-02 13:33:11klzzwxh:11045 Adjusting skew to 200.klzzwxh:11092klzzwxh:110462009-07-02 13:33:11klzzwxh:11047 IAX2 jitter - lastklzzwxh:11048ts: 14884, ts: 17304klzzwxh:11093klzzwxh:110492009-07-02 13:33:11klzzwxh:11050 Adjusting skew to 190.klzzwxh:11094klzzwxh:110512009-07-02 13:33:14klzzwxh:11052 Adjusting skew to 180.klzzwxh:11095klzzwxh:110532009-07-02 13:33:18klzzwxh:11054 Adjusting skew to 170.klzzwxh:11096klzzwxh:110552009-07-02 13:33:23klzzwxh:11056 Adjusting skew to 160.klzzwxh:11097klzzwxh:110572009-07-02 13:33:28klzzwxh:11058 Adjusting skew to 150.klzzwxh:11098klzzwxh:110592009-07-02 13:33:34klzzwxh:11060 Adjusting skew to 140.klzzwxh:11099klzzwxh:110612009-07-02 13:33:39klzzwxh:11062 Adjusting skew to 130.klzzwxh:11100klzzwxh:110632009-07-02 13:33:41klzzwxh:11064 Remote hangup.klzzwxh:11101klzzwxh:110652009-07-02 13:33:41klzzwxh:11066 Hanging Upklzzwxh:11102===Cut===

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks