[asterisk-bugs] [Asterisk 0010334]: Hangup command is ignored when called within a macro that was called by using MacroIf.

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 30 09:24:22 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10334 
====================================================================== 
Reported By:                ramonpeek
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10334
Category:                   Applications/app_macro
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.9  
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-30-2007 07:37 CDT
Last Modified:              07-30-2007 09:24 CDT
====================================================================== 
Summary:                    Hangup command is ignored when called within a macro
that was called by using MacroIf.
Description: 
When we call a macro that has the command "hangup" included, this hangup
command will not function if the Macro was called using the MacroIf
application.

!! See steps to reproduce section for example dialplan !!
====================================================================== 

---------------------------------------------------------------------- 
 file - 07-30-07 09:24  
---------------------------------------------------------------------- 
Hrm... this is quite interesting. Are you sure you don't have two
macro-playback entries? Can you paste the entire file and not the specific
portion? Putting it into my extensions.conf yields the correct dialplan
logic, while yours apparently does not:

[ Context 'macro-playback' created by 'pbx_config' ]
  's' =>            1. Answer()                                  
[pbx_config]
                    2. Wait(1)                                   
[pbx_config]
                    3. Playback(tt-weasels)                      
[pbx_config]
                    4. Hangup()                                  
[pbx_config]
                    5. Noop(We should not reach this priority)   
[pbx_config]
                    6. MacroExit()                               
[pbx_config] 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-30-07 09:24  file           Note Added: 0068044                          
======================================================================




More information about the asterisk-bugs mailing list