[asterisk-bugs] [DAHDI-linux 0015931]: Dial() command do not detect hangup during extension call

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 28 06:51:47 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15931 
====================================================================== 
Reported By:                Francis Brosnan
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15931
Category:                   wctdm
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
JIRA:                        
====================================================================== 
Date Submitted:             2009-09-22 09:01 CDT
Last Modified:              2009-09-28 06:51 CDT
====================================================================== 
Summary:                    Dial() command do not detect hangup during extension
call
Description: 
If we receive a call from the analogic device (TDM410P), it gets answered
correctly, but if the caller hangups during Dial() command is ringing to
default extension, this hangup is not detect and local extension keeps on
ringing until someone pick up the phone (or pick the extension) or timeout
is reached.


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

---------------------------------------------------------------------- 
 (0111412) Francis Brosnan (reporter) - 2009-09-28 06:51
 https://issues.asterisk.org/view.php?id=15931#c111412 
---------------------------------------------------------------------- 
Hi,

Just to confirm the issue is solved and can be closed. The problem was
caused by a couple of problems (wrong or missing configuration) at the same
time.

In one hand, adding the following two lines to /etc/asterisk/zapata.conf
resolves the issue:

answeronpolarityswitch=yes
hanguponpolarityswitch=yes

In the other, for some reason, having previous lines activated, was
causing to not work the following instruction (which were also incorrect):

exten => _NXXXXXXXX, 1, Dial(Zap/1/${EXTEN}&mISDN/1/${EXTEN})
; our intention was to first use Zap line available and if busy, use
ISDN,

After changing previous declaration to:

exten => _NXXXXXXXX,1,Dial(Zap/1/${EXTEN})
exten => _NXXXXXXXX,n,GotoIf($[${DIALSTATUS} = BUSY]?hangup)        
exten => _NXXXXXXXX,n,Dial(mISDN/1/${EXTEN})
exten => _NXXXXXXXX,n(hangup),Hangup()

..we were able to use first Zap line and then RDSI (according to busy
state) and at the same time to have polarity reverse detection mentioned
above. 

I hope this helps other users. Thanks for your support. Cheers! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-28 06:51 Francis BrosnanNote Added: 0111412                          
======================================================================




More information about the asterisk-bugs mailing list