aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_mgcp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-18 23:32:42 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-18 23:32:42 +0000
commitbf9ad997ffd69040efec0d526af1a1e20751f53c (patch)
treeda02ba4aac709ff3c351e28a74a01bb369c66964 /channels/chan_mgcp.c
parent253322596d3e9cb116d4957c5500dd6143235d6e (diff)
Make sure we del any remaining connections (bug #2982)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4480 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_mgcp.c')
-rwxr-xr-xchannels/chan_mgcp.c10
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);
}
}
}