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