[asterisk-bugs] [JIRA] (ASTERISK-28897) app_confbridge: AMI Event "ConfbridgeTalking off" not fired when user leaves ConfBridge while talking

Ben Reinsen (JIRA) noreply at issues.asterisk.org
Mon May 18 07:21:25 CDT 2020


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

Ben Reinsen commented on ASTERISK-28897:
----------------------------------------

Hey Joshua,

I stumbled upon this behavior, because I am developing a client that receives Confbridge Talking events from a datastream I generate on the server by a little daemon that is permanently connected to AMI. I can easily fix the problem in my client by resetting the state when a channel is gone and I actually already did.

>From my point of view Asterisk reports the incorrect state because the user isn't talking anymore and the events are On/Off pairs in all other situations. Just in this special situation, they are not. The Off part is missing. As it broke something for me and it was not the behavior I would have expected, I thought it would be worth reporting.

Cheers Ben

> app_confbridge: AMI Event "ConfbridgeTalking off" not fired when user leaves ConfBridge while talking
> -----------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28897
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28897
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 16.9.0
>            Reporter: Ben Reinsen
>            Assignee: Ben Reinsen
>            Severity: Trivial
>         Attachments: ami.log
>
>
> Confbridge fires Events to AMI when users start and stop talking in a conference. 
> https://wiki.asterisk.org/wiki/display/AST/ConfBridge+AMI+Events#ConfBridgeAMIEvents-ConfbridgeTalking
> When a user leaves a conference or disconnects because of networking problems while talking no final "ConfbridgeTalking off" event is fired for that user, which leaves external apps that query AMI for ConfbridgeTalking events in a wrong state. 
> As the user actually stopped talking, when he has left the conference, I would kindly suggest to fire a final "ConfbridgeTalking off" event when a currently talking users leaves a conference



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list