xmpp

XMPP IQ result parsing issue

 ̄綄美尐妖づ 提交于 2019-12-12 10:07:32
问题 I am building a XMPP chat client app with eclipse, java and asmack. Using tutorials and many many google searches I managed to get the buddy list working, actual chatting also works fine. My problem is with searching for more buddies to add to my contacts list. The XML to send is exemplified here : http://xmpp.org/extensions/xep-0055.html My request is : <iq id="search123" from="name3@webserv.xxx.com/name3" to="search.xxx.zzz.com" type="set" > <query xmlns="jabber:iq:search" > <nick> android

ejabberdctl command “create_room” not known

蓝咒 提交于 2019-12-12 09:25:11
问题 I wanted to setup a simple jabber server to enable chat with my team. Everything went smoothly until the point I wanted to create conference rooms. When I run ejabberdctl with no parameters, the option create_room does not appear in the list, and if I run ejabberdctl create_room test I get the following response: Error: command "create_room" not known. My config file (/etc/ejabberd/ejabberd.cfg) is as following: %% Admins of this server are also admins of MUC service: {access, muc_admin, [

STOMP or XMPP - Over websocket

大憨熊 提交于 2019-12-12 08:21:30
问题 I am working on a project which involves real time chat (messaging, including group chats). I have worked with websockets before, So I started working on this using spring-websockets and I did some reading about what is the best way to implement it. Then I came across STOMP (as a sub-protocol for websockets)and as there is direct support for STOMP in spring it was bit easy to achieve what I was supposed to do. But my doubt is as far as my understanding STOMP and XMPP are similar protocols

Jabber / XMPP library for Delphi 7 [closed]

非 Y 不嫁゛ 提交于 2019-12-12 08:15:44
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am looking for xmpp / jabber protocol implementation for Delphi 7. IP*WORKS! is one of solutions, but it is expensive. I saw Any complete library for Jabber in Delphi? question and JOPL was the answer, but it is not for Delphi 7. What do you use for Jabber and Delphi 7? 回答1: I'd suggest taking a look at the

Jabber bot - how to get the availability of contacts?

本秂侑毒 提交于 2019-12-12 08:14:33
问题 I need to set up a jabber bot, using python, that will send messages based on the online/offline availability of several contacts. I've been looking into pyxmpp and xmpppy, but couldn't find any way (at least nothing straightforward) to check the status of a given contact. Any pointers on how to achieve this? Ideally I would like something like e.g. bot.status_of("contact1@gmail.com") returning "online" 回答1: I don't think it is possible in the way you want it because the presence of contacts

XMPPFramework - Connect via SSL on Openfire

谁都会走 提交于 2019-12-12 08:13:01
问题 I'm trying to connect my users via SSL from my iOS XMPP chat client to Openfire server. In my iOS client: - (void)setupStream { ... // BOOL values for security settings customCertEvaluation = NO; allowSelfSignedCertificates = YES; allowSSLHostNameMismatch = NO; } In my Openfire server's Security Settings > Client Connection Security , I've set: Required - Clients can only connect to the server using secured connections. Thus, the following delegate method will be called: - (void)xmppStream:

libxml2 vs expat for an XMPP server

情到浓时终转凉″ 提交于 2019-12-12 08:03:13
问题 I'm trying to create an XMPP library (and later a server) from scratch in Go (although the language itself is irrelevant) as a means to learn what I can about the XMPP protocol and server software development in general. As many of you know, XMPP is messaging protocol based on XML that depends on an enormous amount of short but frequent XML streams. I'm thinking that for such applications an event based XML parser should be better because I won't need DOM and all that (correct me if I'm wrong

Push notifications in a local network

丶灬走出姿态 提交于 2019-12-12 07:49:51
问题 I need to implement Push Notifications for Android and iOS using my own server in a local network with no Internet access. More precisely, my users will have a mobile app (Android and iOS) which will connect to a local Server through a wireless network. This network won't have any Internet connection. The server will need to send push notifications to the connected devices when some concrete events happen. I'm using Django on the server side. I've been researching a bit and it looks like

Ejabberd Clustering not working

那年仲夏 提交于 2019-12-12 07:05:33
问题 I have installed ejabberd on two ubuntu servers in the same network using the binary installers, I have copied the .erlang.cookie file from /etc/ejabberd/bin of ejabberd@node1 (The intended master) to /etc/ejabberd/bin of ejabberd@node2 (the intended slave). When I run the command: ejabberdctl join_cluster 'ejabberd@node1' on ejabberd@node2, I get the following error: Error: {no_ping,ejabberd@node1} When I try to ping ejabberd@node1 using erl console I get a pang . The servers on which both

how to send push notification to offline users of xmpp

霸气de小男生 提交于 2019-12-12 06:01:27
问题 we are working on an real time ios and android application for that we are using xmpp protocol and openfire server but now we are facing a problem that when a user is offline he will not get message but we have to send them a push notification like watsapp but we dint get any option in openfire to do it after some research i got xep-0085 and got to know that it can send push notification if user is offline but it dint get from where i have to upload apple certificate to send push notification