From 9ef64432cbaf5e4dad7e0c7d9a1c0a54b27a72a8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 21 Oct 2008 18:14:37 +0000 Subject: [PATCH] add debug message git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10096 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_glue.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 55c6c59b14..5bacb6b2d4 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -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)); }