switch_core_session_t *session = NULL; if (!(session = switch_core_session_locate(channel_uuid))) { return ; }