[asterisk-bugs] [Asterisk 0016014]: Asterisk cuts audio to the internal extension

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 14 12:40:39 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16014 
====================================================================== 
Reported By:                mrmrmrmr
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16014
Category:                   Channels/chan_sip/CodecHandling
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           Older 1.6.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-02 15:37 CDT
Last Modified:              2009-10-14 12:40 CDT
====================================================================== 
Summary:                    Asterisk cuts audio to the internal extension
Description: 
Hi, 

I have a problem with one call scenario on my Asterisk server. 
The call is coming from an external SIP proxy to my server. Asterisk sends
the call to one internal extension. 
Extension rings and then answers. 
The user at extension hears audio for 0.5 seconds. Then audio in that
direction is cut. (no RTP is sent) 
Audio in other direction continues. 

I got network traces for this call scenario. Everything seems normal in
SIP messaging and as RTP. 
I can also see that external audio continues even after the internal
extension's audio is cut.

This problem occurs with one type of CPE on the external side. With other
CPEs this problem is not reproduced.

I believe Asterisk cuts the internal extension's audio because it doesn't
like something in the RTP stream of external CPE.

I will add the network trace for unsuccessful call together with RTP debug
on Asterisk.
On both of these files it is clearly seen that one way audio is cut in a
very short time after call is established.


====================================================================== 

---------------------------------------------------------------------- 
 (0112275) ebroad (manager) - 2009-10-14 12:40
 https://issues.asterisk.org/view.php?id=16014#c112275 
---------------------------------------------------------------------- 
As far as I know, Asterisk itself does not do any voice detection, the only
thing that I could think of that possibly comes close is RTP timers, which
will terminate a call after a certain period of RTP inactivity. With that
said, your last note got me thinking, and a little Googling confirms that
G729 has a VAD capability built into the codec, however, Asterisk
explicitly requests peers to disable it via 'a=fmtp:18 annexb=no' which
signals the peer to disable annexb(see
http://en.wikipedia.org/wiki/G.729#G.729_Annex_B). Chances are the peer on
the far end is ignoring this and since Asterisk is not inserting 'hiss
frames', the far end assumes that the link is dead. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-14 12:40 ebroad         Note Added: 0112275                          
======================================================================




More information about the asterisk-bugs mailing list