Confbridge Kick Action
Hi All,
I am working on Asterisk 12.6.0 with ConfBridge module, when there are multiple user like admin and normal participant running with conference. When I try to kicked 2 user (Normal User), it play file “conf-kicked” and again join conference
My scenario in confbridge like.
1] Admin User (e.g. SIP/8484-00000000)
2] Normal User (e.g. SIP/8484-00000001)
3] Admin User (e.g. SIP/8484-00000002)
When I try to execute confbridge kick using below AMI. Action: ConfbridgeKick Conference: 1701414
Channel: SIP/8484-00000001
User kicked successfully and joined same conference again.
Here is some asterisk CLI.
*CLI> confbridge list 1701414
Channel Flags User Profile Bridge Profile Menu CallerID
============================== ====== ================ =============================== ===============SIP/8484-00000000 Am conf-adminmenu 8484
SIP/8484-00000001 m conf-menu 8484
SIP/8484-00000002 Am conf-adminmenu 8484
— Channel SIP/8484-00000001 left ‘softmix’ base-bridge
<485fcffc-49ad-4e86-8d1b-4655631a232a>
— Channel CBAnn/1701414-00000000;2 joined ‘softmix’ base-bridge
<485fcffc-49ad-4e86-8d1b-4655631a232a>
—
”)
— Channel CBAnn/1701414-00000000;2 left ‘softmix’ base-bridge
<485fcffc-49ad-4e86-8d1b-4655631a232a>
—
— Executing [s@conference-room:27] ConfBridge(“SIP/8484-00000001”,
“1701414,,user,conf-menu”) in new stack
—
—
”)
— Channel CBAnn/1701414-00000000;2 joined ‘softmix’ base-bridge
<485fcffc-49ad-4e86-8d1b-4655631a232a>
— Channel CBAnn/1701414-00000000;2 left ‘softmix’ base-bridge
<485fcffc-49ad-4e86-8d1b-4655631a232a>
— Channel SIP/8484-00000001 joined ‘softmix’ base-bridge
<485fcffc-49ad-4e86-8d1b-4655631a232a>
6 thoughts on - Confbridge Kick Action
Q2FuIHlvdSBzaGFyZSB1cyB5b3VyIGV4dGVuc2lvbnMuY29uZiBvciAgdGhlIGRpYWxwbGFuIGxv Z2ljIGZvciB0aGlzIGNhbGw/DQoNCkZyb206IGFzdGVyaXNrLXVzZXJzLWJvdW5jZXNAbGlzdHMu ZGlnaXVtLmNvbSBbbWFpbHRvOmFz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2Vzc2Z1bGx5IGFuZCBqb2luZWQgc2FtZSBjb25mZXJlbmNlIGFnYWlu Lg0KSGVyZSBpcyBzb21lIGFzdGVyaXNrIENMSS4NCg0KKkNMST4gY29uZmJyaWRnZSBsaXN0IDE3
MDE0MTQNCkNoYW5uZWwgICAgICAgICAgICAgICAgICAgICAgICBGbGFncyAgVXNlciBQcm9maWxl ICAgICBCcmlkZ2UgUHJvZmlsZSAgIE1lbnUgICAgICAgICAgICAgQ2FsbGVySUQNCj09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PSA9PT09PT0gPT09PT09PT09PT09PT09PSA9PT09PT09PT09
PT09PT09ID09PT09PT09PT09PT09PT0gPT09PT09PT09PT09PT09PQ0KU0lQLzg0ODQtMDAwMDAw MDAgICAgICAgICAgICAgIEFtICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg Y29uZi1hZG1pbm1lbnUgICA4NDg0DQpTSVAvODQ4NC0wMDAwMDAwMSAgICAgICAgICAgICAgbSAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25mLW1lbnUgICA4NDg0DQpT
SVAvODQ4NC0wMDAwMDAwMiAgICAgICAgICAgICAgQW0gICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBjb25mLWFkbWlubWVudSAgIDg0ODQNCiAgICAtLSBDaGFubmVsIFNJUC84
NDg0LTAwMDAwMDAxIGxlZnQgJ3NvZnRtaXgnIGJhc2UtYnJpZGdlIDw0ODVmY2ZmYy00OWFkLTRl ODYtOGQxYi00NjU1NjMxYTIzMmE+DQogICAgLS0gQ2hhbm5lbCBDQkFubi8xNzAxNDE0LTAwMDAw MDAwOzIgam9pbmVkICdzb2Z0bWl4JyBiYXNlLWJyaWRnZSA8NDg1ZmNmZmMtNDlhZC00ZTg2LThk MWItNDY1NTYzMWEyMzJhPg0KICAgIC0tIDxDQkFubi8xNzAxNDE0LTAwMDAwMDAwOzE+IFBsYXlp bmcgJ2NvbmZ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2NTU2MzFhMjMy YT4NCg0KLS0NCkNoYW5kcmFrYW50IFNvbGFua2kNCg=
exten => 8484,1,noop(Confbridge application)
same => n,Answer()
same => n,Set(CONFBRIDGE(user,template)
After you kicked user from the conference it will continue to its dial plan. From your logs it indicates the call went to context conference-room “s” extension. Check your dialplan. Or hangup the call after confbridge application.
Sent from my iPhone
Can you share us your extensions.conf or the dialplan logic for this call?
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Chandrakant Solanki Sent: Monday, October 20, 2014 11:19 PM
To: Asterisk Users Mailing List – Non-Commercial Discussion Subject: [asterisk-users] [asterisk-user] Confbridge Kick Action
Hi All, I am working on Asterisk 12.6.0 with ConfBridge module, when there are multiple user like admin and normal participant running with conference. When I try to kicked 2 user (Normal User), it play file “conf-kicked” and again join conference My scenario in confbridge like.
1] Admin User (e.g. SIP/8484-00000000)
2] Normal User (e.g. SIP/8484-00000001)
3] Admin User (e.g. SIP/8484-00000002)
When I try to execute confbridge kick using below AMI. Action: ConfbridgeKick Conference: 1701414
Channel: SIP/8484-00000001
User kicked successfully and joined same conference again. Here is some asterisk CLI.
*CLI> confbridge list 1701414 Playing ‘confbridge-leave.gsm’ (language ”) Playing ‘conf-kicked.gsm’ (language ‘en’) Playing ‘confbridge-join.gsm’ (language ‘en’) Playing ‘confbridge-join.gsm’ (language ”)
Channel Flags User Profile Bridge Profile Menu CallerID
============================== ====== ================ ================ ================ ================
SIP/8484-00000000 Am conf-adminmenu 8484
SIP/8484-00000001 m conf-menu 8484
SIP/8484-00000002 Am conf-adminmenu 8484
— Channel SIP/8484-00000001 left ‘softmix’ base-bridge <485fcffc-49ad-4e86-8d1b-4655631a232a>
— Channel CBAnn/1701414-00000000;2 joined ‘softmix’ base-bridge <485fcffc-49ad-4e86-8d1b-4655631a232a>
—
— Channel CBAnn/1701414-00000000;2 left ‘softmix’ base-bridge <485fcffc-49ad-4e86-8d1b-4655631a232a>
—
— Executing [s@conference-room:27] ConfBridge(“SIP/8484-00000001”, “1701414,,user,conf-menu”) in new stack
—
—
— Channel CBAnn/1701414-00000000;2 joined ‘softmix’ base-bridge <485fcffc-49ad-4e86-8d1b-4655631a232a>
— Channel CBAnn/1701414-00000000;2 left ‘softmix’ base-bridge <485fcffc-49ad-4e86-8d1b-4655631a232a>
— Channel SIP/8484-00000001 joined ‘softmix’ base-bridge <485fcffc-49ad-4e86-8d1b-4655631a232a>
Hi,
I have also added hangup priority as well but same result.
[conf-bridge]
exten => 8484,1,noop(Confbridge application)
same => n,Answer()
same => n,Set(CONFBRIDGE(user,template)
Here, I attached CLI log for above dialplan …
— Executing [8484@conf-bridge:1] NoOp(“SIP/8484-00000000”, “Confbridge application”) in new stack
— Executing [8484@conf-bridge:2] Answer(“SIP/8484-00000000”, “”) in new stack
> 0xb76309d8 — Probation passed – setting RTP source address to
172.18.100.73:8000
— Executing [8484@conf-bridge:3] Set(“SIP/8484-00000000”,
“CONFBRIDGE(user,template)
reolved