QueueStatusAction (Asterisk-Java 1.0.0.CI-SNAPSHOT API)

I am using this library with asterisk, i want to get the QueueStatusAction but some how it isnt wotking. ''I am using this library with GRAILS"

start of the code
import java.io.IOException;
import org.asteriskjava.live.internal.AsteriskServerImpl
import org.asteriskjava.manager.ManagerConnection
import org.asteriskjava.manager.ManagerConnectionFactory
import org.asteriskjava.manager.ManagerEventListener
import org.asteriskjava.manager.action.GetVarAction
import org.asteriskjava.manager.action.HangupAction
import org.asteriskjava.manager.action.OriginateAction
import org.asteriskjava.manager.action.QueueAddAction
import org.asteriskjava.manager.action.QueuePauseAction
import org.asteriskjava.manager.action.QueueRemoveAction
import org.asteriskjava.manager.action.QueueStatusAction
import org.asteriskjava.manager.event.ManagerEvent
import org.asteriskjava.manager.event.VarSetEvent
import org.asteriskjava.manager.response.ManagerResponse

queueStatus(String queueNumber, String channel){

//QueueAddAction queueAddAction;
QueueStatusAction queueStatusAction;
ManagerResponse originateResponse;

queueStatusAction = new QueueStatusAction()
queueStatusAction.setInterface("SIP/" + channel)

originateResponse = managerConnection.sendAction(queueStatusAction, 30000)

// print out whether the originate succeeded or not
println originateResponse.getMessage()

}catch(Exception e){
println e


1 answer

0 vote

If you can tell us how this is related to Atlassian software it would be useful. Otherwise you may want to look around for asterix forums?

In the asterisk it said this was a forum.....???

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,338 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot