XMPP support for GenieACS

The latest 1.2.11 should support XMPP, however, I’m at the moment where my ejabbered is working fine, but GenieACS is not sending any packets to ejabbered even I’ve got it configured like below

cat /opt/genieacs/genieacs.env
[...]
GENIEACS_XMPP_ENABLED=true
GENIEACS_XMPP_HOST=10.61.0.89
GENIEACS_XMPP_PORT=5222
GENIEACS_XMPP_JID=genieuser@10.61.0.89
GENIEACS_XMPP_PASSWORD=some_pass

used
GENIEACS_XMPP_SECRET=soem_pass
instead
GENIEACS_XMPP_PASSWORD

@zaidka is there anything missing in my GenieACS configuration, also I’ve not seen anything about XMPP in the documentation - could you help here?

I also have the same scenario. My CPE is talking to ejabberd but nothing from Genie to ejabberd. Also my Genie and ejabbered are on the same server. I have tried changing GENIEACS_XMPP_HOST to localhost, IP Address and domain name. I have also upgraded from 1.2.9 to 1.2.11.

I also have this same issue. It appears that Genie does not pass authentication to the xmpp server I personally use Prosody. Genie does connect however doesn’t appear to attempt to authenticate correctly.

Unfortunately, there’s a bug in the latest release that breaks XMPP! Will push a fix soon.

Any idea on timescale?

Following the latest update. I can confirm XMPP is now working with Prosody.

Could you please post an example config?

I can’t get it working with prosody and ejabberd, getting XML errors on genie.

1 Like

How to show XMPP setting in ACS? I have been install the lastest ACS server ,but I can’t found XMPP setting .thanks

@zaidka are there any hints related to genie.env configuration to make the 1.2.12 work with XMPP?
so far I’m able to keep clients/host CPEs registered on my ejabbered without a problem I see packet flow when making a packet dump, unfortunately, no packet, even one from the GEenieACS towards the XMPP server. I pushed the Summon button as it was suggested by someone at the forum before - no effect, no packet again from Genie towards XMPP.
Basically speaking still can not register GenieASC on the XMPP server.
Any recommendations?
I know people who put JID and pass to the code and then were able to see registered Ganie on XMPP server, but to make it work using env conf file ?


/opt/ejabberd/ejabberd.yml

listen:
  -
    port: 5222
    ip: "::"
    module: ejabberd_c2s
    max_stanza_size: 262144
    shaper: c2s_shaper
    access: c2s
    starttls_required: true           //set  starttls_required  is true

CPE: tls Certificate verification passed
ACS: when i get parameters it will show this error.

@zaidka
how to make it correct?

@zaidka I still also have problems getting XMPP working similar to others in this post. Can you give an example config as requested by previous members or update the manual to include such an example. Thank you.

Anyway I’m bit further on having the GenieACS working with XMPP/ejabbred now.
When added reverse DNS the GenieACS started to send packets to XMPP (the clue is also to initiate Connection Request from Genie (click Summon button)).
Looks now I need to tweak my ejabbred.

Can you please tell how you do it since i made like <<https://wiki.xmpp.org/web/SRV_Records . Also make sure to add A and AAAA records for the same domain. >> and do not work.
After i made my results are:
$ dig SRV _xmpp-server._tcp.jcs.jo +noall +answer

; <<>> DiG 9.11.5-P4-5.1+deb10u9-Debian <<>> SRV _xmpp-server._tcp.jcs.jo +noall +answer
;; global options: +cmd
_xmpp-server._tcp.jcs.jo. 86400 IN SRV 5 0 5269 chat.jcs.jo.

$ dig SRV _xmpp-client._tcp.jcs.jo +noall +answer

; <<>> DiG 9.11.5-P4-5.1+deb10u9-Debian <<>> SRV _xmpp-client._tcp.jcs.jo +noall +answer
;; global options: +cmd
_xmpp-client._tcp.jcs.jo. 86400 IN SRV 5 0 5222 chat.jcs.jo.


now at summon. i do not have anymore device offline, but pending a lot and finally stale.

It is anybody to point me in write direction?

@zaidka thank you, I’ve made the GenieACS working with my CPEs for CR through XMPP

Best Regards
ap

Im following your guide, everything work perfect by i have an issue, after uploading new configuration file i haven’t access to CPE via XMPP, how to be in this case?