With visa properties/modem line settings you can easily select the line setting you need and watch for the other line to change state. use property write and read.
succes
I don't know how immediate the line will change state but you can measure this yourself with an oscilloscope.
greetings from the Netherlands