Skip to content

ARI-Proxy (docker image) and RabbitMQ #59

@ramrui

Description

@ramrui

Hello,

I'm trying to send commands from RabbitMQ client (and also from RabbitMQ UI) without success.

Using ari.request exchange, and Routing key with ari.command.<app_name> or ari.command.<app_name>.<asterisk_id>.

I tried various JSONs like:

{
"type": "ChannelHangupRequest",
"channel": "<channel_id>",
"cause": 16
}

or

{
"method": "DELETE",
"path": "/channels/<channel_id>",
"params": {}
}

or

{
"resource": "channels",
"operation": "hangup",
"args": {
"channelId": "<channel_id>",
"cause": 16
}
}

without success.

I assume the message is arriving via AR Proxy, since if the JSON is malformed I get an error in Docker:

t=2026-02-25T17:28:48+0000 lvl=eror msg="Error unmarshall data" topics="[ari.get ari.get.app_bot_nos_rt ari.get.app_bot_nos_rt.00:50:56:96:e5:b9 ari.data ari.data.app_bot_nos_rt ari.data.app_bot_nos_rt.00:50:56:96:e5:b9 ari.command ari.command.app_bot_nos_rt ari.command.app_bot_nos_rt.00:50:56:96:e5:b9]" error="invalid character 's' looking for beginning of object key string"

I dont know if it is possible to increase ari-proxy logs.

Thanks for the help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions