[SR-Users] Debug xmpp module with kamailio 3.0.4

Huy Nguyen huy_quocnguyen at live.com
Mon Oct 25 12:31:44 CEST 2010


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 at 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





 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101025/5a9b3a4e/attachment.htm>


More information about the sr-users mailing list