[Asterisk-bugs] [Asterisk 0010206]: [feature] [patch] Add ability to execute 'h' on the called peer in addition to the calling channel

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 16 15:58:19 CDT 2007


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=10206 
====================================================================== 
Reported By:                blitzrage
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   10206
Category:                   PBX/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.7.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-16-2007 09:22 CDT
Last Modified:              07-16-2007 15:58 CDT
====================================================================== 
Summary:                    [feature] [patch] Add ability to execute 'h' on the
called peer in addition to the calling channel
Description: 
I have been using a Local channel which then does a Dial() to a SIP channel
in order to have 2 separate 'h' extensions execute at the end of the call.
While talking about how to get around this in #asterisk-doc, Murf said that
was a cool idea, and that he'd like to add an option to Dial() that would
allow this (just like when we execute a GoSub() or Macro() for the called
channel).

He said he'd supply a patch, so this isn't just an open ended feature
request, which I know you all hate :D
====================================================================== 

---------------------------------------------------------------------- 
 murf - 07-16-07 15:58  
---------------------------------------------------------------------- 
OK, this was a bit of a hassle, as the feature is easy to add, but the hard
part is adding an extra option to Dial!!!!
To do that, dozens of files had to be updated to change the type of flags
to uint64_t instead of "unsigned int". 

The patch applies to trunk; you can try it against 1.4; it compiles and
works
for me. The peer channel isn't super interesting, but the hangup exten is
run against it. Or, at least, so my testing shows.

 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-16-07 15:58  murf           Note Added: 0067407                          
07-16-07 15:58  murf           Status                   assigned => feedback
======================================================================




More information about the asterisk-bugs mailing list