aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_agi.c
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-04 17:00:29 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-04 17:00:29 +0000
commit37c0ec6d1c39ee94a54044d4daac271be487aa22 (patch)
tree2ee3571ad97669766cc0f3857c7da837fabbe5d0 /res/res_agi.c
parent7d32d5562cf8b8c91a21ec13caa024ee07d57a74 (diff)
(closes issue #11979)
Fixes multiple parking problems: Crash when executing a park on an extension dialed by AGI due to not returning the proper return code. Crash when using a builtin feature that was a subset of a enabled dynamic feature. Crash due to always hanging up the peer despite the fact that the peer was supposed to be parked. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@141028 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_agi.c')
-rw-r--r--res/res_agi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 20bb9331b..2ab5b8b31 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -2092,7 +2092,7 @@ static int agi_exec_full(struct ast_channel *chan, void *data, int enhanced, int
return -1;
}
- return 0;
+ return res;
}
static int agi_exec(struct ast_channel *chan, void *data)