[SR-Users] using xhttp_rpc to send MESSAGE to SIP user from web server

Krishna Kurapati kkurapat at gmail.com
Mon Dec 19 13:39:12 CET 2011


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 at 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<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<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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111219/79d7ae80/attachment.htm>


More information about the sr-users mailing list