[ejabberd] Change jabber users Presence externally from another application

Aaron aarond at cmu.edu
Thu Jul 26 19:41:50 MSK 2012


You could send an IQ "set" request to a custom namespace and handle the 
IQ  in a module by adding the device's info such as phone number (which 
you could include in the SubEl of the IQ packet) to a devices database.

--Aaron


On Thursday, July 26, 2012 11:26:00 AM, duane.larson at gmail.com wrote:
> Yeah I've looked at the OpenSIPS XMPP module but I don't think it can
> accomplish what I am wanting to do. I think the OpenSIPS XMPP module
> just allows a SIP user to communicate with an XMPP user. So DomainA
> would be a SIP IM domain and their SIP SIMPLE client could send
> instant messages directly to DomainB which is an XMPP domain and XMPP
> clients.
>
> Any ideas on how to tie a JID to a phone number account?
>
>
>
> I just found this page
> http://xmpp.org/xmpp-software/libraries/
>
> I will look at some of these libraries and see if one of them can
> accomplish what I am looking at doing. But once again if someone has
> already done something like this I'd love to hear about it.
>
>
>
>
>
> On , Gavin Henry <ghenry at surevoip.co.uk> wrote:
> > > Hey Gavin,
> >
> >
> >
> > Hi Duane,
> >
> >
> >
> > > Thanks for the reply.  I use OpenSIPs and have different options
> when it
> >
> > > comes to executing a script from within OpenSIPS when a user is on
> a call.
> >
> > > It will be a multidomain installation.
> >
> >
> >
> > That's good. You just need to tie their number to a JID.
> >
> >
> >
> > > I'm not familiar with any RESTful api.  Do you have more details?
>  I came
> >
> > > across a java api called smack last night and also a perl module
> called
> >
> > > anyevent::xmpp.  I will look into those more but if you have any
> hints or
> >
> > > experience in doing this I would love to hear.
> >
> >
> >
> > You can add OpenSIPS as a component to ejabberd but it's only one
> >
> > domain I think.
> >
> >
> >
> > Check the OpenSIPS XMPP module and http://www.ejabberd.im/mod_restful
> >
> >
> >
> > Thanks.
> >
> >
> >
> > --
> >
> > Kind Regards,
> >
> >
> >
> > Gavin Henry.
> >
> > Managing Director.
> >
> >
> >
> > T +44 (0) 1224 900123
> >
> > M +44 (0) 7930 323266
> >
> > F +44 (0) 1224 824887
> >
> > E ghenry at surevoip.co.uk
> >
> >
> >
> > http://www.surevoip.co.uk/
> >
> >
> >
> > Suretec Systems T/A SureVoIP is a limited company registered in
> >
> > Scotland. Registered
> >
> > number: SC258005. Registered office: 24 Cormack Park, Rothienorman,
> Inverurie,
> >
> > Aberdeenshire, AB51 8GL.
> >
> >
> >
> > Subject to disclaimer at http://www.suretecgroup.com/disclaimer.html
> >
> >
> >
> > Did you see the SureVoIP API news? -
> >
> > http://www.surevoip.co.uk/news-events/surevoip-launches-innovative-api
> >
> > and http://www.surevoip.co.uk/api
> >
> > _______________________________________________
> >
> > ejabberd mailing list
> >
> > ejabberd at jabber.ru
> >
> > http://lists.jabber.ru/mailman/listinfo/ejabberd
> >
> >
>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd




More information about the ejabberd mailing list