From c9a49b0ff3e86b16ff17ae15970facc4d2ef79e6 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 9 Apr 2013 21:42:32 -0500 Subject: [PATCH] debug --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index fa1ae31cdd..02807d063c 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -5270,7 +5270,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status has_t38 = 0; } - printf("WTF %d %d %d\n", switch_media_handle_test_media_flag(tech_pvt->media_handle, SCMF_T38_PASSTHRU), has_t38, status); + if (status > 199 && (switch_channel_test_flag(channel, CF_PROXY_MODE) || switch_channel_test_flag(channel, CF_PROXY_MEDIA) || (switch_media_handle_test_media_flag(tech_pvt->media_handle, SCMF_T38_PASSTHRU) && (has_t38 || status > 299)))) {