Digium API - is there "hook up" event?

Hello! I have Digium D50 and developing js application to control all necessary functions of phone. And I need now handle “hook up” event. As we know, the telephone has no lever under phone tube. It works on magnetic or sort of. So, if I hook up the phone, it fires no any keyPress event. BUT! If I hook down this one, it fires keyPressed event “hook.down”. Is there a way to catch hook up?