From: Anthony Minessale Date: Thu, 8 Jul 2010 06:22:38 +0000 (-0500) Subject: fix cid issue X-Git-Tag: v1.2-rc1~552 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=616566b9f689aa6a4a229de1da7af6e4ea7bce6b;p=thirdparty%2Ffreeswitch.git fix cid issue --- diff --git a/src/switch_ivr_bridge.c b/src/switch_ivr_bridge.c index e3bbc1fe48..356d07956a 100644 --- a/src/switch_ivr_bridge.c +++ b/src/switch_ivr_bridge.c @@ -99,9 +99,8 @@ static void send_display(switch_core_session_t *session, switch_core_session_t * caller_channel = switch_core_session_get_channel(session); caller_profile = switch_channel_get_caller_profile(caller_channel); - - // if (switch_channel_direction(caller_channel) == SWITCH_CALL_DIRECTION_OUTBOUND) { - if (!switch_channel_test_flag(caller_channel, CF_BRIDGE_ORIGINATOR)) { + + if (switch_channel_direction(caller_channel) == SWITCH_CALL_DIRECTION_OUTBOUND) { name = caller_profile->callee_id_name; number = caller_profile->callee_id_number;