Dial from the console?

How do I dial an extension from the console? I only need the extension to ring, or, possibly, play an mp3.

something like:

will that work?

see also:

stackoverflow.com/questions/17111341/

Try it. I would guess it would work, but it isn’t something that many people would want to do.

I was thinking of scripted testing.

You’d normally use AMI for that.

Perfect!

Action: Originate Channel: sip/12345 Exten: 1234 Context: default

wiki.asterisk.org/wiki/display/AST/AMI+Examples