<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Jim, please see my responses in line.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div>Hi, </div></div><div><br></div><div>I have a few questions regarding ARI after experimenting with it for a while. </div><div><br></div><div>Bridging. When I create a bridge, I provide a single type ('mixing') I get a '200' OK back but when I retrieve details on the bridge, the type 'list' is NULL. The bridge seems to work - but I wanted to make sure there wasn't an issue.</div>
</div></blockquote><div><br></div><div>What do you mean by type 'list'? What ARI operation are you using to get details for the bridge?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">
<div><br></div><div>Let's say I want to create a simple Dial application. By trial and error, what seems to work is a call comes into my dial plan and off to my app. I answer, create a bridge and add this channel to the bridge. I then create a channel for the destination SIP when it picks-up and add this to the bridge. I should now have 2 connected phones. Thanks!!</div>
</div></blockquote><div><br></div><div>This sounds about right. After the first channel enters your application, you need to originate a call to the second channel and then put them both in the bridge. Once that is done, getting the details of that bridge will show both channels under the channels property, which will be an array of channel ids. Please see <a href="https://github.com/asterisk/ari-py/blob/master/examples/originate_example.py">https://github.com/asterisk/ari-py/blob/master/examples/originate_example.py</a> for an example of how to do this using ari-py. The same functionality could be accomplished by making direct calls to ARI of course.</div>
<div><br></div><div><br></div><div>Samuel Fortier-Galarneau</div></div><br></div></div>