Kicking callers out of a conference line

leaded
Posts: 33
Member Since:
2008-09-22

Hi there. We have a bunch of conference lines (not Web-MeetMe conferences but the ones created in FreePBX). One of the conference lines has two other callers in it and make a horrendous sound like a possessed fax machine. As far as we know, no humans are logged into the conference line at all. For the conference, I enabled the admin menu but everything I press *, wait for the prompts, and then press 3 to kick out the last joined user, it tells me it's an invalid option.

Short of rebooting the server, how can I kick out these ghost users from our FreePBX conferences? Can I run a command in the AsteriskCLI that terminates all connections to that conference extension?

Thanks!



stechnique
Posts: 733
Member Since:
2008-02-21
Kill the channels

"sip show channels" will give you the channel id, then "soft hangup " command.



leaded
Posts: 33
Member Since:
2008-09-22
There were three

There were three connections...

voip*CLI> sip show channels
Peer User/ANR Call ID Format Hold Last Message
11.22.33.44 100edited00 63e41fcd536c998 0x4 (ulaw) No Rx: ACK
11.22.33.44 unavailabl 52638b062656710 0x4 (ulaw) No Rx: ACK
11.22.33.44 matt 1556ee95-778255 0x4 (ulaw) No Rx: ACK
3 active SIP dialogs

I hung up the first one listed to see if that would work...

voip*CLI> soft hangup SIP/provider.net-b7402c48
Requested Hangup on channel 'SIP/provider.net-b7402c48'
-- Executing [h@macro-dial:1] Macro("SIP/provider.net-b7402c48", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/provider.net-b7402c48", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/provider.net-b7402c48", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:5] NoOp("SIP/provider.net-b7402c48", "Cleaning Up Block VM Flag: BLKVM/216/SIP/provider.net-b7402c48") in new stack
-- Executing [s@macro-hangupcall:6] DBdel("SIP/provider.net-b7402c48", "BLKVM/216/SIP/provider.net-b7402c48") in new stack
-- DBdel: family=BLKVM, key=216/SIP/provider.net-b7402c48
-- DBdel: Error deleting key from database.
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/provider.net-b7402c48", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("SIP/provider.net-b7402c48", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/provider.net-b7402c48' in macro 'hangupcall'
== Spawn extension (macro-dial, h, 1) exited non-zero on 'SIP/provider.net-b7402c48'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/provider.net-b7402c48' in macro 'dial'
== Spawn extension (from-internal, 216, 18) exited non-zero on 'SIP/provider.net-b7402c48'
== Spawn extension (from-internal, STARTMEETME, 1) exited non-zero on 'Local/2216@from-internal-e131;2'
-- Executing [h@from-internal:1] Macro("Local/2216@from-internal-e131;2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/2216@from-internal-e131;2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("Local/2216@from-internal-e131;2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Local/2216@from-internal-e131;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("Local/2216@from-internal-e131;2", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/2216@from-internal-e131;2' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/2216@from-internal-e131;2'
-- Playing '/var/spool/asterisk/meetme/meetme-username-2216-3.slin' (language 'en')
-- Playing 'conf-hasleft.gsm' (language 'en')

So then there were two channels...

voip*CLI> sip show channels
Peer User/ANR Call ID Format Hold Last Message
11.22.33.44 unavailabl 52638b062656710 0x4 (ulaw) No Rx: ACK
11.22.33.44 matt 1556ee95-778255 0x4 (ulaw) No Rx: ACK
2 active SIP dialogs

I dialed back into the extension with the weird noises and it was still there. I checked the channels again...

voip*CLI> sip show channels
Peer User/ANR Call ID Format Hold Last Message
0 active SIP dialogs

Dialed in again- Asterisk still has 2 participants in the call and it's playing that terrible sound still.

From the verbose output, it looks like I hung up a legitimate call on conference 2216, when I really wanted to fix 2223. Is there anything else I can try?



leaded
Posts: 33
Member Since:
2008-09-22
I deleted the conference,

I deleted the conference, reloaded, and recreated it. Before I recreated it the extension was invalid. After recreating it, it still thinks there are two other callers and it plays a terrible sound. This is so weird.



leaded
Posts: 33
Member Since:
2008-09-22
Ah ha, got it! I dialed into

Ah ha, got it!

I dialed into the crazy conference line and turned the volume down to keep from going deaf :)

voip*CLI> meetme
Conf Num Parties Marked Activity Creation Locked
2223 0003 N/A 72:35:51 Static No
* Total number of MeetMe users: 3

When I had joined it said there were 2 users already in the conferences, even though there were no sip channels (didn't try iax or anything else)

voip*CLI> meetme kick 2223

... didn't work, but this did!

voip*CLI> meetme kick 2223 0003
-- Playing 'conf-kicked.gsm' (language 'en')
-- Executing [STARTMEETME@from-internal:2] Hangup("Local/2223@from-internal-1c98;2", "") in new stack
== Spawn extension (from-internal, STARTMEETME, 2) exited non-zero on 'Local/2223@from-internal-1c98;2'
-- Executing [h@from-internal:1] Macro("Local/2223@from-internal-1c98;2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/2223@from-internal-1c98;2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("Local/2223@from-internal-1c98;2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Local/2223@from-internal-1c98;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("Local/2223@from-internal-1c98;2", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/2223@from-internal-1c98;2' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/2223@from-internal-1c98;2'
.... output trimmed ....

Which is weird because I was the "last" person to join the call. But as soon as I ran that, I started to hear the default hold music instead of the crazy noise.

Hopefully this helps someone else!



415eric
Posts: 416
Member Since:
2009-10-29
We need a better way of

We need a better way of filtering out these spammers

--


andrew
Posts: 1472
Member Since:
2006-05-30
It's very difficult. They

It's very difficult. They are actual people in China not spam robots. Because they are people they can answer any question that we usually use to filter spam robots. They use different IP addresses and many other tricks to avoid filtering. The only thing I could do is not allow new users to post for a set time period. But this is annoying to new forum users. And I have seen spammers that create accounts then wait a few months before posting so this does not always work.

I am working on a way to filter out theses spammers but it's not easy.



415eric
Posts: 416
Member Since:
2009-10-29
Good to hear it is being

Good to hear it is being worked on, I have been seeing more of them lately. Hard for the few moderators there are to police them all.

--


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.