From ozren.lapcevic@gmail.com Mon May 30 18:28:09 2011 From: Ozren Lapcevic To: sr-users@lists.kamailio.org Subject: [SR-Users] IMC module doesn't save data to mysql database Date: Mon, 30 May 2011 18:28:03 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0075016500==" --===============0075016500== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all, I'm trying to configure IMC module and get it to work properly but I've run into problems with saving IMC module data to mysql database. I'm using following code provided in IMC module documentation: modparam("imc", "db_url", DBURL) ## route block ### if(is_method("MESSAGE") && (uri=3D~ "sip:chat-[0-9]+@") || (uri=3D~ "sip:chat-manager@")) { xlog("L_INFO", "going to imc: F [$fu] T [$tu] B [$rb]\n"); if(imc_manager()) sl_send_reply("200", "ok - imc_manager()"); else sl_send_reply("500", "command error"); exit; } I am creating chat room with following message sent to chat-manager(a)abc.hr: "#create chat-111" DEBUG log returns following: May 30 18:01:23 ser-test /usr/local/kamailio-ozren/sbin/kamailio[13225]: INFO: