<html><body><div id="edo-message"><div></div>As far as i remember, kamailio support for xmpp interconnect is limited to component to server and server to server communication. However, you seem to need sip server acting as a xmpp client for login and send / receive messages to/from remote xmpp server. This may not be possible while using kamailio. </div><div id="edo-message"><span style="-webkit-tap-highlight-color: transparent;"><br></span></div><div id="edo-message"><span style="-webkit-tap-highlight-color: transparent;">Perhaps you can use res_jabber module in asterisk which allows sip users to connect to remote xmpp server using asterisk as xmpp client.</span></div><div id="edo-message"><span style="-webkit-tap-highlight-color: transparent;"><br></span></div><div id="edo-message"><span style="-webkit-tap-highlight-color: transparent;">See this link as a starting point for your research,</span></div><div id="edo-message"><span style="-webkit-tap-highlight-color: transparent;"><br></span></div><div id="edo-message"><a href="https://www.voip-info.org/asterisk-jabber/">https://www.voip-info.org/asterisk-jabber/</a></div><div id="edo-message"><br></div><div id="edo-message">BTW, you can also check with your xmpp service provider to see if they allow component to server or server to server interconnect (they usually do). If so, then you may use kamailio after all.</div><div id="edo-message"><br></div><div id="edo-message">Hope this helps.</div><div id="edo-message"><br></div><div id="edo-message">Thank you.</div><div id="edo-meta"></div><div id="edo-original"><div><br></div><div><br><blockquote type="cite" style="margin:1ex 0 0 0;border-left:1px #ccc solid;padding-left:0.5ex;"><div>On Jun 19, 2019 at 3:47 PM, <<a href="mailto:sagarmalam@gmail.com">sagar malam</a>> wrote:<br><br></div><div><div dir="ltr">David, <div><br></div><div>It wont be good idea to use those modules. This is from Daniel from one of my emails in the list : </div><div><br></div><div>"SIP SIMPLE and <span class="gmail-il">XMPP</span> presence specs are not one-to-one compatible in</div>terms of architecture/specs. The <span class="gmail-il">xmpp</span> 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 <span class="gmail-il">XMPP</span> 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><div>'</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 19, 2019 at 10:09 AM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello guys,</div><div><br></div><div>I'm kind of confused as to what module exactly i need to user, let me explain:</div><div><br></div><div>I
 have a service for DIDs and SMS from <a href="http://s.ms" target="_blank">s.ms</a>, i created a python script  
that connects to the service using xmpp to their jabber server with a  
user and a password, i.e.: xmpp_client.py <a href="mailto:MY-NUMBER@s.ms" target="_blank">MY-NUMBER@s.ms</a> MY-PASSWORD</div><div><br></div><div>What
 i do with that script is basically connect and wait to receive SMS,  
which i then insert in the proxy db (silo) and they get delivered by  
msilo.</div><div><br></div><div>I have several numbers and doing this  
for every number seems stupid, so i started looking for a better  
solution, since the end user will be receive the message via SIP MESSAGE
 on they sip client.</div><div><br></div><div>i came across kamailio/opensips'  
jabber and xmpp modules, but i'm not sure which (if any) to use, and  
even HOW to, or the actual architecture, since the documentation keeps  
talking about a local xmpp server?<br></div><div><br></div><div>I would REALLY appreciate some help here.</div><div><br></div><div>Thanks!</div><div><br></div><div><br></div><div><div dir="ltr" class="gmail-m_-1149038080825187323gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div><div><div dir="ltr" class="gmail-m_-1149038080825187323gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Thanks,<div><br></div><div>Sagar</div></div></div>
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
</div></blockquote></div></div></body></html>