2016-09-14 3 views
1

mod_muc_admin이 활성화 된 ejabberd (v14.07) 자체 호스팅 서버가 있습니다.
일부 사용자가 공통 멀티 채트를 통해 통신하도록 회의실을 만들려고합니다.
각 클라이언트는 AstraChat 또는 ChatSecure 개의 앱을 사용합니다.Ejabberd 회의실 초대 및 참여가 작동하지 않음

여기 회의실을 만들 때 사용하는 회의실 터미널 명령이 있습니다.

# room creation 
ejabberdctl create_room myroomname conference.$host $host 

# sending invitations to users 
ejabberdctl send_direct_invitation [email protected]$host none "Join the multi-chat" user1 
ejabberdctl send_direct_invitation [email protected]$host none "Join the multi-chat" user2 
ejabberdctl send_direct_invitation [email protected]$host none "Join the multi-chat" user3 

# setting room affiliations (is it required to the users to join the chat before?) 
ejabberdctl set_room_affiliation myroomname conference.$host user1 owner 
ejabberdctl set_room_affiliation myroomname conference.$host user2 member 
ejabberdctl set_room_affiliation myroomname conference.$host user3 member 

이 후에는 (ejabberd의 웹 인터페이스에서도 볼 수있는) 공간이 생겼습니다. 그러나 사용자에게 알림 또는 피드백이 제공되지 않습니다. 내가 도망 또한, 경우 :

ejabberdctl get_room_occupants myroomname conference.$host 

결과가 비어 (또한 선택한 객실에 0 참가자를 보여 ejabberd의 웹 인터페이스에 의해 확인).

mod_muc에 대해서는 ejabberd.yml 구성 미리보기가 이어집니다.

mod_muc: 
    ## host: "[email protected]@" 
    access: muc_access 
    access_create: muc_admin 
    default_room_options: 
    public: true 
    public_list: true 
    allow_change_subj: true 
    allow_query_users: true 
    allow_private_messages: true 
    allow_user_invites: true 
    members_by_default: true 
    title: "New chatroom" 
    anonymous: false 
    access_admin: muc_admin 

룸 참가 알림 및 사용자 참여가 어떻게 작동합니까?

답변

1

당신은 당신이 삽입 제휴하지 거주자가 있기 때문에 GET 제휴에 대한 명령 아래 실행해야

ejabberdctl get_room_affiliations manish887 conference.192.168.32.18 

@manish887 = room name 

@conference.192.168.32.18 = muc_service