[OpenSIPS-Users] mi_xmlrpc_ng for ul_dump

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Nov 12 09:31:53 EST 2018


Hi Schneur,

Do you see any errors in the OpenSIPS logs when you get these 500 MI 
replies ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
   http://opensips.org/training/OpenSIPS_Bootcamp_2018/

On 11/12/2018 04:29 PM, Schneur Rosenberg wrote:
> I upgraded OpenSIPs to 2.4.3 and the problem still remains, right
> after I restart OpenSIPs it works fine but after a approx 2 minutes I
> get a 500 Internal server error.
>
> I also tried changing ports and no success, the http server is
> running, as I can see the server listening to the port, and it is
> returning a 500 and not a failed to open stream: message that I would
> get when the server is not listsening.
> On Sat, Nov 10, 2018 at 9:15 PM Schneur Rosenberg
> <rosenberg11219 at gmail.com> wrote:
>> Bogdan, my script works when I start up OpenSIPs, but after running it
>> a few times it returns a "500 Internal server error" and only a
>> restart on OpenSIPs clears it up,
>>
>> Im runining Ver 2.4.1
>> On Thu, Nov 1, 2018 at 8:14 PM Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
>>> Hi Schneur,
>>>
>>> Yes, the ul_dump has an optional param, so you can use it without any
>>> parameters. The error you get says there is no payload found in your
>>> HTTP request. Normally the HTTP request should carry the XML with the
>>> request description.
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>>
>>> OpenSIPS Founder and Developer
>>>     http://www.opensips-solutions.com
>>> OpenSIPS Bootcamp 2018
>>>     http://opensips.org/training/OpenSIPS_Bootcamp_2018/
>>>
>>> On 10/31/2018 12:13 PM, Schneur Rosenberg wrote:
>>>> Hi, I was relying on the DB to get information regarding registered
>>>> users , but I'm having issues with the DB so I'm trying to get it
>>>> directly from opensips using mi_xmlrpc_ng, I'm using PHP with the
>>>> xmlrpc_encode_request function., but the ul_dump method does not seem
>>>> to have any params, when I remove the params I get a "401 Empty
>>>> request" reply, and if i place any other value in the params I get a
>>>> "500 Internal server error" reply, whats the proper way to get a
>>>> ul_dump using mi_xmlrpc_ng?
>>>>
>>>> S. Rosenberg
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list