summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels/chan_local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c
index aea21f49f..db6081a53 100644
--- a/channels/chan_local.c
+++ b/channels/chan_local.c
@@ -313,7 +313,7 @@ static int local_fixup(struct ast_channel *oldchan, struct ast_channel *newchan)
static int local_indicate(struct ast_channel *ast, int condition, const void *data, size_t datalen)
{
struct local_pvt *p = ast->tech_pvt;
- int res = -1;
+ int res = 0;
struct ast_frame f = { AST_FRAME_CONTROL, };
int isoutbound;