I’m working with the ARI interface, and I noticed that the two requests:
- POST channels/channel_id/ring
- POST channels/channel_id/answer
take much more time to be managed when compared with all the other requests (almost two order of magnitude).
I made my tests using the latest version of asterisk (tried also with the current repository HEAD) and two different hardware, by tracing http and sip calls using wireshark, measuring the time between my http request and the relative sip message sent from asterisk.
In every test I made, ring and answer took more than 150ms, while all the other requests took less than 10ms.
You can test yourself by using ARI tester and wireshark.
Anyone observed the same issue? Do you think it’s a configuration problem or an intrinsic property of the current asterisk implementation?