[asterisk-bugs] [Asterisk 0013820]: Executing 'h' extension if parked channel hangs up

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 5 14:16:33 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13820 
====================================================================== 
Reported By:                mdu113
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13820
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 152539 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-31 13:50 CDT
Last Modified:              2008-11-05 14:16 CST
====================================================================== 
Summary:                    Executing 'h' extension if parked channel hangs up
Description: 
I hope this is just an oversight and something that can be added easily.
Currently there's no way specify 'h' extension to be executed when parked
channel hangs up ("got tired of being parked" in asterisk language).
If I add "parkedcalls" context to my dialplan and create an 'h' extension
there, it creates 2 different contexts of the same name and 'h' extension
is not executed:
devel*CLI> dialplan show parkedcalls
[ Context 'parkedcalls' created by 'pbx_config' ]
  'h' =>            1. NoOp(Parking H extension)                 
[pbx_config]

[ Context 'parkedcalls' created by 'res_features' ]
  '700' =>          1. Park()                                    
[res_features]
devel*CLI>
-= 2 extensions (2 priorities) in 2 contexts. =-
I really need to be able to do some additional stuff on parked channel
hang up. 
I think the current behavior is incorrect or at least inconsistent.
====================================================================== 

---------------------------------------------------------------------- 
 (0094601) murf (administrator) - 2008-11-05 14:16
 http://bugs.digium.com/view.php?id=13820#c94601 
---------------------------------------------------------------------- 
Normally, the h-exten should get run on the guy that's running the pbx.
Normally, this is the "chan" in a bridged conversation, (not the "peer"),
so only one of the two gets the h-exten run.

You can call dial and ask it run the h-exten on the peer in a dial, but
I think this is a trunk/1.6 feature. 

AFAICT, there has never been a special h-exten execution for just a
parked
channel; it usually only gets run on channel. In the 4 early-hangup
scenarios,
It would be A, since he initiated the call in all four cases. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-05 14:16 murf           Note Added: 0094601                          
======================================================================




More information about the asterisk-bugs mailing list