[asterisk-bugs] [JIRA] (ASTERISK-15814) When using originate Local/.../n, dest extension does not run on Local channel pickup

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Mar 27 15:06:34 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-15814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-15814:
-----------------------------------

    Description: 
Similar to issue 16628, but this time with 'no optimization'

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

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

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

{noformat}
    -- 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
{noformat}

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

{noformat}
    -- 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'
{noformat}

  was:
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'


> When using originate Local/.../n, dest extension does not run on Local channel pickup
> -------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-15814
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-15814
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_local
>            Reporter: Mark Murawski
>            Severity: Minor
>
> Similar to issue 16628, but this time with 'no optimization'
> {noformat}
> context services {
>   267 => {
>     Dial(SIP/201);
>   }
>   268 => {
>     NoOp(Pickup by ${CHANNEL});
>   }
> }
> {noformat}
> This doesn't work
> {{asterisk -rx "originate Local/267 at services/n extension 268 at services"}}
> {noformat}
>     -- 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
> {noformat}
> This does work
> {{asterisk -rx "originate Local/267 at services extension 268 at services"}}
> {noformat}
>     -- 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'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list