How to run channel originate SIP command in Asterisk ARI?

I try to make call via Asterisk REST API, I want to make call like that (CLI command example):

channel originate SIP/[email protected] application playback tt-monkeys

I try to use curl for that:

curl -v -u admin:pass -X POST "http://127.0.0.1:8085/ari/channels?endpoint=SIP/1000&extension=4444&context=sipprovider"

When I post request I get this error:

Allocation failed

What I do wrong?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.