add novideo app

This commit is contained in:
Anthony Minessale 2013-06-20 11:29:26 -05:00
parent d937b8da81
commit 904189a485
2 changed files with 6 additions and 0 deletions

View File

@ -1302,6 +1302,7 @@ typedef enum {
CF_EARLY_OK,
CF_MEDIA_TRANS,
CF_HOLD_ON_BRIDGE,
CF_NOVIDEO,
/* 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

View File

@ -674,6 +674,11 @@ void sofia_glue_set_local_sdp(private_object_t *tech_pvt, const char *ip, switch
continue;
}
if (switch_channel_direction(session->channel) == SWITCH_CALL_DIRECTION_INBOUND &&
switch_channel_test_flag(session->channel, CF_NOVIDEO)) {
continue;
}
if (tech_pvt->ianacodes[i] < 128) {
if (already_did[tech_pvt->ianacodes[i]]) {
continue;