I use Asterisk for test automation to generate calls. Asterisk handle outgoing and incoming calls also.
I use ARI to interact/command Asterisk and execute custom test scenarios.
In one case, I need to send back busy for incoming call. Unfortunately I can’t hard code into the dial plan.
So my questions is about, how to send back busy over ARI?
I found an option in ARI documentation, but I am not sure how can I use this for my channel resource.
PUT /deviceStates/{deviceName}