ejabberd - Comments for "How to send media offline" https://www.ejabberd.im/forum/28665/how-send-media-offline en That error means that you https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67360 <p>That error means that you enabled mod_rest in the ejabberd configuration file, but erlang can't find the file mod_rest.beam Maybe it isn't correctly compiled and installed in a path where ejabberd can load it. That depends on how you compiled and installed mod_rest.</p> Mon, 06 Mar 2017 17:27:37 +0000 badlop comment 67360 at https://www.ejabberd.im How to use mod_rest i have https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67358 <p>How to use mod_rest i have got below errors</p> <pre> 2017-03-04 12:29:46.468 [warning] &lt;0.38.0&gt;@gen_mod:validate_opts:376 module 'mod_rest' doesn't export mod_opt_type/1 2017-03-04 12:29:46.471 [critical] &lt;0.38.0&gt;@gen_mod:start_module:162 Problem starting the module mod_rest for host &lt;&lt;"192.168.32.18"&gt;&gt; options: [{allowed_ips,[&lt;&lt;"127.0.0.1"&gt;&gt;,&lt;&lt;"192.168.32.18"&gt;&gt;]}, {allowed_destinations,all}, {access_commands, [{configure,[status,registered_users,set_room_affiliation]}]}] error: undef [{mod_rest,start, [&lt;&lt;"192.168.32.18"&gt;&gt;, [{allowed_ips,[&lt;&lt;"127.0.0.1"&gt;&gt;,&lt;&lt;"192.168.32.18"&gt;&gt;]}, {allowed_destinations,all}, {access_commands, [{configure,[status,registered_users,set_room_affiliation]}]}]], []}, {gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,154}]}, {lists,foreach,2,[{file,"lists.erl"},{line,1337}]}, {ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,77}]}, {application_master,start_it_old,4, [{file,"application_master.erl"},{line,273}]}] 2017-03-04 12:29:46.471 [critical] &lt;0.38.0&gt;@gen_mod:maybe_halt_ejabberd:170 ejabberd initialization was aborted because a module start failed. </pre><p> I am using ejabberd 16.12.39</p> Sat, 04 Mar 2017 07:02:00 +0000 manish.objects comment 67358 at https://www.ejabberd.im > problem 1:- how we set https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67348 <p>&gt; problem 1:- how we set admin of MUC.</p> <p>If you mean "how to allow a user be admin of all MUC service", this is a mod_muc option you can set in ejabberd.yml</p> <p>Or, if you mean "how to add a user to the list of admin of a MUC room", you can do as described in XEP-0045: <noindex><a href="https://xmpp.org/extensions/xep-0045.html#grantadmin" title="https://xmpp.org/extensions/xep-0045.html#grantadmin" rel="nofollow" >https://xmpp.org/extensions/xep-0045.html#grantadmin</a></noindex></p> <p>&gt; problem 2: When user go offline he/she out from the persistent muc .how we handle this situation ?</p> <p>Right, when a user goes offline, he leaves a room. This means he does not receive messages of that room. This is normal, as described in XEP-0045.</p> <p>If you want users to receive messages from the room even when they leave the room, then look at<br /> <a href="https://docs.ejabberd.im/developer/xmpp-clients-bots/proposed-extensions/muc-sub/" title="https://docs.ejabberd.im/developer/xmpp-clients-bots/proposed-extensions/muc-sub/">https://docs.ejabberd.im/developer/xmpp-clients-bots/proposed-extensions...</a></p> <p>&gt; problem 3: how we create new admin of group if admin exit from group ?</p> <p>I don't understand your question. Somebody in the room can grant admin to another user following this:<br /> <noindex><a href="https://xmpp.org/extensions/xep-0045.html#grantadmin" title="https://xmpp.org/extensions/xep-0045.html#grantadmin" rel="nofollow" >https://xmpp.org/extensions/xep-0045.html#grantadmin</a></noindex></p> Thu, 02 Mar 2017 18:16:10 +0000 badlop comment 67348 at https://www.ejabberd.im Hello sir thanks for your https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67342 <p>Hello sir<br /> thanks for your response you did save my life.<br /> I am current facing some problem </p> <p>problem 1:- how we set admin of MUC.<br /> I did create group successfully with participant but there is problem in set the owner of muc.<br /> i face error like """Couldn't find a field for the specified variable""</p> <p>when i used following code </p> <p> List owners = new ArrayList();<br /> owners.add(owner_id+"@"+UtilXMPPConnection.SERVICE_NAME);<br /> form.setAnswer("muc#roomconfig_roomowners", owners); &lt;::::::::::::::::this line show error</p> <p>please help me how we set admin of muc ?</p> <p>problem 2: When user go offline he/she out from the persistent muc .how we handle this situation ?</p> <p>problem 3: how we create new admin of group if admin exit from group ?</p> <p>please help me i am facing all problem from last one month .</p> Tue, 28 Feb 2017 09:00:45 +0000 prakash chandra comment 67342 at https://www.ejabberd.im shared roaster group not https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67341 <p>shared roaster group not showing users after set default db to sql please share any solution</p> Tue, 28 Feb 2017 04:41:25 +0000 manish.objects comment 67341 at https://www.ejabberd.im Not possible. https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67335 <p>Not possible.</p> Thu, 23 Feb 2017 16:17:42 +0000 badlop comment 67335 at https://www.ejabberd.im how to get group lists https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67333 <p>how to get group lists created by particular user ?</p> Thu, 23 Feb 2017 07:08:14 +0000 manish.objects comment 67333 at https://www.ejabberd.im Is there any way to block https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67327 <p>Is there any way to block user in certain time period like 7 days, 15 days or 24hrs etc??</p> Thu, 16 Feb 2017 13:11:09 +0000 manish.objects comment 67327 at https://www.ejabberd.im Right, this is explained in https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67307 <p>Right, this is explained in the ejabberd Guide for the option history_size:</p> <p>history_size: Size: A small history of the current discussion is sent to users when they enter the room. With this option you can define the number of history messages to keep and send to users joining the room. The value is an integer. Setting the value to 0 disables the history feature and, as a result, nothing is kept in memory. The default value is 20. This value is global and thus affects all rooms on the service.</p> <p><a href="https://docs.ejabberd.im/admin/configuration/#modmuc" title="https://docs.ejabberd.im/admin/configuration/#modmuc">https://docs.ejabberd.im/admin/configuration/#modmuc</a></p> Thu, 02 Feb 2017 19:05:01 +0000 badlop comment 67307 at https://www.ejabberd.im Hello i have a question https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67303 <p>Hello i have a question regarding muc<br /> when any user go offline then that out from muc automatically but how we rejoin user again.<br /> i am rejoin user by muc.join() command but user getting older message again that is all ready receive by me previously</p> Thu, 02 Feb 2017 07:30:55 +0000 prakash chandra comment 67303 at https://www.ejabberd.im That configuration should not https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67301 <p>That configuration should not have any effect in the problem you mention, it should work correctly.</p> <p>Try with other clients, like Psi o Gajim in a computer. Does the problem still happen, or it works correctly?</p> Wed, 01 Feb 2017 11:22:58 +0000 badlop comment 67301 at https://www.ejabberd.im Please have a look my .yml https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67299 <p>Please have a look my .yml configuration about MUC</p> <pre> mod_muc: db_type: sql access: muc access_create: muc_create access_persistent: muc_create access_admin: muc_admin default_room_options: allow_subscription: true persistent: true mam: true </pre><p>i don't know what is wrong with these configuration because i have successfully created group and add participant but when one participant is offline or logout from android app then this particular participant not getting in the room participants list.</p> <p>also Multi-User Chat section in admin panel not showing this participant.</p> <p>Thanks</p> Wed, 01 Feb 2017 05:10:00 +0000 manish.objects comment 67299 at https://www.ejabberd.im I cannot reproduce that https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67293 <p>I cannot reproduce that problem with the default configurations. I guess you are using some specific room configuration, or mod_muc configuration, and that produces the problem.</p> Tue, 31 Jan 2017 15:58:47 +0000 badlop comment 67293 at https://www.ejabberd.im I have a new question https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67291 <p>I have a new question regarding MUC..</p> <p>when one participant is logout then participant is not showing in the room and when i want to again join this group then error message showing "You have already a member of this group".</p> <p>please let me know</p> Tue, 31 Jan 2017 07:20:51 +0000 manish.objects comment 67291 at https://www.ejabberd.im 1. Ah, right: ejabberd a https://www.ejabberd.im/forum/28665/how-send-media-offline#comment-67288 <p>1. Ah, right: ejabberd a client can upload a file (using mod_http_upload), and then send a message with the url to an offline user (using mod_offline).</p> <p>4. If you enable mod_muc_admin, it provides a page in ejabberd's WebAdmin to view the list of rooms, but not the participants.</p> <p>5.a I don't know</p> <p>5.b If you refer to MAM storage, using mod_mam, then you can execute this command:</p> <pre> $ ejabberdctl help delete_old_mam_messages Command Name: delete_old_mam_messages Arguments: type::binary days::integer Returns: res::rescode Tags: purge Description: Delete MAM messages older than DAYS Valid message TYPEs: "chat", "groupchat", "all". $ ejabberdctl delete_old_mam_messages all 90 $ </pre><p> 5.c ejabberd doesn't provide anything specific. You will have to use some SQL feature in your database.</p> Mon, 30 Jan 2017 14:02:25 +0000 badlop comment 67288 at https://www.ejabberd.im