[asterisk-users] [asterisk-user] Confbridge Kick Action

Chandrakant Solanki solanki.chandrakant at gmail.com
Wed Oct 22 01:17:26 CDT 2014


reolved

On Wed, Oct 22, 2014 at 10:28 AM, Chandrakant Solanki <
solanki.chandrakant at gmail.com> wrote:

> Here, I attached CLI log for above dialplan ...
>
>     -- Executing [8484 at conf-bridge:1] NoOp("SIP/8484-00000000",
> "Confbridge application") in new stack
>     -- Executing [8484 at 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 at conf-bridge:3] Set("SIP/8484-00000000",
> "CONFBRIDGE(user,template)=default_user") in new stack
>     -- Executing [8484 at conf-bridge:4] ConfBridge("SIP/8484-00000000",
> "1234786") in new stack
>     -- <SIP/8484-00000000> Playing 'conf-onlyperson.gsm' (language 'en')
>     -- <SIP/8484-00000000> Playing 'confbridge-join.gsm' (language 'en')
>     -- <CBAnn/1234786-00000000;1> Playing 'confbridge-join.gsm' (language
> 'en')
>     -- Channel CBAnn/1234786-00000000;2 joined 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>     -- Channel CBAnn/1234786-00000000;2 left 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>     -- Channel SIP/8484-00000000 joined 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>   == Using SIP RTP CoS mark 5
>     -- Executing [8484 at conf-bridge:1] NoOp("SIP/8484-00000001",
> "Confbridge application") in new stack
>     -- Executing [8484 at conf-bridge:2] Answer("SIP/8484-00000001", "") in
> new stack
>        > 0xb76468f0 -- Probation passed - setting RTP source address to
> 172.18.100.73:8002
>     -- Executing [8484 at conf-bridge:3] Set("SIP/8484-00000001",
> "CONFBRIDGE(user,template)=default_user") in new stack
>     -- Executing [8484 at conf-bridge:4] ConfBridge("SIP/8484-00000001",
> "1234786") in new stack
>     -- <SIP/8484-00000001> Playing 'confbridge-join.gsm' (language 'en')
>     -- Channel CBAnn/1234786-00000000;2 joined 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>     -- <CBAnn/1234786-00000000;1> Playing 'confbridge-join.gsm' (language
> 'en')
>     -- Channel CBAnn/1234786-00000000;2 left 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>     -- Channel SIP/8484-00000001 joined 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>   == Using SIP RTP CoS mark 5
>     -- Executing [8484 at conf-bridge:1] NoOp("SIP/8484-00000002",
> "Confbridge application") in new stack
>     -- Executing [8484 at conf-bridge:2] Answer("SIP/8484-00000002", "") in
> new stack
>        > 0xb765c4c0 -- Probation passed - setting RTP source address to
> 172.18.100.73:8004
>     -- Executing [8484 at conf-bridge:3] Set("SIP/8484-00000002",
> "CONFBRIDGE(user,template)=default_user") in new stack
>     -- Executing [8484 at conf-bridge:4] ConfBridge("SIP/8484-00000002",
> "1234786") in new stack
>     -- <SIP/8484-00000002> Playing 'confbridge-join.gsm' (language 'en')
>     -- <CBAnn/1234786-00000000;1> Playing 'confbridge-join.gsm' (language
> 'en')
>     -- Channel CBAnn/1234786-00000000;2 joined 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>     -- Channel CBAnn/1234786-00000000;2 left 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>     -- Channel SIP/8484-00000002 joined 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
> chandrakant*CLI> confbridge list 1234786
> Channel                        Flags  User Profile     Bridge Profile
> Menu             CallerID
> ============================== ====== ================ ================
> ================ ================
> SIP/8484-00000000                     default_user
> default_bridge                    8484
> SIP/8484-00000001                     default_user
> default_bridge                    8484
> SIP/8484-00000002                     default_user
> default_bridge                    8484
>   == Client from 127.0.0.1, failed to authenticate in 30 seconds
>   == Connect attempt from '127.0.0.1' unable to authenticate
>   == Manager 'sabsebolo' logged on from 127.0.0.1
>     -- Channel SIP/8484-00000001 left 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>     -- Channel CBAnn/1234786-00000000;2 joined 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>     -- <CBAnn/1234786-00000000;1> Playing 'confbridge-leave.gsm' (language
> 'en')
>     -- Channel CBAnn/1234786-00000000;2 left 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>     -- <SIP/8484-00000001> Playing 'conf-kicked.gsm' (language 'en')
>     -- Executing [8484 at conf-bridge:5] Set("SIP/8484-00000001",
> "CONFBRIDGE(user,marked)=yes") in new stack
>     -- Executing [8484 at conf-bridge:6] ConfBridge("SIP/8484-00000001",
> "1234786") in new stack
>     -- <SIP/8484-00000001> Playing 'confbridge-join.gsm' (language 'en')
>     -- <CBAnn/1234786-00000000;1> Playing 'confbridge-join.gsm' (language
> 'en')
>     -- Channel CBAnn/1234786-00000000;2 joined 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>     -- Channel CBAnn/1234786-00000000;2 left 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
>     -- Channel SIP/8484-00000001 joined 'softmix' base-bridge
> <ed689de5-4d1b-4c40-8f59-ce2378d65542>
> chandrakant*CLI> confbridge list 1234786
> Channel                        Flags  User Profile     Bridge Profile
> Menu             CallerID
> ============================== ====== ================ ================
> ================ ================
> SIP/8484-00000000                     default_user
> default_bridge                    8484
> SIP/8484-00000002                     default_user
> default_bridge                    8484
> SIP/8484-00000001              M      default_user
> default_bridge                    8484
>
> --
> Chandrakant Solanki
>
> On Wed, Oct 22, 2014 at 10:24 AM, Chandrakant Solanki <
> solanki.chandrakant at gmail.com> wrote:
>
>> 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)=default_user)
>> same => n,ConfBridge(1234786)
>>
>> exten => h,1,Hangup()
>>
>> --
>> Chandrakant Solanki
>>
>> On Tue, Oct 21, 2014 at 9:55 PM, Shishir Pokharel <
>> Shishir.Pokharel at on24.com> wrote:
>>
>>>  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
>>>
>>> On Oct 21, 2014, at 2:36, "Chandrakant Solanki" <
>>> solanki.chandrakant at gmail.com> wrote:
>>>
>>>   exten => 8484,1,noop(Confbridge application)
>>> same => n,Answer()
>>> same => n,Set(CONFBRIDGE(user,template)=default_user)
>>> same => n,Set(CONFBRIDGE(user,admin)=yes)
>>> same => n,ConfBridge(1701414)
>>>
>>>  I am toggling user,admin option enable/disable.
>>>
>>>
>>>
>>> On Tue, Oct 21, 2014 at 1:56 PM, Shishir Pokharel <
>>> Shishir.Pokharel at on24.com> wrote:
>>>
>>>>  Can you share us your extensions.conf or  the dialplan logic for this
>>>> call?
>>>>
>>>>
>>>>
>>>> *From:* asterisk-users-bounces at lists.digium.com [mailto:
>>>> asterisk-users-bounces at 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
>>>> 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>
>>>>     -- <CBAnn/1701414-00000000;1> Playing 'confbridge-leave.gsm'
>>>> (language '')
>>>>     -- Channel CBAnn/1701414-00000000;2 left 'softmix' base-bridge
>>>> <485fcffc-49ad-4e86-8d1b-4655631a232a>
>>>>     -- <SIP/8484-00000001> Playing 'conf-kicked.gsm' (language 'en')
>>>>     -- Executing [s at conference-room:27]
>>>> ConfBridge("SIP/8484-00000001", "1701414,,user,conf-menu") in new stack
>>>>     -- <SIP/8484-00000001> Playing 'confbridge-join.gsm' (language 'en')
>>>>     -- <CBAnn/1701414-00000000;1> Playing 'confbridge-join.gsm'
>>>> (language '')
>>>>     -- 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>
>>>>
>>>>
>>>> --
>>>>
>>>> Chandrakant Solanki
>>>>
>>>> --
>>>> _____________________________________________________________________
>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>>                http://www.asterisk.org/hello
>>>>
>>>> asterisk-users mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>
>>>
>>>   --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>               http://www.asterisk.org/hello
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>                http://www.asterisk.org/hello
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141022/223434b1/attachment.html>


More information about the asterisk-users mailing list