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.

Krish Kura

On Mon, Dec 19, 2011 at 6:27 AM, Daniel-Constantin Mierla <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