<p dir="ltr">Thanks a lot for inputs.</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri 7 Dec, 2018, 2:35 PM Daniel-Constantin Mierla, <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
On 28.11.18 10:10, sagar malam wrote:<br>
> Hello,<br>
><br>
> We have a system which using FreeSWITCH for calls and Ejabberd( XMPP)<br>
> for chat.Now we want to support SIP SIMPLE as well.But we are not<br>
> going to move old users to SIP SIMPLE but only new users will use SIP<br>
> SIMPLE.This leads to requirement of having SIP-XMPP gateway for which<br>
> are are considering Kamailio server.<br>
> I have gone through documentation about Kamailio XMPP module, it is<br>
> clear that Kamailio can convert SIP MESSAGE to XMPP  so SIP to XMPP<br>
> will work but what about XMPP to SIP MESSAGE ? Does  that work as well ?<br>
<br>
SIP SIMPLE and XMPP presence specs are not one-to-one compatible in<br>
terms of architecture/specs. The xmpp module is able to translate some<br>
of the basic presence concepts from one to another, but not everything.<br>
The module is also a bit old, i haven't seen much activity around it to<br>
be able to assert to how level it can help.<br>
<br>
Another approach that I saw in the past is to leverage some (REST) API<br>
between the SIP server (kamailio) and XMPP server (iirc, it was prosody)<br>
in order to genenrate presence events/messages in both sides. Kamailio<br>
has PUA modules that can get control commands via RPC (e.g., JSONRPC).<br>
<br>
Cheers,<br>
Daniel<br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio World Conference -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
</blockquote></div>