Thanks kevin for the reply. I did a test on voice port and it came to on-hook. DSP looks fine and there is no issue.
Command: test voice port 1/x/x detector ring-trip off and the ports came on hook, but the issue is after disabled the same port goes to offhook state.
test voice port 1/x/x detector ring-trip disable. This disabled the testing.