I'm hoping someone can help with this...
I use Procomm Plus 4.8, Build 71. We have hundreds of Fax machines that get serviced in-house. For basic testing, I wrote a script to recieve a fax, then send that fax and a cover page back to the originating machine. The entire script works [in a backwards kinda way], but I've a problem I can't solve with this line...
faxstatus CURRENT Status FileName Faxmsg FaxTSID
As per the Help File in procomm, my variable "FaxTSID" should receive the station ID. Which it nearly does EXCEPT the last character is always missing! No matter what brand/model fax machines I use, or how many characters are programmed in the Sender ID...It always drops the very last digit. Any ideas why?
I created a work around to this by ....
But the work-around means my script can only send back to Traditional Fax Machines. For VOIP Fax / PC Fax Modems it attempts to dial back to the Station Name.
Incidentally, we can/do test using PSTN Fax Test Line Numbers... but for basic servicing, we only need to know that the sent/recieved faxes look okay.
Has anyone out there ever used that particular faxstatus variable succesfully?
I am wondering if it's a glitch in Procomm.
I use Procomm Plus 4.8, Build 71. We have hundreds of Fax machines that get serviced in-house. For basic testing, I wrote a script to recieve a fax, then send that fax and a cover page back to the originating machine. The entire script works [in a backwards kinda way], but I've a problem I can't solve with this line...
faxstatus CURRENT Status FileName Faxmsg FaxTSID
As per the Help File in procomm, my variable "FaxTSID" should receive the station ID. Which it nearly does EXCEPT the last character is always missing! No matter what brand/model fax machines I use, or how many characters are programmed in the Sender ID...It always drops the very last digit. Any ideas why?
I created a work around to this by ....
Code:
if strfind Faxmsg "Connected to"
;The FaxTSID is missing the last character for some reason
;hence we need to extract the TSID value differently
strcpy SendID Faxmsg
strdelete SendID 0 16
endif
But the work-around means my script can only send back to Traditional Fax Machines. For VOIP Fax / PC Fax Modems it attempts to dial back to the Station Name.
Incidentally, we can/do test using PSTN Fax Test Line Numbers... but for basic servicing, we only need to know that the sent/recieved faxes look okay.
Has anyone out there ever used that particular faxstatus variable succesfully?
I am wondering if it's a glitch in Procomm.