Thanks.
Daniel,
Regarding jsonrpc-s, 2 questions if I may:
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 ?
2. can you send an example of how to use dlg.dlg_end with the relevant
dialog params?
BR,
Uri
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
<miconda at
gmail.com
<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>>
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?
<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 <ushacked at
gmail.com <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>>
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/?????????
<http://myserver:myport/http_rpc/dlg/?????????>
*>>>>>>* Thanks,
*>>* Uri
*>>>>>>>>* _______________________________________________
*>* SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
*>* sr-users at
lists.sip-router.org
<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
*>*
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
*>>>* --
*>* Daniel-Constantin Mierla
*>*
http://www.asipto.com <http://www.asipto.com/>
*>*
http://twitter.com/#!/miconda <http://twitter.com/#!/miconda> -
http://www.linkedin.com/in/miconda
<http://www.linkedin.com/in/miconda>
*>* Kamailio World Conference, Berlin, May 18-20, 2016 -
*>*
http://www.kamailioworld.com <http://www.kamailioworld.com/>
*
--
VoIP Embedded,
Inc.http://www.voipembedded.com
On Sun, Mar 13, 2016 at 8:03 PM, Uri Shacked <ushacked(a)gmail.com> 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 <ushacked(a)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