From 3dc4b53051da76e9a0b0702ecc77390c505d5c04 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 29 Jul 2011 13:49:48 -0500 Subject: [PATCH] setting display on wrong channel on eavesdrop --- src/switch_ivr_async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index d8b67e7706..a47cfbd0c0 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -1286,7 +1286,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_eavesdrop_session(switch_core_session switch_snprintf(cid_buf, sizeof(cid_buf), "%s|%s", cp->caller_id_number, cp->caller_id_name); msg.string_arg = cid_buf; msg.message_id = SWITCH_MESSAGE_INDICATE_DISPLAY; - switch_core_session_receive_message(tsession, &msg); + switch_core_session_receive_message(session, &msg); while (switch_channel_up(tchannel) && switch_channel_ready(channel)) { uint32_t len = sizeof(buf);