[Kamailio-Users] room does not exists in IMC
Schumann Sebastian
Sebastian.Schumann at t-com.sk
Fri Sep 18 16:35:06 CEST 2009
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 at 1.2.3.4 -s sip:q at 1.2.3.4
sipsak -vvv -M -B "#join" -c "sip:anotheruser at 1.2.3.4" -s sip:q at 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
________________________________
From: Rajesh [mailto:Rajesh.sreedharan at siptech.com]
Sent: Friday, 18. September 2009 09:18
To: Schumann Sebastian
Cc: users kamailio
Subject: Re: [Kamailio-Users] room does not exists in IMC
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
________________________________
From: users-bounces at lists.kamailio.org<mailto:users-bounces at lists.kamailio.org> [mailto:users-bounces at lists.kamailio.org] On Behalf Of Rajesh
Sent: Thursday, 17. September 2009 07:00
To: users kamailio
Subject: [Kamailio-Users] room does not exists in IMC
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..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090918/361d99f8/attachment.htm>
More information about the sr-users
mailing list