Hello,
On 07/17/07 13:32, Iñaki Baz Castillo wrote:
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:[EMAIL PROTECTED]/openser")
if(method=="MESSAGE") {
if (uri=~ "sip:chat1@") {
imc_manager();
}
}
the URI condition here should match [EMAIL PROTECTED] as well, not it
matches only chat1.
Cheers,
Daniel
------------------------------
Of course "chat1" doesn't exist in subscription o location table.
So I open Linphone and send a message to "[EMAIL PROTECTED]":
#create test_room
and I get in Linphone:
"[<sip:[EMAIL PROTECTED]>] :*** 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:[EMAIL PROTECTED] MEMBERS=0 OWNER=sip:[EMAIL PROTECTED]
But if I send a message to "[EMAIL PROTECTED]" 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.
_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users