Re: ARI dial application

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

 



Paul Belanger wrote:

<snip>


So, how would that look in ARI?

Answer channel
invoke originate (far end answers)
create bridge
move channel A and B into bridge

Right?

Some differences I can see right from the start, in the ARI example
caller A does not hear ringback, with app_dial they would. So my
questions are:

When does app_dial indicate ringing to the channel?

When ringing is received from the dialed end it is then indicated to the caller within app_dial. Of course if there are multiple dialed parties then it uses a bit more intelligence.

When does app_dial create the bridge? Does caller A live in the bridge
before Caller B is answered?

app_dial creates a bridge upon answer and bridges the two. HOWEVER before the remote end has answered there is a pseudo bridge implemented inside of app_dial which exchanges media so early media works.


If you had to do this in ARI, how would you do it? Because, what I'd
like to do, is come up with the spec for it, write it, then see about
making a few simple demos for different languanges.

Right now you can't directly replace app_dial with an ARI equivalent because of early media. There is no way to do anything with a channel until it has answered and no way to exchange early media.

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