Skip to content

Asterisk ARI Issue #158

Description

@luckyboy125

Hello, everyone.
I have purchased a FreePBX app in DigitalOcean. So I could access FreePBX admin panel and I got some endpoints.
Btw, I made a node server to test APIs and installed ari-client node module in it.
I tried to connect server using below codes, but it doesn't work. (It even doesn't give me an error)

const client = require("ari-client");

client
.connect("https://ip_addr/admin/api/api/rest", "username", "password")
.then(function (ari) {
console.log(ari);
})
.catch(function (err) {
console.log(err);
});

If you have worked in this field, hope to hear from you.
Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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