I need to create a channel using ARI and put it into stasis before dialling the extension, which according to the documentation is what should be happening. But as soon as I create the channel it starts ringing and goes into stasis only after being answered.
I have a testing extension configured in sip.conf which I've registered with a softphone, this is the extension I'm creating a channel to.
[101]
type = friend
username = 101
secret = 1234
context = from-internal
host = dynamic