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'
Kindly guide me.. Thanks
The command must be only
#create q
The doc also says nothing about a space between sharp (#) and create.
Sebastian
-----Original Message----- From: users-bounces@lists.kamailio.org [mailto:users-bounces@lists.kamailio.org] On Behalf Of Rajesh Sent: Wednesday, 09. September 2009 11:32 To: users kamailio Subject: [Kamailio-Users] error message ...
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'
Kindly guide me.. Thanks
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
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
Hi Juha
-----Original Message----- From: users-bounces@lists.kamailio.org [mailto:users-bounces@lists.kamailio.org] On Behalf Of Juha Heinanen Sent: Wednesday, 09. September 2009 12:12 To: Rajesh Cc: users kamailio Subject: [Kamailio-Users] error message ...
after these steps a chat room sip:chat-room@your_domain has been created and should also show up in db table.
Are you sure here?
My lastest tested versions did only write to the database at proxy shutdown. After room creation (and also after startup) the whole imc rooms and members are in the memory.
A better option is here to query FIFO imho.
Sebastian
Schumann Sebastian writes:
My lastest tested versions did only write to the database at proxy shutdown. After room creation (and also after startup) the whole imc rooms and members are in the memory.
you are correct. it is possible to check in-memory rooms and membership with mi commands.
-- juha
Thankyou all of you for your activeparticipation.. Can i go ahead with the Steps Juha had described in the lengthy mail... Juha Heinanen wrote:
Schumann Sebastian writes:
My lastest tested versions did only write to the database at proxy shutdown. After room creation (and also after startup) the whole imc rooms and members are in the memory.
you are correct. it is possible to check in-memory rooms and membership with mi commands.
-- 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
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