[Asterisk-bugs] [Asterisk 0009660]: [patch]Asterisk can't establish dialtone after brief hangup

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 13 13:53:11 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://www.example.com/var/www/insects.digium.com/core/view.php?id=9660 
====================================================================== 
Reported By:                mmacvicar
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   9660
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.4 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             05-03-2007 14:08 CDT
Last Modified:              07-13-2007 13:53 CDT
====================================================================== 
Summary:                    [patch]Asterisk can't establish dialtone after brief
hangup
Description: 
Asterisk can't establish dialtone after brief hangup

When I press the hook-switch (i.e., receiver button) and then let go to
make a new call, the phone doesn't establish dialtone unless I hold it down
for for 4-5 seconds.

Reproducible Steps:
1. Pick up handset and establish dialtone.
2. Press the hook-switch for 1-3 seconds and let go

After letting go of the hookswitch, the sound on the line is silent for a
moment then a computerized squeal is heard briefly and silence continues.
The asterisk console displays the following messages when "core set verbose
10":
--------------------
    -- Starting simple switch on 'Zap/7-1'
    -- Hungup 'Zap/7-1'
[May  3 11:31:45] WARNING[2241]: chan_zap.c:1616 zt_set_hook: zt hook
failed: Device or resource busy
--------------------

We are using analog Astra Telecom 480e phones connected through internal
wiring to TDM400P cards in our asterisk server.


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

---------------------------------------------------------------------- 
 svnbot - 07-13-07 13:53  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 75052

------------------------------------------------------------------------
r75052 | russell | 2007-07-13 13:53:08 -0500 (Fri, 13 Jul 2007) | 12 lines

(closes issue
http://www.example.com/var/www/insects.digium.com/core/view.php?id=9660)
Reported by: mmacvicar
Patches submitted by: bbryant, russell
Tested by: mmacvicar, marco, arcivanov, jmhunter, explidous

When using a TDM400P (and probably other analog cards) there was a chance
that
you could hang up and pick the phone back up where it has been long enough
to
be not considered a flash hook, but too soon such that the device reports
that
it is busy and the person on the phone will only hear silence.  This patch
makes chan_zap more tolerant of this and gives the device a couple of
seconds 
to succeed so the person on the phone happily gets their dialtone.

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-13-07 13:53  svnbot         Checkin                                      
07-13-07 13:53  svnbot         Note Added: 0067359                          
07-13-07 13:53  svnbot         Status                   feedback => assigned
07-13-07 13:53  svnbot         Assigned To              bbryant => russell  
======================================================================




More information about the asterisk-bugs mailing list