Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveCalls #8

Open
G4L1L3O opened this issue Nov 29, 2023 · 0 comments
Open

ActiveCalls #8

G4L1L3O opened this issue Nov 29, 2023 · 0 comments

Comments

@G4L1L3O
Copy link

G4L1L3O commented Nov 29, 2023

I was trying to do a test here, but I saw that in the structure there is no call to part of the API other than activecalls.

https://host:5001/api/activecalls.

Would it be possible to get something from this url in 3cx_exporter?

Basically this is the structure.

package main

import "time"

type Call struct {
ID int json:"Id"
Caller string json:"Caller"
Callee string json:"Callee"
Status string json:"Status"
LastChangeStatus string json:"LastChangeStatus"
EstablishedAt string json:"EstablishedAt"
}

type ActiveCallsResponse struct {
Now string json:"Now"
List []Call json:"list"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant