<div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Thanks.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Daniel, </pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Regarding jsonrpc-s, 2 questions if I may:</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">1. Is it possible to send multiple requests that are handled simultaneously like sip workers? or are they handled one by one on the listening fifo ?</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:arial,sans-serif">2. can you send an example of how to use dlg.dlg_end with the relevant dialog params?</span><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">BR,</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Uri</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">The module is not intended to be used in a "scripted" mode.
It simply provides a simple web interface with all the available rpc commands.
Point a web browser to <a href="http://myserver:myport/http_rpc">http://myserver:myport/http_rpc</a> and browse
through the available rpc commands.
Suggestion on how to make the documentation more clear are welcome :)

-ovidiu

On Mon, Mar 14, 2016 at 6:22 AM, Daniel-Constantin Mierla
<<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">miconda at gmail.com</a>> wrote:
><i> CC-ing Ovidiu, the author of the module, maybe he can assist here and add a
</i>><i> bit to documentation as well...
</i>><i>
</i>><i> Cheers,
</i>><i> Daniel
</i>><i>
</i>><i>
</i>><i> On 13/03/16 19:03, Uri Shacked wrote:
</i>><i>
</i>><i> Thank Alex, I find great comfort for not being the only one :-)
</i>><i>
</i>><i> Actually, after straggling for a while I managed to send the following :
</i>><i>
</i>><i> "<a href="http://myerver:myport/http_rpc/dlg/dlg.dlg_end?">Http://myerver:myport/http_rpc/dlg/dlg.dlg_end?</a> <h_entry> <h_id>"
</i>><i>
</i>><i> The dialog is there but i get 404 "dialog not found" from the module....
</i>><i>
</i>><i> Any one??
</i>><i>
</i>><i> Hello,
</i>><i>
</i>><i> It is indeed a pity that the module documentation doesn't have any
</i>><i> examples of how to structure the request URL. So, you're not the only one.
</i>><i>
</i>><i> -- Alex
</i>><i>
</i>><i> On Sun, Mar 13, 2016 at 7:38 PM, Uri Shacked <<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">ushacked at gmail.com</a>> wrote:
</i>>><i>
</i>>><i> Hi,
</i>>><i>
</i>>><i> Can any one help me with an example for RPC command sent over http?
</i>>><i>
</i>>><i> My configuration works OK, I get the http request fine.
</i>>><i> I lack the knowledge of how to send commands.....
</i>>><i>
</i>>><i> For example, how do I send a command to list dialogs (dlg.list)?
</i>>><i> Or to profile_get_size ?
</i>>><i>
</i>>><i> <a href="http://myserver:myport/http_rpc/dlg/?????????">Http://myserver:myport/http_rpc/dlg/?????????</a>
</i>>><i>
</i>>><i>
</i>>><i> Thanks,
</i>>><i> Uri
</i>>><i>
</i>>><i>
</i>><i>
</i>><i>
</i>><i>
</i>><i> _______________________________________________
</i>><i> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
</i>><i> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">sr-users at lists.sip-router.org</a>
</i>><i> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</i>><i>
</i>><i>
</i>><i> --
</i>><i> Daniel-Constantin Mierla
</i>><i> <a href="http://www.asipto.com/">http://www.asipto.com</a>
</i>><i> <a href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
</i>><i> Kamailio World Conference, Berlin, May 18-20, 2016 -
</i>><i> <a href="http://www.kamailioworld.com/">http://www.kamailioworld.com</a>
</i>


-- 
VoIP Embedded, Inc.
<a href="http://www.voipembedded.com/">http://www.voipembedded.com</a></pre></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 13, 2016 at 8:03 PM, Uri Shacked <span dir="ltr"><<a href="mailto:ushacked@gmail.com" target="_blank">ushacked@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Thank Alex, I find great comfort for not being the only one :-)</pre><pre><font color="#000000" face="arial, sans-serif"><span style="white-space:pre-wrap">Actually, after straggling for a while I managed to send the following :</span></font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">"Http://myerver:myport/http_rpc/dlg/dlg.dlg_end? <h_entry> <h_id>"</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">The dialog is there but i get 404 "dialog not found" from the module....</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Any one??</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Hello,

It is indeed a pity that the module documentation doesn't have any 
examples of how to structure the request URL. So, you're not the only one.

-- Alex

</pre><div><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Sun, Mar 13, 2016 at 7:38 PM, Uri Shacked <span dir="ltr"><<a href="mailto:ushacked@gmail.com" target="_blank">ushacked@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Can any one help me with an example for RPC command sent over http?</div><div><br></div><div>My configuration works OK, I get the http request fine.</div><div>I lack the knowledge of how to send commands.....</div><div><br></div><div>For example, how do I send a command to list dialogs (dlg.list)?</div><div>Or to profile_get_size ?</div><div><br></div><div>Http://myserver:myport/http_rpc/dlg/?????????</div><div><br></div><div><br></div><div>Thanks,</div><div>UriĀ </div><div><br></div><div><br></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>