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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

136 views 5 9
Read article

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