Janus not passing hold / unhold request from jssip to sip server

hi,
I am using jssip webrtc client and connected to janus server. I am successfully able to make the calls but facing an issue with call hold. I have installed janus in my own server. When i am using public janus domain it works fine. But when i am trying to use the own installed janus in my server call hold is not working. Janus displays the bellow error when i am trying to hold a call.
[ERR] [plugins/janus_sip.c:janus_sip_handler:4459] Wrong state (not established/inviting? status=idle)
kindly help on this

I don’t think the SIP plugin is compliant with JsSip. JsSip tries to do SIP in the browser, while the SIP plugin does all SIP in the plugin itself, hiding SIP details from the WebRTC user.

sorry one mistake. I am using janus client itself to dial. When i am using janus public demo its working fine. But when i am trying through the server which is installed janus i am facing this issue. Also there is one thing I have noted is, the issue is only for outgoing call. For the incoming call if i put call hold its working fine. When i am making call from janus client i am facing the issue. But when i recieve call in janus client i am able to put call hold. What may be the issue. I can see that the janus is not sending reinvite to the sip server.