From: Anthony Minessale Date: Tue, 30 Apr 2013 16:57:48 +0000 (-0500) Subject: add uuid of orig picked channel too X-Git-Tag: v1.2.9~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91f8c535684abadad925ea334e433e8fd24c3fe2;p=thirdparty%2Ffreeswitch.git add uuid of orig picked channel too --- 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;