From: Anthony Minessale Date: Fri, 29 Jul 2011 18:49:48 +0000 (-0500) Subject: setting display on wrong channel on eavesdrop X-Git-Tag: v1.2-rc1~103^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3dc4b53051da76e9a0b0702ecc77390c505d5c04;p=thirdparty%2Ffreeswitch.git setting display on wrong channel on eavesdrop --- 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);