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

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 19 13:27:29 CET 2011


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




More information about the sr-users mailing list