[Freeswitch-svn] [commit] r10212 - in freeswitch/trunk: libs/libdingaling/src src/mod/applications/mod_enum

Freeswitch SVN anthm at freeswitch.org
Fri Oct 31 15:14:20 EDT 2008


Author: anthm
Date: Fri Oct 31 15:14:19 2008
New Revision: 10212

Modified:
   freeswitch/trunk/libs/libdingaling/src/libdingaling.c
   freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c

Log:
add more debugging

Modified: freeswitch/trunk/libs/libdingaling/src/libdingaling.c
==============================================================================
--- freeswitch/trunk/libs/libdingaling/src/libdingaling.c	(original)
+++ freeswitch/trunk/libs/libdingaling/src/libdingaling.c	Fri Oct 31 15:14:19 2008
@@ -1474,7 +1474,7 @@
 		case IKS_OK:
 			break;
 		case IKS_NET_NODNS:
-			globals.logger(DL_LOG_DEBUG, "hostname lookup failed\n");
+			globals.logger(DL_LOG_DEBUG, "hostname lookup failed for %s\n", handle->server);
 			microsleep(1000);
 			goto fail;
 		case IKS_NET_NOCONN:

Modified: freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_enum/mod_enum.c	Fri Oct 31 15:14:19 2008
@@ -685,6 +685,7 @@
 	if ((argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0]))))) {
 		dest = argv[0];
 		root = argv[1];
+		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Looking up %s@%s\n", dest, root);
 		if (enum_lookup(root, dest, &results) == SWITCH_STATUS_SUCCESS) {
 			for (rp = results; rp; rp = rp->next) {
 				if (!rp->supported) {



More information about the Freeswitch-svn mailing list