[asterisk-bugs] [Asterisk 0014555]: When i park a call after the slot announcement the call is not hangup

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 6 17:18:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14555 
====================================================================== 
Reported By:                francesco_r
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   14555
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 178266 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-02-25 11:38 CST
Last Modified:              2009-05-06 17:18 CDT
====================================================================== 
Summary:                    When i park a call after the slot announcement the
call is not hangup
Description: 
In asterisk 1.4.22 and all previous versions, when i parked a call using
the one-touch park feature or the direct transfer to parking (ex
http://bugs.digium.com/view.php?id=70), the
call was immediately hangup. Using the latest code of 1.4 the call is not
hangup.
For example i use this extensions.conf (is from freepbx):

[from-internal]
include => parkedcalls
include => from-internal-additional
include => bad-number

[from-internal-additional]
include => park-hints
exten => _9X.,1,Dial(misdn/1/${EXTEN:1},300,TK)
exten => _9X.,n,Dial(misdn/2/${EXTEN:1},300,TK)
exten => _9X.,n,Macro(outisbusy,)
exten => h,1,Hangup

[macro-outisbusy]
exten => s,1,Playback(all-circuits-busy-now,noanswer)
exten => s,n,Playback(pls-try-call-later,noanswer)
exten => s,n,Macro(hangupcall)

[macro-hangupcall]
exten => s,1,ResetCDR(w)
exten => s,n,NoCDR()
exten => s,n,Hangup

[bad-number]
include => bad-number-custom
exten => _X.,1,ResetCDR()
exten => _X.,n,NoCDR()
exten => _X.,n,Wait(1)
exten =>
_X.,n,Playback(silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer)
exten => _X.,n,Wait(1)
exten => _X.,n,Congestion(20)
exten => _X.,n,Hangup


If i dial an external number and i park the call using the one-touch
feature, the person that park hear all-circuits-busy-now (macro outisbusy).
When i pickup and i repark the call instead hear cannot-complete-as-dialed
(macro bad-number).

Can the previous behaviour can be restored?
====================================================================== 

---------------------------------------------------------------------- 
 (0104329) svnbot (reporter) - 2009-05-06 17:18
 http://bugs.digium.com/view.php?id=14555#c104329 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 192865

_U  branches/1.6.0/
U   branches/1.6.0/main/features.c

------------------------------------------------------------------------
r192865 | jpeeler | 2009-05-06 17:18:30 -0500 (Wed, 06 May 2009) | 24
lines

Merged revisions 192861 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r192861 | jpeeler | 2009-05-06 17:17:27 -0500 (Wed, 06 May 2009) | 17
lines
  
  Merged revisions 192858 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r192858 | jpeeler | 2009-05-06 17:15:19 -0500 (Wed, 06 May 2009) | 10
lines
    
    Make ParkedCall application stop execution of the dialplan after hang
up
    
    Just changed park_exec to always return non-zero. I really wasn't
entirely sure
    at first if this was a bug. Decided it was since it would be
surprising when 
    not using ParkedCall in the dialplan to hang up and have dialplan
execution
    continue.
    
    (closes issue http://bugs.digium.com/view.php?id=14555)
    Reported by: francesco_r
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-06 17:18 svnbot         Checkin                                      
2009-05-06 17:18 svnbot         Note Added: 0104329                          
======================================================================




More information about the asterisk-bugs mailing list