[asterisk-commits] tilghman: branch 1.2 r43072 -
/branches/1.2/apps/app_directory.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Sep 17 06:54:34 MST 2006
Author: tilghman
Date: Sun Sep 17 08:54:34 2006
New Revision: 43072
URL: http://svn.digium.com/view/asterisk?rev=43072&view=rev
Log:
Directory used the wrong context for delivery of 0- and *- keypresses
(according to Directory's own documentation) - Issue 7965
Modified:
branches/1.2/apps/app_directory.c
Modified: branches/1.2/apps/app_directory.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_directory.c?rev=43072&r1=43071&r2=43072&view=diff
==============================================================================
--- branches/1.2/apps/app_directory.c (original)
+++ branches/1.2/apps/app_directory.c Sun Sep 17 08:54:34 2006
@@ -426,7 +426,7 @@
return -1;
}
if (digit == '0') {
- if (!ast_goto_if_exists(chan, chan->context, "o", 1) ||
+ if (!ast_goto_if_exists(chan, dialcontext, "o", 1) ||
(!ast_strlen_zero(chan->macrocontext) &&
!ast_goto_if_exists(chan, chan->macrocontext, "o", 1))) {
return 0;
@@ -437,7 +437,7 @@
}
}
if (digit == '*') {
- if (!ast_goto_if_exists(chan, chan->context, "a", 1) ||
+ if (!ast_goto_if_exists(chan, dialcontext, "a", 1) ||
(!ast_strlen_zero(chan->macrocontext) &&
!ast_goto_if_exists(chan, chan->macrocontext, "a", 1))) {
return 0;
More information about the asterisk-commits
mailing list