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

2020-10-30 Thread Mario San Vicente
Hello  Răzvan ,

Thanks alot, that made the trick.

I will check if something is not matching with the monit page cause that is
not working ,  but that's another story.

Best regards.
Mario





On Thu, Oct 29, 2020 at 3:49 AM Răzvan Crainea  wrote:

> 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", )
> >  MI_HTTP module
> > loadmodule "json.so"
> > #loadmodule "mi_json.so"
> > loadmodule "mi_http.so"
> >
> > Any other clue?
> >
> > Thank you
> >
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


-- 
Mario San Vicente
Cheers!
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Managing drouting data

2020-10-30 Thread Callum Guy
I believe the DB followed by a dr_reload is your only option...

On Fri, 30 Oct 2020 at 15:49, Mark Farmer  wrote:

> Hi everyone
>
> I am looking for a way to manage routes etc in drouting without using
> opensips-cp.
> I was hoping to find a MI function to add/remove routes but there only
> seems to be dr_number_routing which just returns an existing route.
>
> Has anyone done this somehow? Interacting with the database directly seems
> less than ideal.
>
> Many thanks
> Mark.
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 





*0333 332   |  x-on.co.uk   |   ** 
    
   **  |  Coronavirus 
*


THE 
ITSPA AWARDS 2020  AND Best ITSP - 
Mid Market, Best Software and Best Vertical Solution are trade marks of the 
Internet Telephony Services Providers' Association, used under licence.

X-on
is a trading name of Storacall Technology Ltd a limited company 
registered in
England and Wales.

Registered Office : Avaland House, 110 
London Road, Apsley, Hemel Hempstead,
Herts, HP3 9SD. Company Registration 
No. 2578478.

The information in this e-mail is confidential and for use by 
the addressee(s)
only. If you are not the intended recipient, please notify 
X-on immediately on +44(0)333 332  and delete the
message from your 
computer. If you are not a named addressee you must not use,
disclose, 
disseminate, distribute, copy, print or reply to this email. Views
or 
opinions expressed by an individual
within this email may not necessarily
reflect the views of X-on or its associated companies. Although X-on 
routinely
screens for viruses, addressees should scan this email and any 
attachments
for
viruses. X-on makes no representation or warranty as to the 
absence of viruses
in this email or any attachments.










___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Managing drouting data

2020-10-30 Thread Mark Farmer
Hi everyone

I am looking for a way to manage routes etc in drouting without using
opensips-cp.
I was hoping to find a MI function to add/remove routes but there only
seems to be dr_number_routing which just returns an existing route.

Has anyone done this somehow? Interacting with the database directly seems
less than ideal.

Many thanks
Mark.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users