Creating chat room using SQL

tried the full resource and is not working, what I do now is as follow:

And no results I also checked the logs and nothing there, makes me wonder if I am missing something but after reading about the MUC protocol looks like I am not missing anything though I am almost sure I do miss something.

Like I said, I first login with the room admin using the ClassJabberPHP, then send the auth (like it says in the help of that function), then send presence to the MUC with the function of that class (sendpresencex) wich I know it works, then try and send that xml but I still get no results, anyhelp?

Should I try the invite thing? ( http://www.jabber.org/jeps/jep-0045.html#registrar-querytypes-invite )

Thanks in advance

Oscar

Message was edited by: oscarx21

Oscar,

What exactly is the replies from the server? Perhaps it would be helpful if you can post the packets exchanged between the client and the server.

You can try the invite function but I don’‘t think it’'s necessary.

Well I am getting no response, looks lik the way to handle IQs is different, I am reading now how to handle them, I get responses from everything except for this so that might be the problem,

Hey Oscar,

Take a look at http://www.jivesoftware.org/community/thread.jspa?threadID=21674&tstart=0. The workaround might work for you although it’'s a bug.

Adding:

LG has lodged a bug report for it (JM-821). You might consider voting for it so that it will get fixed fast.

Message was edited by: aznidin

it2000 wrote:

Could you image to use the Web Admin console to create the rooms? There a simple HTTP POST should do it. Or you could use Smack and write a short application to create rooms.

Looking for info to solve this same problem, I’'ve found this old thread. After seeing, I was thinking on using CURL to access https://my.server:9091/muc-room-edit-form.jsp and send the room data. I have tested with both using CURLOPT_USERPWD options and setting username and password as GET parameters, just as in Pass Admin login information thread, but no luck until now. Are there any docs/info/hints available on how to use HTTP POST/GET to access Web Admin?

Regards,

NK.

HI NK,

see http://www.igniterealtime.org/forum/message.jspa?messageID=136879 for a Perl and a Curl example.

LG

Yup, I missed that… Thanks!

NK.