System Command via AMI

I’ve read a number of posts on how to accomplish this, yet can only seem to get it working “sortof”.

When submitting the following via AMI:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Asterisk Call Manager/1.0
Action: Login
Username: XXXXX
Secret: XXXXXX
ActionID: 1

Response: Success
ActionID: 1
Message: Authentication accepted

Action: Originate
ActionID: 2
Application: System
Data: /bin/ls
Channel: Local/1@dummy

Response: Error
ActionID: 2
Message: Originate failed

Event: Newchannel
Privilege: call,all
Channel: Local/1@dummy-05ef,1
State: Down
CallerIDNum: <unknown>
CallerIDName: <unknown>
Uniqueid: 1200367984.6

Event: Newchannel
Privilege: call,all
Channel: Local/1@dummy-05ef,2
State: Ring
CallerIDNum: <unknown>
CallerIDName: <unknown>
Uniqueid: 1200367984.7

Event: Newcallerid
Privilege: call,all
Channel: Local/1@dummy-05ef,1
CallerID: <Unknown>
CallerIDName: <Unknown>
Uniqueid: 1200367984.6
CID-CallingPres: 0 (Presentation Allowed, Not Screened)

Event: Newexten
Privilege: call,all
Channel: Local/1@dummy-05ef,2
Context: dummy
Extension: 1
Priority: 1
Application: Wait
AppData: 2
Uniqueid: 1200367984.7

Event: Newexten
Privilege: call,all
Channel: Local/1@dummy-05ef,2
Context: dummy
Extension: 1
Priority: 2
Application: NoOp
AppData:
Uniqueid: 1200367984.7

Event: Hangup
Privilege: call,all
Channel: Local/1@dummy-05ef,2
Uniqueid: 1200367984.7
Cause: 0
Cause-txt: Unknown

Event: Hangup
Privilege: call,all
Channel: Local/1@dummy-05ef,1
Uniqueid: 1200367984.6
Cause: 0
Cause-txt: Unknown

with the following in my extensions.conf

[dummy]
Exten => _X,1,Wait(2)
Exten => _X,2,NoOp

The originate “fails”, yet the “call” proceeds however the system command is never run.

The following appears in the /var/log/asterisk/full file:

Jan 15 12:32:36] VERBOSE[3265] logger.c:   == Manager 'admin' logged on from 127.0.0.1
[Jan 15 12:32:47] VERBOSE[3271] logger.c:   == Parsing '/etc/asterisk/manager.conf': [Jan 15 12:32:47] VERBOSE[3271] logger.c: Found
[Jan 15 12:33:04] VERBOSE[3273] logger.c:     -- Executing [1@dummy:1] Wait("Local/1@dummy-05ef,2", "2") in new stack
[Jan 15 12:33:06] VERBOSE[3273] logger.c:     -- Executing [1@dummy:2] NoOp("Local/1@dummy-05ef,2", "") in new stack
[Jan 15 12:33:06] VERBOSE[3273] logger.c:   == Auto fallthrough, channel 'Local/1@dummy-05ef,2' status is 'UNKNOWN'
[Jan 15 12:33:06] NOTICE[3273] cdr.c: CDR on channel 'Local/1@dummy-05ef,2' not posted

Asterisk Version 1.4.13

NB: This was from http://lists.digium.com/pipermail/asterisk-users/2007-March/183622.html

What am I missing here?