From 0c132707ce8bf49293231bf75c0973de2daf9ff2 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 20 Jun 2013 13:23:55 -0500 Subject: [PATCH] doh --- src/mod/endpoints/mod_sofia/sofia_glue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index aac427d9c3..f69b0dc1f5 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -674,8 +674,8 @@ void sofia_glue_set_local_sdp(private_object_t *tech_pvt, const char *ip, switch continue; } - if (switch_channel_direction(session->channel) == SWITCH_CALL_DIRECTION_INBOUND && - switch_channel_test_flag(session->channel, CF_NOVIDEO)) { + if (switch_channel_direction(tech_pvt->channel) == SWITCH_CALL_DIRECTION_INBOUND && + switch_channel_test_flag(tech_pvt->channel, CF_NOVIDEO)) { continue; }