ejabberd

Error Creating Chat Room StropheJS with ejabberd

喜欢而已 提交于 2019-12-14 03:44:36
问题 I am trying to create a chat room using StropheJS My Code: var presence = $pres({ to: "testRoom@conference@localhost/yashwanth, from: Strophe.getBareJidFromJid(connection.jid) }); Groupie.connection.send( presence.tree()); Groupie.connection.muc.createInstantRoom("testRoom@conference.localhost/yashwanth", function(status) { console.log("Room Created Successfully", status); }, function(status) { console.log("Error Creating Room", status); }); While creating the room I am facing the below error

Call to i:im() in application debugger failed in mongooseim

半世苍凉 提交于 2019-12-14 03:14:38
问题 It seems invoking im() . after invoking ./bin/mongooseim debug shell fails with message "call to i:im/0 in application debugger fails". However, when I do it typical Erlang shell, it opens up the window correctly. Any idea why ? 回答1: There is several reasons starting debugger graphical interface could fails: you are debugging a remote server and the server cannot display its UI on your local computer through SSH. You are missing access to some Erlang components in the context of ejabberd. As

Does it requires any configuration changes for audio/video chat through locally installed ejabberd server? [closed]

允我心安 提交于 2019-12-14 02:43:57
问题 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 6 years ago . I have installed and configured ejabberd locally, using Pidgin as a client. My question is, how can I use a local ejabberd server for audio/video chat? Do I need to install any other module, or make any configuration changes in ejabberd.cfg ? (I am using Centos 6, 32-bit.) 回答1: Audio and video using the XMPP

How to use stream management acks in xmpp.js (in react-native) with MongooseIM (as chat server)?

穿精又带淫゛_ 提交于 2019-12-13 18:31:56
问题 I am using xmpp.js as xmpp chat client inside react-native for both android+ios with MongooseIM as chat server. I want to implement stream management acks in the App. But according to the issue#540, xmpp.js doesn't officially support stream management for now. What can be the alternate to this? I need the stream management module only to send/receive acks between c2s and s2s. Please guide. 回答1: Stream Management, if not available in your client library of choice, is somewhat complex to

How to connect to a registered Node (Erlang) and use it from Ejabberd

主宰稳场 提交于 2019-12-13 17:14:59
问题 I have a server application with a running node, awaits for rpc calls.... (n2@198.XXX.X.XX)> I have a node started on a different machine in which I have ejabberd running as well erl -name n2@198.XXX.X.XX -setcookie somecookie (n1@198.XXX.X.XX)> And then I have ejabberd server started with ejabberdctl live and I want to be able to ping n2 from n1 (n1@198.XXX.X.XX)>. I can see that n1 is registered and running with net_adm:names(). I tried to do do directly from code net_adm:ping(n2@198.XXX.X

ejabberd MUC message history

梦想与她 提交于 2019-12-13 13:25:38
问题 I'm using ejabberd XMPP server for a chat client, which also has a group-chat function. My problem is, that when a new user joins a group room, he only gets the first 20 messages from the room, although the history_size is set to 200(for now). On the client side, when a new user joins the room, the presence stanza contains the history element, asking for messages sent after 1970. The server time is at 2014, so theoretically it should send out all the message, or at least 200. ejabberd.cfg muc

Autojoin option of xmpp bookmark does not work

99封情书 提交于 2019-12-13 13:11:57
问题 I am trying to auto-join rooms using XEP-0048 - Bookmarks (http://xmpp.org/extensions/xep-0048.html). I am using RobbieHanson XMPPFramework, ejabberd v13.x So far, I have been able to add bookmark to the room using the following code : -(void) createBookmarkforRoom:(NSString *)roomJid { NSXMLElement *nick = [NSXMLElement elementWithName:@"nick" stringValue:@"Marge"]; NSXMLElement *conference = [DDXMLNode elementWithName:@"conference"]; [conference addAttributeWithName:@"name" stringValue:@

Fetching ejabberd MUC members list

老子叫甜甜 提交于 2019-12-13 08:44:28
问题 There seem to be some threads around this and it seems very obvious an issue to be a problem, but somehow in MUCs / rooms created by my ejabberd mobile clients, the creator / owner is able to fetch the members list but when I fetch the same from the members, there is an administrative privileges required error. Below are the request and response stanzas as well as the room options. Can someone advise please if there is something I'm overlooking here ... many thanks? Request from member: <iq

Getting MucConfigurationNotSupportedException In android smack 4.2.0-beta1

≯℡__Kan透↙ 提交于 2019-12-13 06:31:25
问题 I am developing chat application for one to one chat and group chat. I have successfully done one to one chat. Using the below link I have created Group chat. Link to create Group chat in smack 4.2.0-beta1 I can see the group in admin panel but There is only a single user available, But I have created this group with three members. Here I have added my code. public void createGroupChat() { String DomainName = "conference."+ServiceAddress; // Create a MultiUserChat using a Connection for a

XMPP Groupchat Bookmark implementation

冷暖自知 提交于 2019-12-13 05:19:32
问题 I have read in XMPP that in case of XMPP rooms, once a user bookmarks the room , he will automatically rejoin the room on re login. But in my case bookmark is getting stored in server as when I query it back Im able to retrieve it. But rejoining is not happening. Also for retrieving participants list in a members only private group, members are not able to retrieve admin informations. Is it possible to retrive admin info? 回答1: But in my case bookmark is getting stored in server as when I