graphQL - how get extension State

Hi all,
I want use GraphQl to get extension State. For example, I want to know if extension 666 is in communication and with who?
So I make this,
allExtensions {
extension {

  device {

  user {

But I don’t find how to get the extension State (inuse, idle,ringing…). And after, how to get the number called?

Can you help me?


@alexandre17000 The GraphQL API is pretty limited in what it can do today. I don’t believe it can tell you call state today. That being said, I would recommend pulling the call state directly from Asterisk. Check out this article on stack overflow:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.