Local channel /n not working?

Hey there, I hope someone can help me with this.

I’m using v 1.8.2.3 and trying to make outbound calls using .call files. The trouble I’m having is that even though I’m using /n with the local channel, the channel variables are non-existent. I receive the call and hear the hello-world sound file without issue. I’d like to be able to get the dialstatus of the call. What I’ve noticed is that the NoOp after Dial never executes and the {$DIALSTATUS} in the NoOp of extension 100 is empty.

Below is my extensions.conf config and .call file.

extensions.conf

[outgoing]
exten => _1NXXXXXXXXX,1,NoOp(Begin Dial)
exten => _1NXXXXXXXXX,n,Dial(SIP/${EXTEN}@flowroute)
exten => _1NXXXXXXXXX,n,NoOp(Dial: ${DIALSTATUS})

exten => 100,1,NoOp(100: ${DIALSTATUS})
exten => 100,n,Playback(hello-world)
exten => 100,n,Hangup

.call file (dialed number replaced for privacy)

Channel: Local/18885551212@outgoing/n
Context: outgoing
Extension: 100

Below is the output of the CLI (dialed number replaced for privacy)

Attempting call on Local/18885551212@outgoing/n for 100@:1 (Retry 1)
– Executing [18885551212@outgoing:1] NoOp(“Local/18885551212@outgoing-d724;2”, “Begin Dial”) in new stack
– Executing [18885551212@outgoing:2] Dial(“Local/18885551212@outgoing-d724;2”, “SIP/18885551212@flowroute”) in new stack
== Using SIP RTP CoS mark 5
– Called 18885551212@flowroute
– SIP/flowroute-00000002 is making progress passing it to Local/18885551212@outgoing-d724;2
– SIP/flowroute-00000002 answered Local/18885551212@outgoing-d724;2
– Executing [100@outgoing:1] NoOp(“Local/18885551212@outgoing-d724;1”, "100: ") in new stack
– Executing [100@outgoing:2] Playback(“Local/18885551212@outgoing-d724;1”, “hello-world”) in new stack
– <Local/18885551212@outgoing-d724;1> Playing ‘hello-world.gsm’ (language ‘en’)
– Executing [100@outgoing:3] Hangup(“Local/18885551212@outgoing-d724;1”, “”) in new stack
== Spawn extension (outgoing, 100, 3) exited non-zero on ‘Local/18885551212@outgoing-d724;1’
[Feb 21 13:53:41] NOTICE[20340]: pbx_spool.c:362 attempt_thread: Call completed to Local/18885551212@outgoing/n
== Spawn extension (outgoing, 18885551212, 2) exited non-zero on ‘Local/18885551212@outgoing-d724;2’

Is my understanding of /n incorrect? What am I doing wrong? I appreciate any feedback.

Best Regards,
-Chris

Hi

It has been like this for as long as I remember, at least when using an AMI connection.

Ian