[asterisk-bugs] [JIRA] (ASTERISK-21859) Confbridge fails when kicking users via end_marked=yes

Chris Gentle (JIRA) noreply at issues.asterisk.org
Thu Jun 6 17:17:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207066#comment-207066 ] 

Chris Gentle edited comment on ASTERISK-21859 at 6/6/13 5:17 PM:
-----------------------------------------------------------------

Yes, I am able to reproduce it without chan_alsa.

Simplifying things even further, I got rid of chan_alsa and chan_local.  I set up a simple [conferences] context and put in the 11.4.0 confbridge.conf sample file (with no edits).  I made two extensions to allow me to call into the conference from two different SIP phones:

{noformat}
  ; admin conference user
  exten => 600,1,Goto(conferences,1000,1)
  ; normal conference user
  exten => 601,1,Goto(conferences,1001,1)
{noformat}

See conferences.txt for my [conferences] context.

Dial extension 600 to add the conference leader.  Then dial 601 to add a normal participant.  Then hang up the leader.  The other participant will hear a message that they have been kicked but confbridge list will show that the conference has not been torn down.


{noformat}
Conference Bridge Name           Users  Marked Locked?
================================ ====== ====== ========
1000                                  0      0 unlocked
{noformat}
                
      was (Author: gentlec):
    Yes, I am able to reproduce it without chan_alsa.

Simplifying things even further, I got rid of chan_alsa and chan_local.  I set up a simple [conferences] context and put in the 11.4.0 confbridge.conf sample file (with no edits).  I made two extensions to allow me to call into the conference from two different SIP phones:

{noformat}
  ; admin conference user
  exten => 600,1,Goto(conferences,1000,1)
  ; normal conference user
  exten => 601,1,Goto(conferences,1001,1)
{noformat}

My new [conferences] context is attached.

Dial extension 600 to add the conference leader.  Then dial 601 to add a normal participant.  Then hang up the leader.  The other participant will hear a message that they have been kicked but confbridge list will show that the conference has not been torn down.


{noformat}
Conference Bridge Name           Users  Marked Locked?
================================ ====== ====== ========
1000                                  0      0 unlocked
{noformat}
                  
> Confbridge fails when kicking users via end_marked=yes
> ------------------------------------------------------
>
>                 Key: ASTERISK-21859
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21859
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 11.4.0
>         Environment: Asterisk 11.4.0 on Raspberry Pi with 2-9-2013-debian-wheezy and 11.3.0 running on an Intel Atom w/ Ubuntu 12.04.
>            Reporter: Chris Gentle
>            Assignee: Chris Gentle
>         Attachments: alsa.conf, confbridge.conf, conferences.txt, extensions.conf, full, leader_connect.sh, leader_disconnect.sh
>
>
> Please reference:
> http://lists.digium.com/pipermail/asterisk-users/2013-June/279231.html
> I've set up a conference where I'm relying on end_marked=yes to kick all participants when the leader exits.  This results in an error as shown below:
> {noformat}
>  << Hangup on console >>
>     -- <Bridge/0x2364be4-input> Playing 'confbridge-leave.slin' (language 'en')
>     -- Stopped music on hold on SIP/gent_2880-00000002
>     -- <SIP/gent_2880-00000002> Playing 'custom/thank-you.ulaw' (language 'en')
>     -- Executing [1000 at conferences:2] Hangup("SIP/gent_2880-00000002",
> "") in new stack
> == Spawn extension (conferences, 1000, 2) exited non-zero on
> 'SIP/gent_2880-00000002'
> {noformat}
> In this case, the conference leader was the alsa console channel.  Once it was hung up, a non-zero exit status caused the confbridge to go into a bad state showing 0 users:
> confbridge list
> {noformat}
> Conference Bridge Name           Users  Marked Locked?
> ================================ ====== ====== ========
> 1000                                  0      0 unlocked
> {noformat}
> Asterisk has to be restarted to clear this.  In a normal exit, a "confbridge list" would not show conference 1000 because it would have been destroyed.
> If no participants are dialed into the conference, everything closes cleanly when the leader exits.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list