[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 14:02:36 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 14:02 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
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 06-17-08 14:02  
---------------------------------------------------------------------- 
Because a channel is a call leg.  A call that connects two parties (as
opposed to just connecting a party to a backend application, like MeetMe or
Voicemail) uses two channels.

I suggest that you set rtptimeout in sip.conf to something reasonable,
like 60.  Asterisk will then hangup all calls for which it does not receive
RTP for 60 seconds.  This should clear up these problems when the phone is
disconnected for whatever reason (phone reboot, cable disconnect, switch
reboot, power outage, etc.) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-17-08 14:02  Corydon76      Note Added: 0088833                          
======================================================================




More information about the asterisk-bugs mailing list