- This topic is empty.
-
AuthorPosts
-
August 24, 2001 at 11:10 pm #2626AnonymousMember
Function GetMessageErrorCode(messageID As String) As Integer
-Member of wfxctl32.CSDKLogThere are several Phases in a normal fax transmission:
Phase A – Establish call (Send and receive Station identifiers, the CSID numbers)
Phase B – Pre-message procedure (determine fax capabilities, set baud rate, etc.)
Phase C – Fax transmisstion
Phase D – Post-message procedure (Message confirmation, End of Page, or multiple signals)Phase E – Call release(connection closed, send result codes (good or bad)
Each of phase B, C, & D is repeated for each fax page sent.
Call Placement & Termination
0: Normal and proper end of connection
1: Ring detect without successful handshake
2: Call aborted from +FK (terminate fax session)
(Caller aborts fax)
3: No loop current
4: Phone Line Busy
5: No dial tone, or no modem response.
(check that modem is on and connected to wall jack)
8: Modem error while setting up call
(Modem problem or bad init string)Transmit Phase A (Codes 10-19)
10::Unspecified phase A error
( remote station did not answer the call)
11::No answer
( remote station did not answer the call)Transmit Phase B (Codes 20-29)
20::Unspecified phase B error
21::Remote cannot receive or send
(out of paper, or disk space?)
22::Command received error in transmit phase B
23::Invalid command received24::Response received error
25::DCS (Digital Command Signal) sent 3x without response
26::DTC received 3x and not recognized
27::Failure to train
(Can not agree of transmit speeds, etc.)
28::Invalid response receivedTransmit Phase C (Codes 40-49)
40::Unspecified phase C error
(User abort?)
43::DTE to DCE data underflow
(Processor may be over loaded, UART buffer error)Transmit Phase D (Codes 50-69)
50::Unspecified phase D error
51::Response received error
52::No response to MPS (Multi-Page Signal)
53::Invalid response to MPS
54::No response to EOP (End of Page) repeated 3x
55::Invalid response to EOP56::No response to EOM (End of message)
57::Invalid response to EOM
58: :Protocol errorReceive Phase B (Codes 70-89)
70::Modem error setting modem data rate
71: :invalid Response received
72::Command received error
73::Timed out. Page not received
74::timed out after End of Message receivedReceieve Phase C (Codes 90-99)
90::Unable to write to diskReceive Phase D (Codes 100-119)
100::invalid Response received
102::invalid Response received
103::Protocol errorCodes 120-255 are reserved codes.
September 16, 2001 at 2:50 am #4438AnonymousInactiveJust to add to the above message, here are the return values for the GetMessageStatus Function:
Syntax short GetMessageStatus(BSTR messageID)
messageID – In parameter. ID of the message.
Gets the status of the message. This function returns are of the type TEventStatus.
typedef enum {
EVENTSTATUS_UNKNOWN = 2,
EVENTSTATUS_COMPLETE = 3,
EVENTSTATUS_FAILED = 4,
EVENTSTATUS_HOLDING = 5,
EVENTSTATUS_WAITING_AT_SERVER = 6,
EVENTSTATUS_RECURRING = 7,
EVENTSTATUS_SENDING = 8,
EVENTSTATUS_GROUP_SEND = 9,
EVENTSTATUS_PENDING = 10,
} TEventStatus;January 18, 2002 at 8:07 am #4439AnonymousMemberSorry, this question is not related to WinFaxPro but …
I am tring for my own fax send program in VC++ using
CreateFile to get the Modem Drive interface. and ReadFile,WriteFile for Communication. I am getting NSF Frame and CSI Frame Properly and also in the DCS frame it is showing proper ControlFlag (i.e.first three bytes) but after that all the data is b3 charecter in hex.and instead of getting CFR(confirmation to receive) or FTT (failed to train) i am getting the repeated sequence of NSF,CSI and DCS.
Can you guess why this may be happening? and What may be the solution?
Please try to help me, i am in very much need for the same.
January 27, 2002 at 5:22 am #4440AnonymousMemberyou might want to try posting your message on alt.fax, or one of the fax related development newsgroups. Its unlikely that you’ll find someone here programming at that fax spec level, since winfax handles all the fax protocol…
-
AuthorPosts
- You must be logged in to reply to this topic.