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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 11 11:17:02 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             08-24-2007 11:22 CDT
Last Modified:              07-11-2008 11:16 CDT
====================================================================== 
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.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013042 Patch for 10552 changes behavior people...
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 07-11-08 11:16  
---------------------------------------------------------------------- 
Repository: libpri
Revision: 574

U   branches/1.4/libpri.h
U   branches/1.4/pri.c
U   branches/1.4/pri_internal.h
U   branches/1.4/q931.c

------------------------------------------------------------------------
r574 | kpfleming | 2008-07-11 11:16:25 -0500 (Fri, 11 Jul 2008) | 4 lines

modify work done for issue http://bugs.digium.com/view.php?id=10552, making the
support of inband audio
after RELEASE a configurable option, since it is causing problems for a
number of users

(closes issue http://bugs.digium.com/view.php?id=13042)

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-11-08 11:16  svnbot         Note Added: 0090092                          
======================================================================




More information about the asterisk-bugs mailing list