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.
Another approach could be to use SIPSAK to send the
commands to the chatroom, e.g.,
sipsak -vvv -M -B "#create q" -c sip:ll@1.2.3.4 -s
sip:q@1.2.3.4
sipsak -vvv -M -B "#join" -c "sip:anotheruser@1.2.3.4"
-s sip:q@1.2.3.4
Those
messages will be plain text.
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.
Sebastian
Dear
Schumann,
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.
ERROR:imc:imc_handle_message: user [11] has no rights
to send messages in room [q]!
ERROR:imc:imc_manager: failed to handle
'message'
Thanks
Schumann Sebastian wrote:
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).
If that does not work, try to create the room
"manually" into the imc_rooms table *BEFORE* starting
kamailio.
Sebastian
Dear
Experts,
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.
ERROR:imc:imc_handle_message:
room [q] does not exist!
Sep 17 10:25:36 [2562] ERROR:imc:imc_manager:
failed to handle 'message'
Iam posting my cfg below..