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 votes
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
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

25 views 0 2
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