<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2900.5848" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=648033014-18092009>You have to add that user to the imc_members table, to
be part of the room. I forgot to mention that. IIRC, this is what #create does
for you.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=648033014-18092009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=648033014-18092009>Another approach could be to use SIPSAK to send the
commands to the chatroom, e.g.,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=648033014-18092009>sipsak -vvv -M -B "#create q" -c sip:ll@1.2.3.4 -s
sip:q@1.2.3.4</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=648033014-18092009>sipsak -vvv -M -B "#join" -c "sip:anotheruser@1.2.3.4"
-s sip:q@1.2.3.4</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=648033014-18092009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=648033014-18092009>Those
messages will be plain text.</DIV>
<DIV dir=ltr align=left><BR></DIV></SPAN></FONT>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=648033014-18092009>Using #create should a) create the room and b) add the
user to the members list (as owner of the room). With #join you can add other
users to try it.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=648033014-18092009></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=648033014-18092009>Sebastian</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Rajesh
[mailto:Rajesh.sreedharan@siptech.com] <BR><B>Sent:</B> Friday, 18. September
2009 09:18<BR><B>To:</B> Schumann Sebastian<BR><B>Cc:</B> users
kamailio<BR><B>Subject:</B> Re: [Kamailio-Users] room does not exists in
IMC<BR></FONT><BR></DIV>
<DIV></DIV>Dear
Schumann,<BR>
Your message was indeed very much helpful..I am sure xlite send html messages
and not plain text messages.So i created imc_rooms and tried.. bit still i get
the same error(iam pasting the error messages below).I appreciate your
responses.<BR><BR><B><BR>ERROR:imc:imc_handle_message: user [11] has no rights
to send messages in room [q]!<BR> ERROR:imc:imc_manager: failed to handle
'message'</B><BR><BR>Thanks<BR><BR><BR>Schumann Sebastian wrote:
<BLOCKQUOTE cite=mid:A693B91C76085E49AA39C91A3E0AC7A0AE7D39A9@EXCHANGE2.st.sk
type="cite">
<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=144324409-17092009><FONT face=Arial
color=#0000ff size=2>You should check if it sends plain text. Some clients
send HTML formatted messages, so the module does not interpret your command
as command, but normal "text" to the channel (that does indeed not exist
then).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=144324409-17092009></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=144324409-17092009><FONT face=Arial
color=#0000ff size=2>If that does not work, try to create the room
"manually" into the imc_rooms table *BEFORE* starting
kamailio.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=144324409-17092009></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=144324409-17092009><FONT face=Arial
color=#0000ff size=2>Sebastian</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> <A class=moz-txt-link-abbreviated
href="mailto:users-bounces@lists.kamailio.org">users-bounces@lists.kamailio.org</A>
[<A class=moz-txt-link-freetext
href="mailto:users-bounces@lists.kamailio.org">mailto:users-bounces@lists.kamailio.org</A>]
<B>On Behalf Of </B>Rajesh<BR><B>Sent:</B> Thursday, 17. September 2009
07:00<BR><B>To:</B> users kamailio<BR><B>Subject:</B> [Kamailio-Users]
room does not exists in IMC<BR></FONT><BR></DIV>Dear
Experts,<BR>
I have been trying to configure IMC for quite some time now..when ti try
to create the chatroom (using my xlite phone), using the command #create
q, i get the following error.<BR><B>ERROR:imc:imc_handle_message:
room [q] does not exist!<BR>Sep 17 10:25:36 [2562] ERROR:imc:imc_manager:
failed to handle 'message'<BR></B><BR>Iam posting my cfg below..
</BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>