From 3951a187a016f213a288546277dbd686d51f295a Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 2 Jul 2012 14:02:57 -0500 Subject: [PATCH] FS-4331 please test this patch and regenerate logs if necessary --- src/mod/applications/mod_dptools/mod_dptools.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 3e47062a1d..570d4ce286 100755 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -3515,6 +3515,10 @@ static switch_call_cause_t pickup_outgoing_channel(switch_core_session_t *sessio name = switch_core_session_sprintf(nsession, "pickup/%s", pickup); switch_channel_set_name(nchannel, name); switch_channel_set_variable(nchannel, "process_cdr", "false"); + switch_channel_set_variable(nchannel, "presence_id", NULL); + + switch_event_del_header(var_event, "presence_id"); + pickup_add_session(nsession, pickup); switch_channel_set_flag(nchannel, CF_PICKUP); @@ -3565,7 +3569,7 @@ SWITCH_STANDARD_APP(pickup_function) switch_channel_set_flag(pickup_channel, CF_CHANNEL_SWAP); switch_channel_set_variable(pickup_channel, "channel_swap_uuid", switch_core_session_get_uuid(session)); - + name = caller_profile->caller_id_name; num = caller_profile->caller_id_number;