[OpenSIPS-Users] Opensips 2.4.x and CP 8
qasimakhan at gmail.com
qasimakhan at gmail.com
Tue Nov 5 22:51:46 EST 2019
Hi,
Here is your error:
ERROR:mi_json:mi_json_answer_to_connection: unexpected method [POST]
If you look up in documentation it says on first line:
JSON support via HTTP GET for Management Interface
Regards
Qasim
On Wed, 6 Nov 2019 at 6:58 AM, Jeff Wilkie <jwilkie at usipcom.com> wrote:
> Attempting to get CP8 and 2.4.x talking to each other. I have modules in
> the config enabled
>
> loadmodule "httpd.so"
> modparam("httpd", "ip", "127.0.0.1")
> modparam("httpd", "port", 8888)
> loadmodule "mi_json.so"
> modparam("mi_json", "mi_json_root", "json")
>
> When attempting to execute any MI_json command from CP we're seeing this
> from the opensips logs.
>
> ERROR:mi_json:mi_json_answer_to_connection: unexpected method [POST]
>
> Where is this error being generated? How do we correct this?
>
> Thanks
> Jeff
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191106/a8bac9b1/attachment-0001.html>
More information about the Users
mailing list