[asterisk-bugs] [Asterisk 0013572]: WaitForSilence() sometimes doesn't always wait when using SIP and a callfile

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 10 09:40:50 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13572 
====================================================================== 
Reported By:                DennisD
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13572
Category:                   Applications/app_waitforsilence
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0-rc6 
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-09-27 15:38 CDT
Last Modified:              2008-12-10 09:40 CST
====================================================================== 
Summary:                    WaitForSilence() sometimes doesn't always wait when
using SIP and a callfile
Description: 
WaitForSilence() seems to always work when using a provider over IAX2 and a
call file, but doesn't always work with SIP providers.

For some reason, if I use Future-Nine to send the call out over SIP, it
works, but it fails to wait if I send the call over Callcentric (SIP) or
voip.ms (SIP).

If I send it over rapidvox (IAX2) or voip.ms (IAX2), WaitForSilence()
waits.

If I call the extension directly from a SIP phone (not using a call file),
it waits.

I've gone through my sip.conf many times, trying to see what the
differences could be, but I can't find anything that could cause this.
====================================================================== 

---------------------------------------------------------------------- 
 (0096079) file (administrator) - 2008-12-10 09:40
 http://bugs.digium.com/view.php?id=13572#c96079 
---------------------------------------------------------------------- 
This issue has already been fixed in later versions. It was creeping up
because app_waitforsilence waited for a small amount of time to receive
audio and if it did not it treated it as a hangup. In your case audio was
not coming in soon enough and this crept up. The code now requires an
actual hangup to happen and treats no incoming audio as silence instead of
hangup. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-10 09:40 file           Note Added: 0096079                          
======================================================================




More information about the asterisk-bugs mailing list