[SR-Users] XMLRPC request URL

Henning Westerholt hw at skalatan.de
Thu Aug 8 20:09:22 CEST 2019


I needs to be XML? Maybe just using http? https://www.kamailio.org/docs/modules/5.2.x/modules/xhttp.html

Am 08.08.19 um 19:57 schrieb David Villasmil:
Thanks for replying Henning.

Yes, but the client sending the request can’t add a body to the request, it can only be a simple request. I.e.::

Http://myserver/enable?ip=1.2.3.4

So I’m trying to use that without writing a middle layer..

David

On Thu, 8 Aug 2019 at 18:45, Henning Westerholt <hw at skalatan.de<mailto:hw at skalatan.de>> wrote:

Hello David,

do you want to manipulate from external e.g. dispatcher list with RPC commands over XML? Have you already looked into the xmlrpc module?

https://www.kamailio.org/docs/modules/5.2.x/modules/xmlrpc.html

Cheers,

Henning

Am 07.08.19 um 19:15 schrieb David Villasmil:
Hello guys,

I can't find any reference to a pseudovariable containing the request url, i.e.: http://myserver/XMLRPC?server=1.2.3.4

I'd like to get that server variable and manipulate the dispatcher list... the http client can't do XMLRPC or add a body, just an https request..

Any ideas?

Regards,

David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337



_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services

--
Regards,

David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337

--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190808/c7da3ffa/attachment.html>


More information about the sr-users mailing list