Re: ARI: add channel to bridge immediatelly after originate action

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 13, 2017, at 07:30 AM, Marin Odrljin wrote:
> Hello Joshua,
> 
> I've tried it with latest version 14.2.1 and I'm quite satisfied how it
> works except one thing. Here is the flow:
> 
> 1. IN call comes to stasis app
> 2. app creates bridge and adds channel to it
> 3. app creates new OUT channel for dialing and adds it to the same bridge
> 4. app dials on out channel
> 5. when one of the channels disconnects, app tries to destroy bridge.
> After
> that, following events are received from asterisk:
> 	- 'ChannelLeftBridge' for IN channel
> 	- 'ChannelLeftBridge' for OUT channel
> 6. app hangup other channel
> 
> The problem is that 'BridgeDestroyed' event never comes. In version 13,
> as I
> recall, this event was sometimes fired, sometimes not, but bridge was in
> most cases or always destroyed. But in v 14, bridge is not really
> destroyed,

What happens if you remove each channel from the bridge, hang them up,
and then destroy the bridge? Does that work as expected?

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev



[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux