ejabberd - ejabberd Development https://www.ejabberd.im/taxonomy/term/9/0 en External Auth - Password config https://www.ejabberd.im/forum/29884/external-auth-password-config <p>Hi, we are using extenal auth to authenticate a virtual domain in our ejabberd server. We pass a big jwt token, basically it has aproximally 1405 characters including special characters and punctuations (-, _, .).<br /> The script is working right, its writes true of false to stdout. But in ejabberd.log we receives some CRASH_REPORT in loop:<br /> <code></code></p> <p><a href="https://www.ejabberd.im/forum/29884/external-auth-password-config" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29884/external-auth-password-config#comments ejabberd Development https://www.ejabberd.im/crss/node/29884 Thu, 22 Mar 2018 13:13:11 +0000 jonrmar 29884 at https://www.ejabberd.im Push notifications https://www.ejabberd.im/forum/29881/push-notifications <p>Hi,<br /> We have created a chat application using XMPP protocol, we are able to perform one to one chat and muc with our application. We would like to push notifications to offline users.</p> <p>We have created an account for FCM and are able to send notifications manually to our application.<br /> Can some one help me to configure FCM in ejabberd server using mod_push .</p> <p>Thanks,<br /> Govardhan</p> https://www.ejabberd.im/forum/29881/push-notifications#comments ejabberd Development https://www.ejabberd.im/crss/node/29881 Tue, 20 Mar 2018 13:07:00 +0000 Govardhan N 29881 at https://www.ejabberd.im Ejabberd expert required for short term contract https://www.ejabberd.im/forum/29823/ejabberd-expert-required-short-term-contract <p>Hi All,<br /> I need an ejabberd expert who can help us in developing a chat application using ejabberd. If anybody interested please contact me at +919555508100 OR <noindex><a href="mailto:uday@mediccreations.com" rel="nofollow" >uday@mediccreations.com</a></noindex></p> <p>Thanks,<br /> Uday</p> https://www.ejabberd.im/forum/29823/ejabberd-expert-required-short-term-contract#comments ejabberd Development https://www.ejabberd.im/crss/node/29823 Fri, 16 Mar 2018 18:11:59 +0000 udaymedic 29823 at https://www.ejabberd.im How to put authentication on the link which is generated by mod_http_upload ? https://www.ejabberd.im/forum/29817/how-put-authentication-link-which-generated-modhttpupload <p>Hello,<br /> How to authenticate and secure the URL which is generated and used by mod_http_upload module.<br /> Let's say the ISP or someone get all the links which the ejabberd client sent file or photo or voice to one and another via <code>mod_http_upload</code> the link is publicly access when the link is exposed.??</p> <p>Could u plz giving some advices ?</p> <p>Thanks.</p> https://www.ejabberd.im/forum/29817/how-put-authentication-link-which-generated-modhttpupload#comments ejabberd Development https://www.ejabberd.im/crss/node/29817 Wed, 14 Mar 2018 07:48:59 +0000 dev23 29817 at https://www.ejabberd.im Customize Web Admin Interface and functions https://www.ejabberd.im/forum/29813/customize-web-admin-interface-and-functions <p>Hello there,<br /> I want to customize the Web Admin Interface and functions, and actually the code is in<br /> <blockquote>ejabberd_web_admin.erl</blockquote></p> <p>.<br /> But is there a better way to customize the web admin interface or that's the only way that i need to modify the file<br /> <blockquote>ejabberd_web_admin.erl</blockquote></p> <p> ?</p> <p>Thanks.</p> https://www.ejabberd.im/forum/29813/customize-web-admin-interface-and-functions#comments ejabberd Development https://www.ejabberd.im/crss/node/29813 Mon, 12 Mar 2018 04:39:23 +0000 dev23 29813 at https://www.ejabberd.im ejabberd_sql:sql_query to another database server https://www.ejabberd.im/forum/29806/ejabberdsqlsqlquery-another-database-server <p>Hello,<br /> I want to perform *ejabberd_sql:sql_query* on another database server by define another config in ejabberd.yml as this :</p> <div class="codeblock"><code>hosts:<br />&nbsp; - &quot;chatserver.com&quot;<br />host_config:<br />&nbsp; &quot;chatserver.com&quot;:<br />&nbsp;&nbsp;&nbsp; sql_type: pgsql<br />&nbsp;&nbsp;&nbsp; sql_server: &quot;localhost&quot;<br />&nbsp;&nbsp;&nbsp; sql_database: &quot;ejabberd&quot;<br />&nbsp;&nbsp;&nbsp; sql_username: &quot;postgres&quot;<br />&nbsp;&nbsp;&nbsp; sql_password: &quot;postgres&quot;<br />&nbsp;&nbsp;&nbsp; sql_port: 5432<br />&nbsp;&nbsp;&nbsp; auth_method: [sql]</code></div> <p><code><br /> "another.chatserver.com":<br /> sql_type: pgsql<br /> sql_server: "another.chatserver.com"<br /> sql_database: "anotherdb"<br /> sql_username: "postgres"<br /> sql_password: "postgres"</code></p> <p><a href="https://www.ejabberd.im/forum/29806/ejabberdsqlsqlquery-another-database-server" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29806/ejabberdsqlsqlquery-another-database-server#comments ejabberd Development https://www.ejabberd.im/crss/node/29806 Fri, 23 Feb 2018 08:30:19 +0000 dev23 29806 at https://www.ejabberd.im Block a banned user connection to server https://www.ejabberd.im/forum/29775/block-banned-user-connection-server <p>Actually there is a command to ban a user by changing the user's password with a random one, but anyway the user can also try to login with the wrong password which has been changed by the server.<br /> i am wondering if there is a possibility to discard the banned user's connection to the server ?</p> <p>Thanks.</p> https://www.ejabberd.im/forum/29775/block-banned-user-connection-server#comments ejabberd Development https://www.ejabberd.im/crss/node/29775 Thu, 01 Feb 2018 10:16:48 +0000 dev23 29775 at https://www.ejabberd.im ejabberd MucSub not working https://www.ejabberd.im/forum/29769/ejabberd-mucsub-not-working <p>I'm working on developing an XMPP Client communicating over an ejabberd community server (version 17.09) that we host ourselves.</p> <p>I'm having trouble to implement the MucSub Feature (supported since version 16.08 as far as I know).</p> <p>When I'm sending this XML command (described in the ejabberd documentation for subscribing to a chatroom):</p> <p><code></code></p> <p><a href="https://www.ejabberd.im/forum/29769/ejabberd-mucsub-not-working" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29769/ejabberd-mucsub-not-working#comments ejabberd Development https://www.ejabberd.im/crss/node/29769 Fri, 19 Jan 2018 13:36:16 +0000 LaySpender 29769 at https://www.ejabberd.im Making a call in ejabberd https://www.ejabberd.im/forum/29762/making-call-ejabberd <p>Hi,<br /> Plz give me some guidance of how to make a call in ejabberd. i tried AstraChat with Ejabberd WITHOUT mod_sip enable and i can make a call between 2 AstraChat clients, so it means AstraChat does not use SIP protocol ?<br /> and what does AstraChat use to implement the call ?</p> <p>Thanks.</p> https://www.ejabberd.im/forum/29762/making-call-ejabberd#comments ejabberd Development https://www.ejabberd.im/crss/node/29762 Fri, 12 Jan 2018 04:19:48 +0000 dev23 29762 at https://www.ejabberd.im Regenerate mam_query.hrl https://www.ejabberd.im/forum/29759/regenerate-mamqueryhrl <p>Hi i want to add new field to into message archive "msgtype" so i have made some changes in xmpp_codec.hrl and mam_query.xdata , i don't know how to regenerate mam_query.hrl.</p> <p>Please help !<br /> Thanks.</p> https://www.ejabberd.im/forum/29759/regenerate-mamqueryhrl#comments ejabberd Development https://www.ejabberd.im/crss/node/29759 Tue, 09 Jan 2018 04:57:39 +0000 dev23 29759 at https://www.ejabberd.im Message distribution is slow in room https://www.ejabberd.im/forum/29749/message-distribution-slow-room <p>Hi<br /> I am running ejabberd 17.04 and the message distribution seems to be slow in a room of 39 members, is there a way to improve this. ?</p> <p>Thanks.</p> https://www.ejabberd.im/forum/29749/message-distribution-slow-room#comments ejabberd Development https://www.ejabberd.im/crss/node/29749 Wed, 03 Jan 2018 04:56:20 +0000 dev23 29749 at https://www.ejabberd.im invalid syntax for integer error when request offline message header https://www.ejabberd.im/forum/29745/invalid-syntax-integer-error-when-request-offline-message-header <p>Hi every time i request offline message header i have this error :</p> <pre> 09:36:22.798 [error] transaction return internal error: {aborted,[{severity,'ERROR'},{code,&lt;&lt;"22P02"&gt; &gt;},{message,&lt;&lt;"invalid input syntax for integer: \"012345678@ejabberd.local:http://jabber.org/proto col/offline\""&gt;&gt;},{file,&lt;&lt;"int8.c"&gt;&gt;},{line,134},{routine,&lt;&lt;"scanint8"&gt;&gt;}]} 09:36:22.803 [error] transaction return internal error: {aborted,[{severity,'ERROR'},{code,&lt;&lt;"22P02"&gt; &gt;},{message,&lt;&lt;"invalid input syntax for integer: \"012345678@ejabberd.local:http://jabber.org/proto</pre><p><a href="https://www.ejabberd.im/forum/29745/invalid-syntax-integer-error-when-request-offline-message-header" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29745/invalid-syntax-integer-error-when-request-offline-message-header#comments ejabberd Development https://www.ejabberd.im/crss/node/29745 Thu, 28 Dec 2017 02:43:06 +0000 dev23 29745 at https://www.ejabberd.im mod_muc module is too slow when removing too many rooms https://www.ejabberd.im/forum/29742/modmuc-module-too-slow-when-removing-too-many-rooms <p>We have a use case where we have to create lots of rooms in memory (around 200k per hour) in ejabberd. At some point we try to remove the rooms that are too old, but we saw that the "destroy room" method uses the same queue as the "create room" method, and also that both methods use one single core to perform their operations. This causes that the operations fill the queue very fast, but the processing of the operations becomes slow, slowing down our room creation processes.</p> <p><a href="https://www.ejabberd.im/forum/29742/modmuc-module-too-slow-when-removing-too-many-rooms" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29742/modmuc-module-too-slow-when-removing-too-many-rooms#comments ejabberd Development https://www.ejabberd.im/crss/node/29742 Fri, 22 Dec 2017 18:16:27 +0000 marcelo.manrique 29742 at https://www.ejabberd.im ejabberd 17.11 issue with mod_muc https://www.ejabberd.im/forum/29740/ejabberd-1711-issue-modmuc <p>Hello ,</p> <p>I have installed ejabberd 17.11 from binary and configured with postgres. While starting i get an error starting mod_muc. If i comment the mod_muc, then it comes. </p> <p>mod_muc config:</p> <pre> mod_muc: ## host: "conference.@HOST@" access: - allow access_admin: - allow: admin access_create: muc_create access_persistent: muc_create </pre><p> Could you please advice / share best configs for mod muc + 17.11. ? Uncommenting Host did not work as well.<br /> Thank you very much in advance.</p> <p>Anand</p> https://www.ejabberd.im/forum/29740/ejabberd-1711-issue-modmuc#comments ejabberd Development https://www.ejabberd.im/crss/node/29740 Wed, 20 Dec 2017 16:19:42 +0000 Anand XMPP 29740 at https://www.ejabberd.im filter_packet hook https://www.ejabberd.im/forum/29716/filterpacket-hook <p>I am wondering if the filter_packet hook signature was changed, I was following this article[1] to create a simple hook in Elixir, but the code seems that doesn't work anymore.</p> <p>Can anyone help me?</p> <p><code><br /> defmodule PacketFilter do<br /> import Ejabberd.Logger<br /> @behaviour :gen_mod</code></p> <p> def start(_host, _opts) do<br /> info('Starting ejabberd module Filter Packet Demo')<br /> Ejabberd.Hooks.add(:filter_packet, :global, __ENV__.module, :on_filter_packet, 50)<br /> :ok<br /> end</p> <p> def stop(_host) do</p> <p><a href="https://www.ejabberd.im/forum/29716/filterpacket-hook" target="_blank">read more</a></p> https://www.ejabberd.im/forum/29716/filterpacket-hook#comments ejabberd Development https://www.ejabberd.im/crss/node/29716 Thu, 30 Nov 2017 18:12:17 +0000 skhaz 29716 at https://www.ejabberd.im