add novideo app

Conflicts:
	src/include/switch_types.h
This commit is contained in:
Anthony Minessale 2013-06-20 13:08:09 -05:00
parent b02f288f9e
commit d937b8da81
1 changed files with 7 additions and 0 deletions

View File

@ -3997,6 +3997,11 @@ SWITCH_STANDARD_APP(unhold_function)
switch_ivr_unhold_uuid(switch_core_session_get_uuid(session));
}
SWITCH_STANDARD_APP(novideo_function)
{
switch_channel_set_flag(switch_core_session_get_channel(session), CF_NOVIDEO);
}
SWITCH_STANDARD_APP(verbose_events_function)
{
switch_channel_set_flag(switch_core_session_get_channel(session), CF_VERBOSE_EVENTS);
@ -5454,6 +5459,8 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_dptools_load)
"<ip> <acl | cidr> [<hangup_cause>]", SAF_SUPPORT_NOMEDIA | SAF_ROUTING_EXEC);
SWITCH_ADD_APP(app_interface, "verbose_events", "Make ALL Events verbose.", "Make ALL Events verbose.", verbose_events_function, "",
SAF_SUPPORT_NOMEDIA | SAF_ROUTING_EXEC);
SWITCH_ADD_APP(app_interface, "novideo", "Refuse Inbound Video", "Refuse Inbound Video", novideo_function, "",
SAF_SUPPORT_NOMEDIA | SAF_ROUTING_EXEC);
SWITCH_ADD_APP(app_interface, "cng_plc", "Do PLC on CNG frames", "", cng_plc_function, "",
SAF_SUPPORT_NOMEDIA | SAF_ROUTING_EXEC);
SWITCH_ADD_APP(app_interface, "early_hangup", "Enable early hangup", "", early_hangup_function, "", SAF_SUPPORT_NOMEDIA | SAF_ROUTING_EXEC);