HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] hylafax t38modem




2007/12/28,<voipas@xxxxxxxxx>:
Hello,
  I want to test two t38modems (make loop). T38 modem version is 1.0.0 with opal. My command is:
t38modem --no-sip -n -o trace.log -p +/dev/ttyx0,+/dev/ttyx1 --route "modem:.*=h323:<dn>@ 127.0.0.1" --route "h323:.*=modem:<dn>"

cu -l ttyx0
AT <ENTER>
I get OK!

on another terminal:
cu -l ttyX1
AT <ENTER>
I get OK!

on the first terminal
atdt0123 <ENTER>

and on the second I get RING.

But when I make :
sendfax -n -h ttyx0@ -T 2 -d 123 /etc/asterisk/iax.conf
I get in hylafax log: Invalid dialing command.


config.ttyx0:
#
# HylaFAX configuration for a T38FAX Pseudo Modem
#

SessionTracing:         0x2FFF
RingsBeforeAnswer:      1

ModemType:              Class1          # use class 1 interface
ModemFlowControl:       rtscts          # default

ModemRevQueryCmd:       AT+FREV?

#
# AT#CID=10 enables ANI/DNIS reporting between the
# first and second RINGs in the form:
#
#   RING
#   NMBR = <calling number>
#   NDID = <called number>
#   RING
#
#ModemResetCmds:        "AT#CID=10"     # enable ANI/DNIS reporting
#RingsBeforeAnswer:     2               # collect info between two RINGs
#QualifyCID:            etc/cid         # CID access control list file
#CIDNumber:             "NMBR = "       # pattern string for calling number
#CIDName:               "NDID = "       # pattern string for called number


#
# T.38 dial modifiers
#
# F - enable T.38 mode request after dialing
# V - disable T.38 mode request after dialing (remote host should do it)
#
# calling/called number dial modifiers
#
# L - reset and begin of calling number
# D - continue of called number
#
#ModemDialCmd:          ATDF%s          # user can override F by dial V
#ModemDialCmd:          ATDV%s          # user can override V by dial F
#ModemDialCmd:          ATD%sF          # user can't override F
#ModemDialCmd:          ATD%sV          # user can't override V
#ModemDialCmd:          ATD%sVL         # user can't override V or calling number


config.ttyx1 :
#
# HylaFAX configuration for a T38FAX Pseudo Modem
#

SessionTracing:         0x2FFF
RingsBeforeAnswer:      1

ModemType:              Class1          # use class 1 interface
ModemFlowControl:       rtscts          # default

ModemRevQueryCmd:       AT+FREV?

#
# AT#CID=10 enables ANI/DNIS reporting between the
# first and second RINGs in the form:
#
#   RING
#   NMBR = <calling number>
#   NDID = <called number>
#   RING
#
#ModemResetCmds:        "AT#CID=10"     # enable ANI/DNIS reporting
#RingsBeforeAnswer:     2               # collect info between two RINGs
#QualifyCID:            etc/cid         # CID access control list file
#CIDNumber:             "NMBR = "       # pattern string for calling number
#CIDName:               "NDID = "       # pattern string for called number


#
# T.38 dial modifiers
#
# F - enable T.38 mode request after dialing
# V - disable T.38 mode request after dialing (remote host should do it)
#
# calling/called number dial modifiers
#
# L - reset and begin of calling number
# D - continue of called number
#
#ModemDialCmd:          ATDF%s          # user can override F by dial V
#ModemDialCmd:          ATDV%s          # user can override V by dial F
#ModemDialCmd:          ATD%sF          # user can't override F
#ModemDialCmd:          ATD%sV          # user can't override V
#ModemDialCmd:          ATD%sVL         # user can't override V or calling number


I found that the problem was with jobcontrol, for some reasons or my config settings don't want to work with t38modem.



Project hosted by iFAX Solutions