401 response when creating channel

I’m experimenting with the ARI and creating channels as follows:

http://192.168.1.14:8088/ari/channels/create?endpoint=PJSIP/360&channelId=test

Sometimes my command works, other times I get response 401 with

{“error”:“Allocation failed”}

I don’t see 401 return code in the docs for this function. What does it mean?

I think I’ve figured it out…my test phone was unplugged. The Asterisk CLI output gave me a good clue…

Maybe that’s something that could be added to the documentation :slight_smile: Error 401 with “Allocation failed” means endpoint is not reachable.