Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords:
AddExtender("wwser34I.dll") MyModemIsOn="COM2" BBSPhone="5156000" port=pComOpen(MyModemIsOn,0,57600,"8N1","RTSRTS") ;Retry dial to good connect with carrier ;See pComInfo more other information while 1 pModemDial(port,1,BBSPhone) rslt=pModemConnect(port) err=pGetLastError(0) if err==0 then break Display(3,"Error Code",err) endwhileThe part about detecting if the line is busy is done on the pModemConnect line.
If pModemConnect returns 0, then the connection did not occur. If after a pModemConnect you do a pGetLastError it will tell you the problem.
-4 I think is BUSY
-1 is Voice Answered.
Article ID: W12569
Filename: Detect if a Line is Busy.txt
File Created: 2001:03:01:15:25:14
Last Updated: 2001:03:01:15:25:14