David, 

It wont be good idea to use those modules. This is from Daniel from one of my emails in the list : 

"SIP SIMPLE and XMPP presence specs are not one-to-one compatible in
terms of architecture/specs. The xmpp module is able to translate some
of the basic presence concepts from one to another, but not everything.
The module is also a bit old, i haven't seen much activity around it to
be able to assert to how level it can help.

Another approach that I saw in the past is to leverage some (REST) API
between the SIP server (kamailio) and XMPP server (iirc, it was prosody)
in order to genenrate presence events/messages in both sides. Kamailio
has PUA modules that can get control commands via RPC (e.g., JSONRPC).
'

On Wed, Jun 19, 2019 at 10:09 AM David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello guys,

I'm kind of confused as to what module exactly i need to user, let me explain:

I have a service for DIDs and SMS from s.ms, 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 MY-NUMBER@s.ms MY-PASSWORD

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.

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.

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?

I would REALLY appreciate some help here.

Thanks!


Regards,

David Villasmil
phone: +34669448337
Regards,

David Villasmil
phone: +34669448337
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Thanks,

Sagar