Search code examples
kamailioopensipsopenser

OpenSIPs Control Panel errors


I have setup OpenSIPs control panel and I can successfully complete basic functions like adding users. Problem is I keep getting this error when clicking on most features in the control panel.

MI command failed with code 406

Not sure how to fix, any advice is appreciated.


Solution

  • I suspect you are using an 8.2.4 Control Panel with a 2.3 OpenSIPS. Please make sure to bump your OpenSIPS version as well to 2.4, so it stays compatible with your current release of the CP. Alternatively, you could downgrade the CP to 8.2.3.

    PS: the error itself means that the CP is trying to issue a JSON-RPC call to the httpd webserver built into OpenSIPS via HTTP POST, with 2.3 and older versions of OpenSIPS only supporting GET, hence the 406 reply.