send message as user to another conference chat

hoi, i have some jabber server running and in recent times i used ejabberctl send-message to send messages to users,
but this seems to be gone, is this right?

more specific, i have a normal jabber account which is logged in in some conference channel on another server. This works fine so far,
is it possible to easily send some message as this user to the conference channel ?
something that i can pipe or script with ejabberctl in bash shell would be awesome.

thx for any hint

I tried this in ejabberd

I tried this in ejabberd 17.04:
login user1@localhost to the server, and join the room sala1@conference.localhost. Then I run this query:

$ ejabberdctl send_message groupchat user1@localhost/tka1 sala1@conference.localhost "" BoBo

And the room occupants receive the message.

Syndicate content