[asterisk-bugs] [LibPRI 0010552]: Immediately releases channel after a DISCONNECT with In-band audio

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Feb 21 10:34:48 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10552 
====================================================================== 
Reported By:                paravoid
Assigned To:                file
====================================================================== 
Project:                    LibPRI
Issue ID:                   10552
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-24-2007 11:22 CDT
Last Modified:              02-21-2008 10:34 CST
====================================================================== 
Summary:                    Immediately releases channel after a DISCONNECT with
In-band audio
Description: 
When the network side sends a DISCONNECT message, libpri sends a RELEASE
and enters Release Request state.
While this is a valid behavior at all cases, it would be nice to be able
to hear the in-band disconnection message, where found.

However, before sending a RELEASE, the B-channel is opened and the audio
is played by Asterisk for a short moment.
This is quite annoying since if the audio is a message and not a tone, it
is chopped, resulting in user confusion.

Attached is a patch that ignores the DISCONNECT when it is accompanied by
inband audio. This is fine and a recommended behavior according to the spec
(Q.931, 5.3.4.1) since the network will start timer T306 (network
dependent) and send a RELEASE after that expires.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 02-21-08 10:34  
---------------------------------------------------------------------- 
Repository: libpri
Revision: 528

U   branches/1.4/q931.c

------------------------------------------------------------------------
r528 | file | 2008-02-21 10:34:45 -0600 (Thu, 21 Feb 2008) | 6 lines

If inband audio is being provided with a disconnect message let the audio
be heard before releasing the channel.
(closes issue http://bugs.digium.com/view.php?id=10552)
Reported by: paravoid
Patches:
      disconnect-audio.diff uploaded by paravoid (license 200)

------------------------------------------------------------------------

http://svn.digium.com/view/libpri?view=rev&revision=528 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-21-08 10:34  svnbot         Checkin                                      
02-21-08 10:34  svnbot         Note Added: 0082731                          
02-21-08 10:34  svnbot         Assigned To              mattf => file       
======================================================================




More information about the asterisk-bugs mailing list