[asterisk-bugs] [Asterisk 0012708]: Dead air between answer and packet2packet bridge

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 7 14:28:21 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12708 
====================================================================== 
Reported By:                kactus
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   12708
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0-beta8 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-05-22 20:26 CDT
Last Modified:              2008-08-07 14:28 CDT
====================================================================== 
Summary:                    Dead air between answer and packet2packet bridge
Description: 
Hi we have been testing asterisk 1.6 extensively as we intend to replace
our long in the tooth 1.2 box that acts as our gateway between our offices
and the switched telephony network.

Asterisk 1.6 talks to directly to a cisco call gateway via sip which talks
to the out side world via PRI

One issue that we have noticed repeatedly is that there is a large delay
between when a call is answered and when voice traffic actually flows. The
delay is also asymmetrical and of the scope of about 2 seconds. This is
very noticeable as calling someone generally misses the entire greeting.

Call flow essentially goes like this:
start call -> ringing -> answered (other party start talking “welcome to
company this is Cameron”) -> their voice flows 2 seconds later and we
hear “ameron”

If we talk they can't here anything either at the beginning.

I have been mainly testing this with a snom 190 (have also tried sp962)
connected via sip to the 1.6 box (over nat).

We have also tested this by passing the voice out to one of the larger
voice providers (who also use cisco equipment) and they have stated time
and time again that it is not their end. Both Cisco gateways run
unauthenticated accepting calls from particular ips automatically.

RTP debug information is attached (RTP stats attached to bottom of it.)

Please let me know if you need anything else. We have run this on two 1.6
boxes one running beta 8 the other running beta 9.

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

---------------------------------------------------------------------- 
 (0091217) svnbot (reporter) - 2008-08-07 14:28
 http://bugs.digium.com/view.php?id=12708#c91217 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 136631

U   trunk/main/channel.c

------------------------------------------------------------------------
r136631 | mmichelson | 2008-08-07 14:28:20 -0500 (Thu, 07 Aug 2008) | 13
lines

Scrap the 500 ms delay when Asterisk auto-answers a channel.
Instead, poll the channel until receiving a voice frame. The
cap on this poll is 500 ms.

The optional delay is still allowable in the Answer() application,
but the delay has been moved back to its original position, after
the call to the channel's answer callback. The poll for the voice
frame will not happen if a delay is specified when calling Answer().

(closes issue http://bugs.digium.com/view.php?id=12708)
Reported by: kactus


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

http://svn.digium.com/view/asterisk?view=rev&revision=136631 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-07 14:28 svnbot         Checkin                                      
2008-08-07 14:28 svnbot         Note Added: 0091217                          
======================================================================




More information about the asterisk-bugs mailing list