From: Anthony Minessale Date: Mon, 2 Jul 2012 19:02:57 +0000 (-0500) Subject: FS-4331 please test this patch and regenerate logs if necessary X-Git-Tag: v1.2.0~223 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3951a187a016f213a288546277dbd686d51f295a;p=thirdparty%2Ffreeswitch.git FS-4331 please test this patch and regenerate logs if necessary --- 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;