Hopefully this is something simple, but I’ve got a new Asterisk 18.6.0 setup that I’m experimenting with, and this is the first thing that’s not working as expected. I can create a bridge, move channels into a bridge, but I can’t list bridges for some reason. If I send a GET to “http://localhost:8088/ari/bridges” I get back a 500 with error “Allocation failed” in the body. Sending a GET to “http://localhost:8088/ari/channels” works, and I get a channel list back. The debug log when I made the call looks like this:
|354|[2022-01-14 14:56:54] DEBUG[28534] http.c: HTTP Request URI is /ari/bridges||
|---|---|---|
|355|[2022-01-14 14:56:54] DEBUG[28534] http.c: match request [ari/bridges] with handler [httpstatus] len 10||
|356|[2022-01-14 14:56:54] DEBUG[28534] http.c: match request [ari/bridges] with handler [ari] len 3||
|357|[2022-01-14 14:56:54] DEBUG[28534] http.c: Match made with [ari]||
|358|[2022-01-14 14:56:54] DEBUG[28534] res_ari.c: Finding handler for bridges||
|359|[2022-01-14 14:56:54] DEBUG[28534] res_ari.c: Finding handler for bridges||
|360|[2022-01-14 14:56:54] DEBUG[28534] res_ari.c: Checking ari applications: Didn't match bridges||
|361|[2022-01-14 14:56:54] DEBUG[28534] res_ari.c: Checking ari asterisk: Didn't match bridges||
|362|[2022-01-14 14:56:54] DEBUG[28534] res_ari.c: Checking ari bridges: Explicit match with bridges||
|363|[2022-01-14 14:56:54] DEBUG[28534] http.c: HTTP keeping session open. status_code:500||
Note that this is the same result after I’ve already created and am using a bridge, so there’s definitely something active on the system. Any idea why I can’t get a list of bridges?