I try to make call via Asterisk REST API, I want to make call like that (CLI command example):
channel originate SIP/4444@sipprovider 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?