[OpenSER-Users] imc module, any help?

Iñaki Baz Castillo ibc at in.ilimit.es
Tue Jul 17 12:32:47 CEST 2007


Hi, I'm trying to configure the imc module for IM chat rooms and I get 
nothing.

My conf related to this is:

------------------------------
modparam("imc", "db_url", "mysql://openser:openserrw@localhost/openser")

if(method=="MESSAGE") {
	if (uri=~ "sip:chat1@") {
           	imc_manager();
	}
}
------------------------------

Of course "chat1" doesn't exist in subscription o location table.

So I open Linphone and send a message to "chat1 at domain.org":
  #create test_room

and I get in Linphone:
  "[<sip:test_room at openser.ilimit.es>]	:*** room was created"


And in fifo I see:

~$ openserctl fifo imc_list_rooms
database engine 'MYSQL' loaded
Control engine 'FIFO' loaded
entering fifo_cmd imc_list_rooms
200 OK
ROOM::  URI=sip:chat1 at domain.org MEMBERS=0 OWNER=sip:810 at domain.org


But if I send a message to "test_room at domain.org" I get a 404 in OpenSer.

And now, what more? I've tryed with #join chat1 but no members are added 
anywhere.


So I'd appreciate a help with this since I don't find enough information about 
this module.


PD: Why the MySQL tables imc_rooms and imc_members are always empty 
when "openserctl fifo imc_list_rooms" shows me the created rooms?



Thanks a lot.

  



-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the sr-users mailing list