Create Chat Room and Invite users

Hi there,

I am web -developer. I have used you superb service for Chat Application. It works awesome.
I have few query regarding chat-room.

Q-1. How to create chat room using php code?
Effort-1: I have used :
exec('sudo /usr/sbin/ejabberdctl ' create_room room8@conference.domain.com ' 2>&1',$output,$status);
Your Ans 1:

Q-2. How to invite other users to chat room using php code?
Effort-2: I have used :
exec('sudo /usr/sbin/ejabberdctl ' send_direct_invitation room8@conference.domain.com user1@domain.com ' 2>&1',$output,$status);
Your Ans 2:

Q-3. How to set security that only admin of the group can add or allow other users to participate in particular group?
Your Ans 3:

I have also refer your FAQ: http://www.jabber.org/faq.html
It helps me a lot.I know that for creating a group ,if there is no group exits with new requesting group then I will automatically create that group.
As our chat application need more security, I hence need to get clear understanding for these points.

It will be highly appreciated if you can help me for said queries.
Waiting for your response.

Thanks & Regards,

Jaimin Vaja

Syndicate content