Hi all,

About xmpp module on kamailio 3.0.4 (Centos server).

I enabled DEBUG mode with level 7, but when check on /var/log/message I don't see any log from xmpp module (LM_DBG):

#!ifdef WITH_DEBUG
debug=7
log_stderror=no
#!else
debug=2
log_stderror=no
#!endif

memdbg=5
memlog=5

log_facility=LOG_LOCAL0

fork=yes
children=4

If I change LM_DBG to LM_ERR, I just see 3 line as below:

Oct 25 17:03:48 civilpol /usr/local/sbin/kamailio[31029]: ERROR: xmpp [xmpp.c:345]: cmd_send_message
Oct 25 17:03:48 civilpol /usr/local/sbin/kamailio[31029]: ERROR: xmpp [xmpp.c:379]: message from <sip:101@sip.htk.com>
Oct 25 17:03:48 civilpol /usr/local/sbin/kamailio[31029]: ERROR: xmpp [xmpp.c:388]: using R-URI as destination

How can I check all LM_DBG logs in some files as xmpp.c, xmpp_component.c .... to view the registration processing of kamailio to local jabberd server ?

Thanks,
Huy Nguyen





www.htk-inc.com