[asterisk-bugs] [JIRA] (ASTERISK-24501) ARI: Moving a channel between bridges followed by a hangup can cause an ARI client to not receive an expected ChannelLeftBridge event

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Nov 5 19:56:31 CST 2014


Matt Jordan created ASTERISK-24501:
--------------------------------------

             Summary: ARI: Moving a channel between bridges followed by a hangup can cause an ARI client to not receive an expected ChannelLeftBridge event
                 Key: ASTERISK-24501
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24501
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
            Reporter: Matt Jordan
         Attachments: full.txt

Consider the following scenario:

* Channel 1 enters into Bridge A
* An {{addChannel}} command is issued to add the channel to Bridge B
* A bridge move operation begins to happen internally.
* While the bridge move operation occurs, a {{DELETE /channel/1}} occurs. This queues a hangup on the channel, causing it to be removed from Bridge B.
* For some incredibly frightening reason, we don't get the ChannelLeftBridge event.

This is shown in the attached log, which was produced from the Asterisk Test Suite {{/bridges/move}} test (which is sporadically failing due to this issue).

Note that we *are* subscribed to the bridge, so this is very, very bad.

{noformat}
[Nov  5 19:11:34] DEBUG[9048][C-00000000] stasis/control.c: 1415236293.2, dcf45528-07ba-4dcb-b85f-5b86f4837255: Channel leaving bridge
[Nov  5 19:11:34] DEBUG[9048][C-00000000] stasis/app.c: bridge 'dcf45528-07ba-4dcb-b85f-5b86f4837255': is 1 interested in testsuite
[Nov  5 19:11:34] DEBUG[8969] pbx.c: Function CSV_QUOTE(1415236294.246461) result is '"1415236294.246461"'
[Nov  5 19:11:34] DEBUG[9048][C-00000000] stasis/control.c:   reason: Channel was departed from bridge
{noformat}

(And yet no leave event was seen...)



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



More information about the asterisk-bugs mailing list