From 3d9e9713b8acfadf840bca5889ece319de398b59 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 25 Jul 2013 14:36:05 -0500 Subject: [PATCH] missed a spot --- 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 b8b001e25a..46b8dcc0bf 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -253,7 +253,7 @@ static void extract_header_vars(sofia_profile_t *profile, sip_t const *sip, switch_channel_set_variable(channel, "sip_full_via", (char *)stream.data); - if (switch_channel_direction(channel) == SWITCH_CALL_DIRECTION_OUTBOUND) { + if (switch_channel_direction(channel) == SWITCH_CALL_DIRECTION_OUTBOUND || switch_stristr("TCP", (char *)stream.data)) { switch_channel_set_variable(channel, "sip_recover_via", (char *)stream.data); }