mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-05 12:53:45 +00:00
app_macro: Remove deprecated module.
For most modules that interacted with app_macro, this change is limited to no longer looking for the current context from the macrocontext when set. Additionally, the following modules are impacted: app_dial - no longer supports M^ connected/redirecting macro app_minivm - samples written using macro will no longer work. The sample needs a re-write app_queue - can no longer a macro on the called party's channel. Use gosub which is currently supported ccss - no callback macro, gosub only app_voicemail - no macro support channel - remove macrocontext and priority, no connected line or redirection macro options options - stdexten is deprecated to gosub as the default and only pbx - removed macrolock pbx_dundi - no longer look for macro snmp - removed macro context, exten, and priority ASTERISK-30304 Change-Id: I830daab293117179b8d61bd4df0d971a1b3d07f6
This commit is contained in:
committed by
Friendly Automation
parent
6ecec51e6a
commit
e8f548c155
@@ -389,7 +389,6 @@ struct mixmonitor {
|
||||
/* the below string fields describe data used for creating voicemails from the recording */
|
||||
AST_DECLARE_STRING_FIELDS(
|
||||
AST_STRING_FIELD(call_context);
|
||||
AST_STRING_FIELD(call_macrocontext);
|
||||
AST_STRING_FIELD(call_extension);
|
||||
AST_STRING_FIELD(call_callerchan);
|
||||
AST_STRING_FIELD(call_callerid);
|
||||
@@ -660,7 +659,6 @@ static void copy_to_voicemail(struct mixmonitor *mixmonitor, const char *ext, co
|
||||
ast_string_field_set(&recording_data, recording_file, filename);
|
||||
ast_string_field_set(&recording_data, recording_ext, ext);
|
||||
ast_string_field_set(&recording_data, call_context, mixmonitor->call_context);
|
||||
ast_string_field_set(&recording_data, call_macrocontext, mixmonitor->call_macrocontext);
|
||||
ast_string_field_set(&recording_data, call_extension, mixmonitor->call_extension);
|
||||
ast_string_field_set(&recording_data, call_callerchan, mixmonitor->call_callerchan);
|
||||
ast_string_field_set(&recording_data, call_callerid, mixmonitor->call_callerid);
|
||||
@@ -1075,7 +1073,6 @@ static int launch_monitor_thread(struct ast_channel *chan, const char *filename,
|
||||
}
|
||||
|
||||
ast_string_field_set(mixmonitor, call_context, ast_channel_context(chan));
|
||||
ast_string_field_set(mixmonitor, call_macrocontext, ast_channel_macrocontext(chan));
|
||||
ast_string_field_set(mixmonitor, call_extension, ast_channel_exten(chan));
|
||||
ast_string_field_set(mixmonitor, call_callerchan, ast_channel_name(chan));
|
||||
ast_string_field_set(mixmonitor, call_callerid, callerid);
|
||||
|
||||
Reference in New Issue
Block a user