I've been reading certain articles about how ppl do hacking using a war dialer..

I just want to know behind the war dialer programs, how they detect the outcoming/incoming signal from certain pc/phone line and how they identify the phone line...
or easily how they works?