Hi to every one :cheesy:
(I'll say it once: forgive my bad english :sad: )
I have a question!!!
Is there any way to get information aboute Dial-tone PHISICALLY presense without performing a call dail?????!!!!!
I've write a code, in vc++, to make connections over 16 Comm Ports (throw a multiport) using relative modems; Now, while performing a dial, there is no problem to read out events, errors and so on (unsing GetModemSatus, SetCommMask or ClearCommError ect..); but i don't have ALWAYS all 16 lines attached to the front-end of the modem's reck :sad: (athor departements usually uses the same lines swithing some of them before telling my poor code about that) that's mean that my code MUST to know about the LINE presense BEFORE going on and performing a call!!!
All functions i've tried returns NO ERRORS even if there is no phone line attached :mad: (that is because there are no problems regarding the rs232 port nor the modem it self they are correctly working) the only way i've find is to MAKE a DIAL or a CONNECTION and wait for the negative responce (waiting for all my own retries :( ) witch is the thing that i'm trying to avoid.
Do some one have an idea to go over this problem??