Dear Juha, Thanks for the mail, and i followed the steps mentioned.But i get the same error when i try to send message to the chatroom q or the sip:chat-room@192.168.64.75 ... kindly guide me .
Juha Heinanen wrote:
Rajesh writes:
IAm trying to configure IMC in kamailio.I created two tables in the database named, imc_rooms and imc_members.IN my xlite phone i give the command q:sip@192.168.64.75 ('q' is used as the default chatroom name in .cfg). when i give the command , # create room_name, i get the following error,
ERROR:imc:imc_handle_message: room [q] does not exist! Sep 9 12:28:25 [2632] ERROR:imc:imc_manager: failed to handle 'message'
i don't know about default room names, but try this:
check that imc db tables are empty
restart your proxy
send message to
sip:chat-room@your_domain
with body #join
and make sure that your script calls imc_manager() on this request.
after these steps a chat room sip:chat-room@your_domain has been created and should also show up in db table.
-- juha
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users