From af37b907ea80592e8bc2b8683347cf86e2dab0f0 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 18 Oct 2012 17:20:19 -0400 Subject: [PATCH] flip cid on pickup endpoint --- src/mod/applications/mod_dptools/mod_dptools.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index fae029bc61..158413b9e0 100755 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -3667,6 +3667,8 @@ SWITCH_STANDARD_APP(pickup_function) caller_profile->callee_id_name = name; caller_profile->callee_id_number = num; + switch_channel_flip_cid(channel); + if (switch_event_create(&event, SWITCH_EVENT_CALL_UPDATE) == SWITCH_STATUS_SUCCESS) { const char *uuid = switch_channel_get_partner_uuid(channel); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Direction", "RECV");