]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add more debugging
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 31 Oct 2008 19:14:19 +0000 (19:14 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 31 Oct 2008 19:14:19 +0000 (19:14 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10212 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/libdingaling/src/libdingaling.c
src/mod/applications/mod_enum/mod_enum.c

index 4424bb315a4534393789876e9b4b7a0a1e7432e9..3736a934d0bf6e8b60f4032c6f068660840f00da 100644 (file)
@@ -1474,7 +1474,7 @@ static void xmpp_connect(ldl_handle_t *handle, char *jabber_id, char *pass)
                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:
index 5e7d1374af5610e5c7e32045dd4da832c7ee5a83..21c05e20e95339a2d7e391c0e2f0d7b2228ff9e6 100644 (file)
@@ -685,6 +685,7 @@ SWITCH_STANDARD_API(enum_api)
        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) {