Page 1 of 1

Kill calls waiting in queue

PostPosted: Thu Dec 12, 2019 8:32 am
by dspaan
Does anyone know if there is a way to kill calls waiting in an inbound queue through the admin interface?

Re: Kill calls waiting in queue

PostPosted: Thu Dec 12, 2019 4:26 pm
by mflorell
There is currently no admin feature to do that, but have you tried "agc/astguiclient.php" for this?

It's very old but it seems to still work properly on my system. You can click on the ACTIVE LINES tab and then hangup whatever lines you want to. I placed a call, was waiting in the in-group queue, then logged into astguiclient.conf, went to that active line and hung it up and it all worked.

Re: Kill calls waiting in queue

PostPosted: Thu Dec 12, 2019 4:48 pm
by dspaan
This is what i see:

Image

I can select the active lines tab but can't see a way to hangup?

Re: Kill calls waiting in queue

PostPosted: Thu Dec 12, 2019 5:02 pm
by williamconley
did you click on the active lines tab? It's hidden slightly ... but it's right next to home

Re: Kill calls waiting in queue

PostPosted: Thu Dec 12, 2019 5:17 pm
by dspaan
Yes, that displays the screen you see above. Or should it look different?

Re: Kill calls waiting in queue

PostPosted: Thu Dec 12, 2019 5:25 pm
by williamconley
Dunno. Haven't used it in years. Can you click on any of the entries in any of the fields and kill them?

Re: Kill calls waiting in queue

PostPosted: Thu Dec 12, 2019 5:28 pm
by dspaan
i can select the extensions in the left column but not the middle or right column. Even when selecting where do i click to kill?

Re: Kill calls waiting in queue

PostPosted: Thu Dec 12, 2019 5:37 pm
by williamconley
Have you clicked on all the available buttons ... like "trunk action" and "local action"?

Re: Kill calls waiting in queue

PostPosted: Thu Dec 12, 2019 5:38 pm
by dspaan
Yes, but didn't find any other buttons or links like 'hangup' or 'kill'

Re: Kill calls waiting in queue

PostPosted: Thu Dec 12, 2019 6:22 pm
by blackbird2306
You have to enable it to make it work. After looking in the code here the solution:
1. Phones --> MODIFY A PHONE RECORD (change the one you are using for login in astguiclient.php) --> Set "Admin Hang Up" to "1"
2. Then you can press the link "Trunk Action" in active lines tab --> Hangup Trunk

Re: Kill calls waiting in queue

PostPosted: Thu Dec 12, 2019 6:32 pm
by williamconley
And log out and back in if you were already logged in

Re: Kill calls waiting in queue

PostPosted: Fri Dec 13, 2019 6:15 am
by dspaan
Thanks! I changed my phone to allow hangup trunk and it's working beautifully!

Re: Kill calls waiting in queue

PostPosted: Sat Oct 01, 2022 4:03 am
by dspaan
Sorry to necro my own old thread but i'm running into a server that has 2000 calls in queue because some customer had an issue and i need to hangup all the calls in queue. When it try astguiclient on this server it simply doesn't allow me to login, the screen flashes without any error.

I tried killing channels in the live tables in the database and also in the asterisk CLI but can't figure it out.

Re: Kill calls waiting in queue

PostPosted: Sat Oct 01, 2022 5:12 am
by dspaan
Resolved this by deleting them from the vicidial_auto_calls table.