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

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

 



Thanks for info Joshua, I'll check version 14 then.

Marin Odrljin

> 2.StasisStart is not received yet. It will come after destination is
> answered, so after event: ChannelStateChange (Up). Probably this is the
> essence of the problem.
>
> As soon as event ChannelStateChange (Up) comes, app can successfully add
> outbound channel to bridge, event if it is started before StasisStart
> event comes. But I would like to add channel to bridge before it is
> answered, so channels are already bridged in the moment they are both
> connected.
>
> Can somebody please tell me if this behaviour is intended and fine? Or
> maybe I have to use different approach to solve the problem?

This is expected in 13. There is no support for dialing a channel and 
interacting with it to that level before it has been answered. The 
closest you could do is originate to a Local channel that does an 
Answer() and then does the Dial(). Support for what you want was added 
in 14[1] though.

[1] http://blogs.asterisk.org/2016/08/24/asterisk-14-ari-create-bridge-dial/

-- 
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