HylaFAX The world's most advanced open source fax server

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

[hylafax-users] HylaFAX can't retrieve CIDNumber ?




HylaFAX can't retrieve CIDNumber ?


My HylaFAX server is configured to use a US Robotics 56K Message modem (N°065668-00) connected to ttyS1 port on a Red Hat Enterprise Linux AS release 4. All is working fine, I can send and receive Fax. My only problem is that Hylafax doesn't seem to retrieve CIDNumber.

Here 's my config.ttyS1

#
CountryCode:            33
AreaCode:               1
FAXNumber:              0388888888
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules.europe
ServerTracing:          128
SessionTracing:         11
RecvFileMode:           0644
LogFileMode:            0644
DeviceMode:             0644
RingsBeforeAnswer:      2
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "Test123"
#LogFacility:           hylafax
TagLineFont:            etc/lutRS18.pcf
MaxRecvPages:           25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:        Class1        # use class 1 interface
ModemRate:        19200        # rate for DCE-DTE communication
ModemFlowControl:    xonxoff        # software flow control
#
ModemDialCmd:           ATDT%s
#
ModemSetupDTRCmd:    ATS13=1&D2    # setup so DTR drop resets modem
ModemSetupDCDCmd:    AT&C1        # setup so DCD reflects carrier (or not)
ModemNoFlowCmd:        AT&H0&I0&R1    # setup modem for no flow control
ModemHardFlowCmd:    AT&H1&I0&R2    # setup modem for hardware flow control
ModemSoftFlowCmd:    AT&H2&I2&R1    # setup modem for software flow control
ModemResultCodesCmd:    ATQ0X4        # enable result codes
#
ModemMfrQueryCmd:    !USR
ModemModelQueryCmd:    ATI3
ModemRevQueryCmd:    ATI7        # XXX returns a multi-line result
#
# When AT+FCLASS=1 is issued the modem automatically switches
# to software flow control; these parameters let the fax software
# reset flow control as needed after entering Class 1.
#
Class1NFLOCmd:        AT&H0&I0&R1    # setup modem for no flow control
Class1HFLOCmd:        AT&H1&I0&R2    # setup modem for hardware flow control
Class1SFLOCmd:        ""        # modem does this automatically
#
# This should resolve "DIS/DTC received 3 times" errors:
#
Class1ResponseWaitCmd:    AT+FRS=1    # wait after sending TCF for response
#
# The remainder of this configuration is included so that the
# modem "idles" in Class 0 while not sending or receiving facsimile.
#
ModemSetupAACmd:    AT+FCLASS=0    # leave modem idling in class 0
ModemAnswerCmd:        AT+FCLASS=1A    # answer in Class 1
#
# Disables the reporting of bad frames by the modem.  This
# overcomes a firmware problem in the x2 and V90 Sportsters.
# It is not necessary for the Courier modem.
#
Class2NRCmd:    AT+FNR=1,1,1,0
ModemResetCmds:        "AT#CID=1"
CIDNumber:             "NMBR="
CIDName:               "NAME="



