Hi,
To do what you want, you need OCS to monitor your phone line: to do this, you can use third part product like Genesys GETS or Cisco CUPS.
It will translate JTAPI monitoring to SIP message for OCS understand.
I did implement GETS for CCM, still working on CUPS to make it work.