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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 31 16:37:47 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
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-05-31 16:37 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'




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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-31 16:37 yold           New Issue                                    
2010-05-31 16:37 yold           Asterisk Version          => 1.6.2.7         
2010-05-31 16:37 yold           Regression                => No              
2010-05-31 16:37 yold           SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list