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

This widget could not be displayed.
Daniel Wester Community Champion Jul 04, 2017

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

223 views 3 0
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