Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

No errors when read only #81

Open
Open

Description

I recently re-installed Asterisk so I had to create a new ari user.

When trying to use this package to create a call it got stuck when creating a bridge and no error was thrown.

I later found wat was wrong, I forgot to set the read_only variable in my ari user to no.
I found this when testing ari with curl:

>curl -v -u username:password -X POST http://192.168.2.22:8088/ari/bridges
* Trying 192.168.2.22...
* TCP_NODELAY set
* Connected to 192.168.2.22 (192.168.2.22) port 8088 (#0)
* Server auth using Basic with user 'username'
> POST /ari/bridges HTTP/1.1
> Host: 192.168.2.22:8088
> Authorization: Basic YXJpX2Nvbm5lY3Rvcjp0ZXN0bWU=
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Server: Asterisk/16.6.1
< Date: 2021年3月29日 08:48:13 GMT
< Cache-Control: no-cache, no-store
< Content-type: application/json
< Content-Length: 38
<
{
 "message": "Write access denied"
}* Connection #0 to host 192.168.2.22 left intact

Could this package maybe throw an error when you are in read_oly mode and you are trying to update/create?
Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /