[asterisk-bugs] [Asterisk 0012810]: channels stays open after the call has finished

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jun 17 12:10:15 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12810 
====================================================================== 
Reported By:                diegoviola
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12810
Category:                   . I did not set the category correctly.
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.20.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             06-08-2008 23:29 CDT
Last Modified:              06-17-2008 12:10 CDT
====================================================================== 
Summary:                    channels stays open after the call has finished
Description: 
Hi

I noticed that after a call finishes in asterisk, I do "show channels" in
the CLI and I still see the channel is open, and the only way to clear it
is restarting it.

Also, why does asterisk open more than one channel per call?

Thanks,

Diego
====================================================================== 

---------------------------------------------------------------------- 
 davidw - 06-17-08 12:10  
---------------------------------------------------------------------- 
The channels are staying open because they are connected to a conference
and the clear for them has been lost.  As the conference is the machine,
there is no human other party to clear the call.  One way this can happen
is if you switch the phone off whilst it is in the conference.  The phone
then forgets that it was in the call, but Asterisk is never told that it
has gone away.  There have been issues in about the last month that more
directly address the problem of SIP calls that are orphaned because one
side is the machine, and the other side has forgotten the call.

A normal phone call needs two channels.  One for the callee and one for
the caller.  A conference will have a channel for each line it thinks is
connected.

I can't tell from your example whether the SIP connection is a trunk, but
even a single phone can have multiple calls on it.  I suspect, though, that
it is a phone that thinks it is only making one call at a time.

If you are sure the phone wasn't powered down mid-conference, you should
look for messages indicating that Asterisk failed to understand a request,
by the phone, to clear the call.

I'll do a quick search for another issue relating to SIP phones forgetting
calls, and edit in a reference if I find one quickly. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-17-08 12:10  davidw         Note Added: 0088817                          
======================================================================




More information about the asterisk-bugs mailing list