[asterisk-bugs] [Asterisk 0017032]: When using originate Local/.../n, dest extension does not run on Local channel pickup

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 15 14:51:07 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17032 
====================================================================== 
Reported By:                kobaz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17032
Category:                   Channels/chan_local
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0.26 
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-03-15 13:05 CDT
Last Modified:              2010-03-15 14:51 CDT
====================================================================== 
Summary:                    When using originate Local/.../n, dest extension
does not run on Local channel pickup
Description: 
Similar to issue 16628, but this time with 'no optimization'

context services {
  267 => {
    Dial(SIP/201);
  }

  268 => {
    NoOp(Pickup by ${CHANNEL});
  }
}

This doesn't work
asterisk -rx "originate Local/267 at services/n extension 268 at services"

    -- Executing [267 at services:1] Dial("Local/267 at services-4164;2",
"SIP/201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 201*CLI>
    -- SIP/201-0000000f is ringing
    -- SIP/201-0000000f answered Local/267 at services-4164;2


This does work
asterisk -rx "originate Local/267 at services extension 268 at services"

    -- Executing [267 at services:1] Dial("Local/267 at services-a0c5;2",
"SIP/201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 201*CLI>
    -- SIP/201-00000010 is ringing
    -- SIP/201-00000010 answered Local/267 at services-a0c5;2
    -- Executing [268 at services:1] NoOp("SIP/201-00000010", "Pickup by
SIP/201-00000010") in new stack
    -- Auto fallthrough, channel 'SIP/201-00000010' status is 'UNKNOWN'
  == Spawn extension (services, 267, 1) exited non-zero on
'Local/267 at services-a0c5;2'
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-15 14:51 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list