There seem to be many, many articles and forum posts on the internet about how to trigger a call directly from the Asterisk command line.
Mostly they reference the “dial” command, which on Asterisk 17.4 doesn’t seem to exist.
Then there is voip-info which references the “originate” command but doesn’t give any context or examples. If you just type in originate into the command line it doesn’t recognise it.
You need to
channel originate PJSIP/02082446556@voiceflex-endpoint extension 01309655655@Voiceflex-Incoming
This command would dial on an outbound PJSIP extension at the VoIP provider. And would link it to extension 01309655655 in the context Voiceflex-Incoming.
(This article is mainly for my own reference at a later date).