From 3770722690a191a0f36b66f4f60fc26be6e7e9e0 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 4 Mar 2019 18:39:20 +0000 Subject: [PATCH] [mod_verto] new changes for verto video features --- src/include/switch_types.h | 1 + src/mod/endpoints/mod_verto/mod_verto.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/include/switch_types.h b/src/include/switch_types.h index 69e87f4aff..bfbdb9c3ce 100644 --- a/src/include/switch_types.h +++ b/src/include/switch_types.h @@ -1627,6 +1627,7 @@ typedef enum { CF_STATE_REPEAT, CF_WANT_DTLSv1_2, CF_RFC7329_COMPAT, + CF_REATTACHED, /* 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 diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index bc8d017305..182786d5f7 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -1222,6 +1222,7 @@ static void tech_reattach(verto_pvt_t *tech_pvt, jsock_t *jsock) add_variables(tech_pvt, params); + switch_channel_set_flag(tech_pvt->channel, CF_REATTACHED); switch_channel_set_flag(tech_pvt->channel, CF_REINVITE); switch_channel_set_flag(tech_pvt->channel, CF_RECOVERING); switch_core_media_gen_local_sdp(tech_pvt->session, SDP_TYPE_REQUEST, NULL, 0, NULL, 0);