From fcb699c8b7c7afc26a2a37742ebf8f4cd4e782ab Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 13 May 2013 14:21:08 -0500 Subject: [PATCH] FS-5407 --resolve --- src/switch_ivr_originate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index a43020f5b9..603297ec55 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -468,9 +468,9 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat switch_channel_answer(originate_status[i].peer_channel); + switch_channel_set_variable(originate_status[i].peer_channel, "picked_up_uuid", switch_core_session_get_uuid(old_session)); switch_channel_execute_on(originate_status[i].peer_channel, "execute_on_pickup"); switch_channel_api_on(originate_status[i].peer_channel, "api_on_pickup"); - switch_channel_set_variable(originate_status[i].peer_channel, "picked_up_uuid", switch_core_session_get_uuid(old_session)); switch_core_session_rwunlock(old_session); break;