[asterisk-bugs] [JIRA] (ASTERISK-24849) AMI bridge command fails

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Mar 6 12:43:34 CST 2015


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

Richard Mudgett commented on ASTERISK-24849:
--------------------------------------------

I can confirm that this is a problem.  The {{ast_bridge_add_channel()}} function needs to check that the channel is not only in a bridge but that the bridge will allow channels to be moved from it.  The {{ConfBridge}} application protects its channels so well from the rest of the system that the channels must be considered as not in a bridge.  (See ASTERISK-21271)

The {{chan_bridge->feature_flags}} in {{ast_bridge_add_channel()}} needs to be checked for {{AST_BRIDGE_FLAG_MASQUERADE_ONLY}}.

> AMI bridge command fails 
> -------------------------
>
>                 Key: ASTERISK-24849
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24849
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.2.0
>         Environment: Ubuntu 14.04 with asterisk 13.2 with PJSIP channels .
>            Reporter: Abhay Gupta
>         Attachments: asteriskevents.txt
>
>
> When we issue a AMI bridge action , once the channels are already in a confbridge 
> Action: Bridge
> channel1: PJSIP/2002-00000029
> channel2: PJSIP/VoIP1-0000002a
> ActionID: java.util.Random at 27b5bf04
> It gives us error --------
> Response: Error
> ActionID: java.util.Random at 27b5bf04
> Message: Unable to add Channel1 to bridge: PJSIP/2002-00000029
> All the events are shown in the log file 



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



More information about the asterisk-bugs mailing list