[OpenSIPS-Users] Opensips-cp 8.3.0 HTTP/1.1 400 Bad Request..

Răzvan Crainea razvan at opensips.org
Thu Oct 29 09:47:55 EST 2020


As I see in your logs, OpenSIPS CP uses the `json` URL path for querying 
MI, whereas the default root path is `mi`[1]. Either change the `root` 
to `json`, or modify your OpenSIPS CP boxes config to `mi`.

[1] https://opensips.org/docs/modules/3.1.x/mi_http.html#param_root

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 10/28/20 11:23 PM, Mario San Vicente wrote:
>    Thanks for the answer Johan,
> 
> But i see that; the *mi_json* module has been renamed to 
> *mi_http* module.  and so: failed to load module mi_json.so
> https://www.opensips.org/Documentation/Migration-2-4-0-to-3-0-0
> 
> I am using opensips 3.1
> I have this modules:
> 
> loadmodule "httpd.so"
> modparam("httpd", "port", 8888)
> #### MI_HTTP module
> loadmodule "json.so"
> #loadmodule "mi_json.so"
> loadmodule "mi_http.so"
> 
> Any other clue?
> 
> Thank you
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 



More information about the Users mailing list