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
Regards,
Ovidiu Sas
--
VoIP Embedded, Inc.
http://www.voipembedded.com
On Sat, Dec 17, 2011 at 10:37 AM, Krishna Kurapati <kkurapat(a)gmail.com> wrote:
Dear list members,
I have seen examples of using mi_fifo and mi_xmlrpc modules to send a
MESSAGE or INVITE
from a webserver.
Since I am using xhttp to control presence policies from webserver, I would
like to use xhttp_rpc
module to send MESSAGE and INVITE from webserver.
Are there any examples of using xhttp_rpc to achieve the function?
Thanks
Krish Kura