you can use the following commands on the phone when ssh is enabled to see debug information on the phone:
login with the username and password created on the CUCM page, then login with debug > debug
debug lsm vcm fim fsm gsm sip-messages sip-adapter snapshot
debug jvm SIPCC
sdump