From 91f8c535684abadad925ea334e433e8fd24c3fe2 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 30 Apr 2013 11:57:48 -0500 Subject: [PATCH] add uuid of orig picked channel too --- src/switch_ivr_originate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index ab18791523..24bf593429 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -470,6 +470,7 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat 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;