[asterisk-bugs] [Asterisk 0017429]: function SHARED broken

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 1 09:26:16 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17429 
====================================================================== 
Reported By:                yold
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17429
Category:                   Functions/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.7 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-31 16:37 CDT
Last Modified:              2010-06-01 09:26 CDT
====================================================================== 
Summary:                    function SHARED broken
Description: 
extensions.conf:
[CTX-TEST]
exten => s,1,Set(__channelparent=${CHANNEL})
exten => s,n,Set(SHARED(var-${CHANNEL})=foo)
exten => s,n,Dial(SIP/${NUMBER},15,rgHM(test))
exten => s,n,NoOp(${SHARED(var-${CHANNEL}})

[macro-test]
exten => s,1,NoOp(${SHARED(var-${channelparent})})
exten => s,n,Set(SHARED(var-${channelparent})=bar)
exten => s,n,NoOp(${SHARED(var-${channelparent})})
exten => s,n,Set(MACRO_RESULT=CONTINUE)

    -- Executing [s at CTX-TEST:1] Set("SIP/20-0000002f",
"__channelparent=SIP/20-0000002f") in new stack
    -- Executing [s at CTX-TEST:2] Set("SIP/20-0000002f",
"SHARED(var-SIP/20-0000002f)=foo") in new stack
    -- Executing [s at CTX-TEST:3] Dial("SIP/20-0000002f",
"SIP/10,15,rgHM(test)") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called 10
    -- SIP/10-00000030 is ringing
    -- SIP/10-00000030 answered SIP/20-0000002f
    -- Executing [s at macro-test:1] NoOp("SIP/10-00000030",
"SIP/20-0000002f") in new stack
    -- Executing [s at macro-test:2] NoOp("SIP/10-00000030", "") in new
stack
    -- Executing [s at macro-test:3] Set("SIP/10-00000030",
"SHARED(var-SIP/20-0000002f)=bar") in new stack
    -- Executing [s at macro-test:4] NoOp("SIP/10-00000030", "bar") in new
stack
    -- Executing [s at macro-test:5] Set("SIP/10-00000030",
"MACRO_RESULT=CONTINUE") in new stack
    -- Executing [s at CTX-TEST:4] NoOp("SIP/20-0000002f", "foo") in new
stack
    -- Auto fallthrough, channel 'SIP/20-0000002f' status is 'ANSWER'




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

---------------------------------------------------------------------- 
 (0122686) pabelanger (manager) - 2010-06-01 09:26
 https://issues.asterisk.org/view.php?id=17429#c122686 
---------------------------------------------------------------------- 
It would be helpful to see a debug log (see below)
--
We require a complete debug log to help triage the issue.

This document will provide instructions on how to collect debugging logs
from an Asterisk machine for the purpose of helping bug marshals
troubleshoot an issue:

http://svn.digium.com/svn/asterisk/trunk/doc/HOWTO_collect_debug_information.txt


Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-01 09:26 pabelanger     Note Added: 0122686                          
======================================================================




More information about the asterisk-bugs mailing list