I'm trying to initiate calls using the ARI API, the process I followed was
I have a websocket connection waiting for the correct events (like channel status up) before calling the POSTs.
The problem I'm having is this works using internal extension numbers for channel 1 and channel 2, but when using an external number for channel 2 I get the error - "Allocation failed".
Any ideas where I'm going wrong...
Im creating my calls via ARI like this:
http://{ARIUser}:{ARIPass}@localhost:8088/ari/channels?endpoint=SIP/{exten to call from}&extension={number/exten to call}&context=from-internal&priority=1&callerId={callerID}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With