aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_mgcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_mgcp.c')
-rwxr-xr-xchannels/chan_mgcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c
index a0b0724db..e25a0b2bc 100755
--- a/channels/chan_mgcp.c
+++ b/channels/chan_mgcp.c
@@ -899,7 +899,7 @@ static int mgcp_call(struct ast_channel *ast, char *dest, int timeout)
res = -1;
}
ast_mutex_unlock(&sub->lock);
- ast_queue_frame(ast, AST_CONTROL_RINGING);
+ ast_queue_control(ast, AST_CONTROL_RINGING);
return res;
}