And here is à log example :
Feb 06 13:18:42.44: [ 3412]: SESSION BEGIN 000000044 33388888888
Feb 06 13:18:42.44: [ 3412]: HylaFAX (tm) Version 4.4.3
Feb 06 13:18:42.44: [ 3412]: <-- [13:AT+FCLASS=1A\r]
Feb 06 13:18:47.62: [ 3412]: --> [7:CONNECT]
Feb 06 13:18:47.62: [ 3412]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS1'
Feb 06 13:18:47.62: [ 3412]: RECV FAX: begin
Feb 06 13:18:47.63: [ 3412]: <-- data [32]
Feb 06 13:18:47.63: [ 3412]: <-- data [2]
Feb 06 13:18:47.79: [ 3412]: --> [7:CONNECT]
Feb 06 13:18:47.79: [ 3412]: <-- data [23]
Feb 06 13:18:47.79: [ 3412]: <-- data [2]
Feb 06 13:18:48.51: [ 3412]: --> [7:CONNECT]
Feb 06 13:18:48.51: [ 3412]: <-- data [13]
Feb 06 13:18:48.51: [ 3412]: <-- data [2]
Feb 06 13:18:50.77: [ 3412]: --> [2:OK]
Feb 06 13:18:50.77: [ 3412]: <-- [9:AT+FRH=3\r]
Feb 06 13:18:51.29: [ 3412]: --> [7:CONNECT]
Feb 06 13:18:52.65: [ 3412]: --> [2:OK]
Feb 06 13:18:52.65: [ 3412]: REMOTE TSI "03XXXXXXXX"
Feb 06 13:18:52.65: [ 3412]: RECV recv TSI (sender id)
Feb 06 13:18:52.65: [ 3412]: <-- [9:AT+FRH=3\r]
Feb 06 13:18:52.66: [ 3412]: --> [7:CONNECT]
Feb 06 13:18:53.07: [ 3412]: --> [2:OK]
Feb 06 13:18:53.07: [ 3412]: REMOTE wants 14400 bit/s
Feb 06 13:18:53.07: [ 3412]: REMOTE wants A4 page width (215 mm)
Feb 06 13:18:53.07: [ 3412]: REMOTE wants unlimited page length
Feb 06 13:18:53.07: [ 3412]: REMOTE wants 200 x 100 dpi
Feb 06 13:18:53.07: [ 3412]: REMOTE wants 2-D MMR
Feb 06 13:18:53.07: [ 3412]: REMOTE wants T.30 Annex A, 256-byte ECM
Feb 06 13:18:53.07: [ 3412]: RECV recv DCS (command signal)
Feb 06 13:18:53.07: [ 3412]: RECV training at v.17 14400 bit/s
Feb 06 13:18:53.07: [ 3412]: <-- [11:AT+FRM=145\r]
Feb 06 13:18:54.81: [ 3412]: --> [7:CONNECT]
Feb 06 13:18:56.32: [ 3412]: RECV: TCF 2723 bytes, 0% non-zero, 2695 zero-run
Feb 06 13:18:56.33: [ 3412]: --> [10:NO CARRIER]
Feb 06 13:18:56.33: [ 3412]: <-- [9:AT+FRS=7\r]
Feb 06 13:18:56.43: [ 3412]: --> [2:OK]
Feb 06 13:18:56.43: [ 3412]: TRAINING succeeded
Feb 06 13:18:56.43: [ 3412]: <-- [9:AT+FTH=3\r]
Feb 06 13:18:56.62: [ 3412]: --> [7:CONNECT]
Feb 06 13:18:56.62: [ 3412]: <-- data [3]
Feb 06 13:18:56.62: [ 3412]: <-- data [2]
Feb 06 13:18:57.80: [ 3412]: --> [2:OK]
Feb 06 13:18:57.80: [ 3412]: <-- [11:AT+FRM=146\r]
Feb 06 13:18:58.78: [ 3412]: --> [7:CONNECT]
Feb 06 13:18:59.13: [ 3412]: RECV received frame number 0
Feb 06 13:18:59.34: [ 3412]: RECV received frame number 1
Feb 06 13:18:59.48: [ 3412]: RECV received frame number 2
Feb 06 13:18:59.62: [ 3412]: RECV received frame number 3
Feb 06 13:18:59.76: [ 3412]: RECV received frame number 4
Feb 06 13:18:59.90: [ 3412]: RECV received frame number 5
Feb 06 13:19:00.04: [ 3412]: RECV received frame number 6
Feb 06 13:19:00.18: [ 3412]: RECV received frame number 7
Feb 06 13:19:00.32: [ 3412]: RECV received frame number 8
Feb 06 13:19:00.39: [ 3412]: RECV received frame number 9
Feb 06 13:19:00.39: [ 3412]: RECV received RCP frame
Feb 06 13:19:00.49: [ 3412]: --> [10:NO CARRIER]
Feb 06 13:19:00.49: [ 3412]: <-- [9:AT+FRH=3\r]
Feb 06 13:19:00.89: [ 3412]: --> [7:CONNECT]
Feb 06 13:19:01.84: [ 3412]: --> [2:OK]
Feb 06 13:19:01.84: [ 3412]: RECV recv PPS (partial page signal)
Feb 06 13:19:01.84: [ 3412]: RECV recv EOP (no more pages or documents)
Feb 06 13:19:01.84: [ 3412]: RECV received 10 frames of block 1 of page 1
Feb 06 13:19:01.85: [ 3412]: RECV: 2366 bytes of data, 1169 total lines
Feb 06 13:19:01.85: [ 3412]: <-- [9:AT+FRS=7\r]
Feb 06 13:19:02.61: [ 3412]: --> [2:OK]
Feb 06 13:19:02.61: [ 3412]: <-- [9:AT+FTH=3\r]
Feb 06 13:19:02.80: [ 3412]: --> [7:CONNECT]
Feb 06 13:19:02.80: [ 3412]: <-- data [3]
Feb 06 13:19:02.80: [ 3412]: <-- data [2]
Feb 06 13:19:03.98: [ 3412]: --> [2:OK]
Feb 06 13:19:03.98: [ 3412]: RECV send MCF (message confirmation)
Feb 06 13:19:03.98: [ 3412]: RECV FAX (000000044): from 03XXXXXXXX, page 1 in 0:14, INF, 200 x 100 dpi, 2-D MMR, 14400 bit/s
Feb 06 13:19:03.98: [ 3412]: RECV FAX (000000044): recvq/fax000000021.tif from 03XXXXXXXX, route to <unspecified>, 1 pages in 0:16
Feb 06 13:19:03.98: [ 3412]: <-- [9:AT+FRH=3\r]
Feb 06 13:19:04.45: [ 3412]: --> [7:CONNECT]
Feb 06 13:19:05.32: [ 3412]: --> [2:OK]
Feb 06 13:19:05.32: [ 3412]: RECV recv DCN (disconnect)
Feb 06 13:19:05.32: [ 3412]: RECV FAX: bin/faxrcvd "recvq/fax000000021.tif" "ttyS1" "000000044" ""
Feb 06 13:19:05.32: [ 3412]: RECV FAX: end
Feb 06 13:19:05.32: [ 3412]: SESSION END



I've already try to use cu to test the modem with these commands : cu -l ttyS1 ATZ AT+FCLASS=1 AT#CID=1

But nothing appears (only RING).
Can someone help me to identify where the problem is ?

Hylafax Configuration ? Modem ? Pabx ?
Thx a lot.



*****************************************************
"Le contenu de ce courriel et ses eventuelles pièces jointes sont
confidentiels. Ils s'adressent exclusivement à la personne destinataire.
Si cet envoi ne vous est pas destiné, ou si vous l'avez reçu par erreur,
et afin de ne pas violer le secret des correspondances, vous ne devez pas
le transmettre à d'autres personnes ni le reproduire. Merci de le renvoyer
à l'émetteur et de le détruire.

Attention : L'Organisme de l'émetteur du message ne pourra être tenu responsable de l'altération
du présent courriel. Il appartient au destinataire de vérifier que les
messages et pièces jointes reçus ne contiennent pas de virus.
Les opinions contenues dans ce courriel et ses éventuelles pièces
jointes sont celles de l'émetteur. Elles ne reflètent pas la position de l'Organisme
sauf s'il en est disposé autrement dans le présent courriel."
******************************************************


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions