CF_CHANNEL_SWAP,
CF_PICKUP,
CF_CONFIRM_BLIND_TRANSFER,
+ CF_NO_PRESENCE,
/* WARNING: DO NOT ADD ANY FLAGS BELOW THIS LINE */
/* IF YOU ADD NEW ONES CHECK IF THEY SHOULD PERSIST OR ZERO THEM IN switch_core_session.c switch_core_session_request_xml() */
CF_FLAG_MAX
pickup_add_session(nsession, pickup);
switch_channel_set_flag(nchannel, CF_PICKUP);
+ switch_channel_set_flag(nchannel, CF_NO_PRESENCE);
goto done;
const char *call_info = NULL;
char *call_info_state = "active";
+ if (switch_channel_test_flag(channel, CF_NO_PRESENCE)) {
+ return;
+ }
+
if (!status) {
type = SWITCH_EVENT_PRESENCE_OUT;
}