diff options
author | Mark Spencer <markster@digium.com> | 2004-12-18 23:32:42 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-12-18 23:32:42 +0000 |
commit | 933f3a22f42e917242fd2f3cf8f9d5c4618eaa88 (patch) | |
tree | da02ba4aac709ff3c351e28a74a01bb369c66964 /channels/chan_mgcp.c | |
parent | b3a0ef24ed5cd824de6e6e4ff3910befc3aa444c (diff) |
Make sure we del any remaining connections (bug #2982)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_mgcp.c')
-rwxr-xr-x | channels/chan_mgcp.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 98070483b..438aefacd 100755 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -3111,8 +3111,14 @@ static int handle_request(struct mgcp_subchannel *sub, struct mgcp_request *req, } else { /* SC: verbose level check */ if (option_verbose > 2) { - ast_verbose(VERBOSE_PREFIX_3 "MGCP handle_request(%s@%s-%d) ast_channel already destroyed\n", - p->name, p->parent->name, sub->id); + if (option_verbose > 2) { + ast_verbose(VERBOSE_PREFIX_3 "MGCP handle_request(%s@%s-%d) ast_channel already destroyed, resending DLCX.\n", + p->name, p->parent->name, sub->id); + } + /* Instruct the other side to remove the connection since it apparently * + * still thinks the channel is active. * + * For Cisco IAD2421 /BAK/ */ + transmit_connection_del(sub); } } } |