mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +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
@@ -5047,7 +5047,7 @@ struct ast_frame *ooh323_rtp_read(struct ast_channel *ast, struct ooh323_pvt *p)
|
||||
p->faxdetected = 1;
|
||||
ooRequestChangeMode(p->callToken, 1);
|
||||
} else if ((dfr->subclass.integer == 'f') && !p->faxdetected) {
|
||||
const char *target_context = S_OR(ast_channel_macrocontext(p->owner), ast_channel_context(p->owner));
|
||||
const char *target_context = ast_channel_context(p->owner);
|
||||
if ((strcmp(ast_channel_exten(p->owner), "fax")) &&
|
||||
(ast_exists_extension(p->owner, target_context, "fax", 1,
|
||||
S_COR(ast_channel_caller(p->owner)->id.number.valid, ast_channel_caller(p->owner)->id.number.str, NULL)))) {
|
||||
@@ -5123,7 +5123,7 @@ void onModeChanged(ooCallData *call, int t38mode) {
|
||||
if ((p->faxdetect & FAXDETECT_T38) && !p->faxdetected) {
|
||||
const char *target_context;
|
||||
ast_debug(1, "* Detected T.38 Request\n");
|
||||
target_context = S_OR(ast_channel_macrocontext(p->owner), ast_channel_context(p->owner));
|
||||
target_context = ast_channel_context(p->owner);
|
||||
if ((strcmp(ast_channel_exten(p->owner), "fax")) &&
|
||||
(ast_exists_extension(p->owner, target_context, "fax", 1,
|
||||
S_COR(ast_channel_caller(p->owner)->id.number.valid, ast_channel_caller(p->owner)->id.number.str, NULL)))) {
|
||||
|
Reference in New Issue
Block a user