aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-21 16:02:12 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-21 16:02:12 +0000
commit1108195e5b2814451ec22c190be7d0ca2d9ead10 (patch)
tree233fc1c8f5d9bd9ffedc123671b0cea898b45e93 /apps
parent97ce3dbf31ec080fbaa0374e8096213c360c2c21 (diff)
Fix documentation for ast_softhangup() and correct the misuse thereof.
(closes issue #16103) Reported by: majorbloodnok git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@225105 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_meetme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 6b12ecdb0..1867b7037 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -3919,7 +3919,7 @@ static void sla_handle_hold_event(struct sla_event *event)
ast_indicate(event->trunk_ref->trunk->chan, AST_CONTROL_HOLD);
}
- ast_softhangup(event->trunk_ref->chan, AST_CAUSE_NORMAL);
+ ast_softhangup(event->trunk_ref->chan, AST_SOFTHANGUP_DEV);
event->trunk_ref->chan = NULL;
}