]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add debug message
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 21 Oct 2008 18:14:37 +0000 (18:14 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 21 Oct 2008 18:14:37 +0000 (18:14 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10096 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_glue.c

index 55c6c59b14aa99c8fe9dcedec12838a51abfe7e2..5bacb6b2d4d1d79ccf047bd849bf7f50d285142a 100644 (file)
@@ -1316,6 +1316,10 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
                }
                
                route_uri = sofia_overcome_sip_uri_weakness(tech_pvt->session, route_uri, 0, SWITCH_TRUE, NULL);
+       }
+
+
+       if (route_uri) {
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s Setting proxy route to %s\n", route_uri, switch_channel_get_name(channel));
        }