Help with setuping poltergeist : user immediatly kicked

Hi,

I am trying to setup Poltergeist in order to later have the whole workflow with muc_call working.

For now, I activated the poltergeist module in my MUC component

Component “conference.jitsi.retrolution.co” “muc”
storage = “memory”
disable_polergeist_token_verification = true
modules_enabled = {
“muc_poltergeist”;
}

And added the poltergeist component

Component “poltergeist.jitsi.retrolution.co” “poltergeist_component”
muc_component = “conference.jitsi.retrolution.co

I was not really able to find a doc and just tried to guess what should be the conf.

With the current configuration, the poltergeist web API is available:

curl “http://localhost:5280/poltergeist/create?room=my
conf&user=mysyerid&domain=jitsi.retrolution.co&status=ringing&name=HelloWorld” -H
‘host: conference.jitsi.retrolution.co’ -vvv

return 200

But in the jitsi interface of the participant :

  • I have a notification that the participant enters the conference
  • I have a notification with the status
  • but the participant is immediately kicked.

Here are the logs that I can see on prosody

Jul 07 08:56:25 conference.jitsi.retrolution.co:muc_poltergeist debug   Presence after previous identity stripped: <presence to='myconf@conference.jitsi.retrolution.co/77453505' from='conference.jitsi.retrolution.co/77453505'><x xmlns='http://jabber.org/protocol/muc'/><bot type='poltergeist'/><call_cancel/><call_id>77453505-03e0-4d4d-a919-b09c14e6e39d</call_id><status>ringing</status><nick xmlns='http://jabber.org/protocol/nick'>HelloWorld</nick></presence>
Jul 07 08:56:25 conference.jitsi.retrolution.co:muc_poltergeist debug   Presence with identity inserted <presence to='myconf@conference.jitsi.retrolution.co/77453505' from='conference.jitsi.retrolution.co/77453505'><x xmlns='http://jabber.org/protocol/muc'/><bot type='poltergeist'/><call_cancel/><call_id>77453505-03e0-4d4d-a919-b09c14e6e39d</call_id><status>ringing</status><nick xmlns='http://jabber.org/protocol/nick'>HelloWorld</nick><identity><user><id>mysyerid</id></user></identity></presence>
Jul 07 08:56:25 conference.jitsi.retrolution.co:muc_poltergeist info    adding poltergeist: MUC room (myconf@conference.jitsi.retrolution.co)/77453505
Jul 07 08:56:25 mod_bosh        debug   We have an open request, so sending on that
Jul 07 08:56:25 mod_bosh        debug   Request destroyed: table: 0x562538589b40
Jul 07 08:56:25 bosh61168b25-39a9-477a-844f-f771dec73620        debug   BOSH session marked as inactive (for 60s)
Jul 07 08:56:25 socket  debug   server.lua: closed client handler and removed socket from list
Jul 07 08:56:25 c2s5625386432d0 debug   Sending[c2s]: <message from='myconf@conference.jitsi.retrolution.co' to='focus@auth.jitsi.retrolution.co/focus1723987895600314'>
Jul 07 08:56:25 conference.jitsi.retrolution.co:muc     debug   Refreshing reserved nicks...
Jul 07 08:56:25 conference.jitsi.retrolution.co:muc     debug   Refreshed for conference.jitsi.retrolution.co: <nil>
Jul 07 08:56:25 conference.jitsi.retrolution.co:muc     debug   Refreshed for focus@auth.jitsi.retrolution.co: <nil>
Jul 07 08:56:25 conference.jitsi.retrolution.co:muc     debug   Refreshed for 9982dd3f-7998-4129-b9c3-fa2eced7c1c7@jitsi.retrolution.co: <nil>
Jul 07 08:56:25 c2s5625386432d0 debug   Sending[c2s]: <presence to='focus@auth.jitsi.retrolution.co/focus1723987895600314' from='myconf@conference.jitsi.retrolution.co/77453505'>
Jul 07 08:56:25 conference.jitsi.retrolution.co:muc     debug   Room creation without <x>, possibly desynced
Jul 07 08:56:25 c2s5625386432d0 debug   Sending[c2s]: <presence from='myconf@conference.jitsi.retrolution.co/77453505' to='focus@auth.jitsi.retrolution.co/focus1723987895600314' type='unavailable'>

And the data received by the Jitsi web client.

If anyone has any idea, or maybe a doc of how to setup poltergeist correctly, that would be really helpfull.

Thanks.

I get it working,

I thing the only things misisng for previous configuration was in the conference muc :

poltergeist_component = “poltergeist.jitsi.retrolution.co

Hi, could you share how this module fits into your workflow?

Hi,

I am working on a website where a connected user can receive a invite to a call from another user.

The user asking for the call will directly jump into jisti. The second user will receive a notification to jump into that call.

I’m the meantime, thanks to poltergeist module, the first user can see the ghost of the first user with the status ‘ringing’

Thanks for the information. Seems to be something similar what i need but not quite. In my case, there is no need to see ghost of first user