Hello,
depending what you need, from a web application the usual ways to
interact with Kamailio are:
* via RPC commands, which can be sent via FIFO file, Unix Socket file,
UDP/TCP raw sockets or HTTP/S -- see jsonrpcs module for using JSONRPC
or XMLRPC module
* via database - many of the Kamailio modules take/store information
from/to database. For example, if you want to add a new subscriber, you
can insert the corresponding record to database table subscriber and
Kamailio sees it immediately. For other modules, the syncronization with
database is configurable (e.g., see db_mode for usrloc module). Another
group of modules, take information from database and do caching, so you
have to send an RPC command when the database is changed and the "reload
should happen.
Cheers,
Daniel
On 30.12.20 18:12, Daniel Hermann N'don wrote:
*how to send request to kamailio from the web?*
*and how to show received xhttp request ?*
------------------------------------------------------------------------
*De :* sr-users <sr-users-bounces(a)lists.kamailio.org> de la part de
Antony Stone <Antony.Stone(a)kamailio.open.source.it>
*Envoyé :* mercredi 30 décembre 2020 14:35
*À :* Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
*Objet :* Re: [SR-Users] using kamailio 5.4 with the websocket or
xmlhttprequest
On Wednesday 30 December 2020 at 15:15:19, Daniel Hermann N'don wrote:
Hello everyone, I'm a beginner in kamailio
technology, and I would
like to
know how to communicate with kamailio from the
web.
Please define "communicate".
What are you trying to achieve?
Antony.
--
"Can you keep a secret?"
"Well, I shouldn't really tell you this, but... no."
Please reply to the
list;
please
*don't* CC me.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
<https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Funding:
https://www.paypal.me/dcmierla