<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hello,</p>
<p><br>
</p>
<p>depending what you need, from a web application the usual ways to
interact with Kamailio are:</p>
<p><br>
</p>
<p> * 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</p>
<p><br>
</p>
<p> * 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.</p>
<p><br>
</p>
<p>Cheers,<br>
Daniel</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 30.12.20 18:12, Daniel Hermann N'don
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MWHPR05MB29119A032BEDA31EBDF33E9D81D70@MWHPR05MB2911.namprd05.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<b style="color: rgb(0, 0, 0);">how to send request to kamailio
from the web?</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<b style="color: rgb(0, 0, 0);">and how to show received xhttp
request ?</b></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>De :</b>
sr-users <a class="moz-txt-link-rfc2396E" href="mailto:sr-users-bounces@lists.kamailio.org"><sr-users-bounces@lists.kamailio.org></a> de la
part de Antony Stone
<a class="moz-txt-link-rfc2396E" href="mailto:Antony.Stone@kamailio.open.source.it"><Antony.Stone@kamailio.open.source.it></a><br>
<b>Envoyé :</b> mercredi 30 décembre 2020 14:35<br>
<b>À :</b> Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a><br>
<b>Objet :</b> Re: [SR-Users] using kamailio 5.4 with the
websocket or xmlhttprequest</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span
style="font-size:11pt;">
<div class="PlainText">On Wednesday 30 December 2020 at
15:15:19, Daniel Hermann N'don wrote:<br>
<br>
> Hello everyone, I'm a beginner in kamailio
technology, and I would like to<br>
> know how to communicate with kamailio from the web.<br>
<br>
Please define "communicate".<br>
<br>
What are you trying to achieve?<br>
<br>
Antony.<br>
<br>
-- <br>
"Can you keep a secret?"<br>
"Well, I shouldn't really tell you this, but... no."<br>
<br>
<br>
Please
reply to the list;<br>
please *don't* CC me.<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div>
</span></font></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>