Hello,
On 12/19/11 1:39 PM, Krishna Kurapati wrote:
Daniel,
Thanks for the clarification. Since mi_xmlrpc is equivalent to
mi_fifo, I could use this module
to send MESSAGE and INVITE from a remote server.
mi_xmlrpc depends on specific
versions of libxmlrpc client, on some
distros it cannot be found. Also, it has some weaks in security (you
have to use the firewall, there is no interaction from config file).
You can run any mi command via rpc interface (e.g., sercmd or xmlrpc) if
you load the mi_rpc modulem then use mi* RPC command:
http://www.kamailio.org/docs/docbooks/3.2.x/rpc_list/rpc_list.html#rpc_expo…
For example, running same mi command as done by 'kamctl fifo ds_list' is
via sercmd: 'sercmd mi ds_list'.
For instant messaging, you can use directly the rpc command
tm.t_uac_start or tm.t_uac_wait. If you connect using sercmd, you can
use 'help cmd' to read a bit about each rpc command.
Cheers,
Daniel
Krish Kura
On Mon, Dec 19, 2011 at 6:27 AM, Daniel-Constantin Mierla
<miconda(a)gmail.com <mailto:miconda@gmail.com>> wrote:
Hello,
On 12/17/11 6:08 PM, Ovidiu Sas wrote:
It is rather difficult to properly craft SIP messages in a
single line
(to properly pass all parameters).
Therefore, the xhttp_rpc module does not support this kind of
functionality.
Asynchronous commands are not implemented by the xhttp_rpc module:
http://kamailio.org/docs/modules/devel/modules/xhttp_rpc.html#id2521422
It is better to use the xmlrpc module for this kind of
functionality.
http://kamailio.org/docs/modules/stable/modules/xmlrpc.html
just to add a bit and make clear that xmlrpc module is different
that mi_xmlrpc. Practically xmlrpc uses internally the same
mechanism as xhttp, so no dependencies on http libs. You need
libxml2, but since you deal with presence, you should have it.
Cheers,
Daniel
--
Daniel-Constantin Mierla --
http://www.asipto.com
http://linkedin.com/in/miconda --
http://twitter.com/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla --
http://www.asipto.com
http://linkedin.com/in/miconda --
http://twitter.com/miconda