TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: GREGORY ZELDNER
from: DAVID WILLIAMS
date: 2003-09-22 09:40:24
subject: hecking telephone line...

->     There are modem and telepone connected to my line. If somebody use phone 
-> have "No dialtone" message using terminal program. Does
anybody know how   
-> organize this king of checking in BASIC?   
->     Something like function, which return TRUE or FALSE accordingly to phone 
-> status...   
   
-> Gregory                                       [Node After Thirty]   
    
The message is generated by the modem. So all you have to program your   
computer to do is recognize the string "NO DIALTONE" when it arrives.   
    
INPUT #1, L$  ' file #1 is open to the modem port   
IF L$ = "NO DIALTONE" THEN   
......   
    
Something like that, anyway. I have written similar bits of code to   
make the computer tell the modem to answer the phone when the message   
"RING" arrives.   
    
IF L$ = "RING" THEN PRINT #1 "ATA"   
    
Not difficult.   
    
                         dow   
--- Platinum Xpress/Win/WINServer v3.0pr5
* Origin: The Bayman BBS,Toronto, (416)698-6573 - 1:250/514 (1:250/514)
SEEN-BY: 633/267 270
@PATH: 250/514 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.