<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1424248714213_74410" dir="ltr"><span id="yui_3_16_0_1_1424248714213_74517">I'm sorry for my bad english :-(</span></div><div id="yui_3_16_0_1_1424248714213_74410" dir="ltr"><span><br></span></div><div id="yui_3_16_0_1_1424248714213_74410" dir="ltr"><span id="yui_3_16_0_1_1424248714213_74516">You've understood my issue.</span></div><div id="yui_3_16_0_1_1424248714213_74410" dir="ltr"><span id="yui_3_16_0_1_1424248714213_74585" class="" style="">I've done "call file" and it work fine. </span></div><div id="yui_3_16_0_1_1424248714213_74410" dir="ltr"><span class="" style=""><br></span></div><div id="yui_3_16_0_1_1424248714213_74410" dir="ltr"><span class="" style="" id="yui_3_16_0_1_1424248714213_74752">I would to do a "</span><span style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class="" id="yui_3_16_0_1_1424248714213_74618">originate an outbound call" </span>by<span class="" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" id="yui_3_16_0_1_1424248714213_74703"> </span>ARI script PHP.</div><div id="yui_3_16_0_1_1424248714213_74410" dir="ltr"><br></div><div id="yui_3_16_0_1_1424248714213_74410" dir="ltr">I've done a originate call by post (curl), now I would to create a link between originate outbound call from asterisk to sip number (my client) and a new calling from asterisk to sip number (my call center), Do I do? </div><div id="yui_3_16_0_1_1424248714213_74410" dir="ltr"><br></div><div id="yui_3_16_0_1_1424248714213_74410" dir="ltr">thanks</div><div></div><div id="yui_3_16_0_1_1424248714213_74435"> </div><div class="signature" id="yui_3_16_0_1_1424248714213_74434"><div id="yui_3_16_0_1_1424248714213_74433"><span style="font-family:arial, helvetica, sans-serif;color:rgb(208, 208, 208);" id="yui_3_16_0_1_1424248714213_74432">_______________________________________________________________________</span><br style="font-family:arial, helvetica, sans-serif;color:rgb(208, 208, 208);"><span style="font-family:arial, helvetica, sans-serif;color:rgb(208, 208, 208);">Oscar OXY</span><br></div></div><br>  <div style="font-family: verdana, helvetica, sans-serif; font-size: 13px;" id="yui_3_16_0_1_1424248714213_74414"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1424248714213_74413"> <div dir="ltr" id="yui_3_16_0_1_1424248714213_74412"> <hr size="1" id="yui_3_16_0_1_1424248714213_74769">  <font size="2" face="Arial" id="yui_3_16_0_1_1424248714213_74411"> <b><span style="font-weight:bold;">Da:</span></b> Matthew Jordan <mjordan@digium.com><br> <b><span style="font-weight: bold;">A:</span></b> Oscar <scriviaoscar@yahoo.it>; Asterisk Application Development discussion <asterisk-app-dev@lists.digium.com> <br> <b><span style="font-weight: bold;">Inviato:</span></b> Giovedì 19 Febbraio 2015 16:39<br> <b><span style="font-weight: bold;">Oggetto:</span></b> Re: [asterisk-app-dev] ARI or AMI originate for call files?<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_1_1424248714213_74445"><br><div id="yiv2670643778"><div id="yui_3_16_0_1_1424248714213_74444"><div dir="ltr" id="yui_3_16_0_1_1424248714213_74443"><br clear="none"><div class="yiv2670643778gmail_extra" id="yui_3_16_0_1_1424248714213_74442"><br clear="none"><div class="qtdSeparateBR"><br><br></div><div class="yiv2670643778yqt6497952286" id="yiv2670643778yqtfd45233"><div class="yiv2670643778gmail_quote" id="yui_3_16_0_1_1424248714213_74441">On Tue, Feb 17, 2015 at 3:16 PM, Oscar <span dir="ltr" id="yui_3_16_0_1_1424248714213_74587"><<a rel="nofollow" shape="rect" ymailto="mailto:scriviaoscar@yahoo.it" target="_blank" href="mailto:scriviaoscar@yahoo.it" id="yui_3_16_0_1_1424248714213_74586">scriviaoscar@yahoo.it</a>></span> wrote:<br clear="none"><blockquote class="yiv2670643778gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;" id="yui_3_16_0_1_1424248714213_74440"><div id="yui_3_16_0_1_1424248714213_74439"><div style="color:#000;background-color:#fff;font-family:verdana, helvetica, sans-serif;font-size:13px;" id="yui_3_16_0_1_1424248714213_74438"><div dir="ltr" id="yui_3_16_0_1_1424248714213_74437"><span>is it better ARI or </span><span style="color:rgb(51,51,51);font-family:'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;font-size:13.1000003814697px;line-height:18.3400001525879px;" id="yui_3_16_0_1_1424248714213_74436">AMI originate for call files?</span></div><div dir="ltr" id="yui_3_16_0_1_1424248714213_74589"><span style="color:rgb(51,51,51);font-family:'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;font-size:13.1000003814697px;line-height:18.3400001525879px;" id="yui_3_16_0_1_1424248714213_74588">While into call file is it possible delete ring tone when asterisk calls?</span></div><div dir="ltr" id="yui_3_16_0_1_1424248714213_74597">thanks</div><div></div><br clear="none"></div></div></blockquote></div></div><br clear="none"></div><div class="yiv2670643778gmail_extra" id="yui_3_16_0_1_1424248714213_74446">I'm not really sure I completely understand the question, but I'll give it a shot.<br clear="none"><br clear="none"></div><div class="yiv2670643778gmail_extra" id="yui_3_16_0_1_1424248714213_74481">There are multiple ways to generate an outbound call in Asterisk. All of these, eventually, map to the same operation: Originate. You can:<br clear="none"></div><div class="yiv2670643778gmail_extra" id="yui_3_16_0_1_1424248714213_74447">* Use a call file, which is a text file placed in a particular location that has a specific formatting. Asterisk will monitor that location, read the file, parse it, originate an outbound call, and then typically discard the file.<br clear="none"></div><div class="yiv2670643778gmail_extra">* Use the AMI Originate action.<br clear="none"></div><div class="yiv2670643778gmail_extra">* Use the ARI POST /channels operation.<br clear="none"></div><div class="yiv2670643778gmail_extra" id="yui_3_16_0_1_1424248714213_74448">* Use the Originate dialplan application.<br clear="none"></div><div class="yiv2670643778gmail_extra">* Use the CLI "channel originate" command.<br clear="none"><br clear="none"></div><div class="yiv2670643778gmail_extra">Which one you use depends on your application. Generally, if you are creating many outbound calls and you need to monitor the calls closely, the AMI or ARI options are more attractive, as they give you more information and more control over the call. If you need to control the outbound call in an application of your design, than ARI is more attractive than AMI. If you need to have little external control over a call, than a call file solution may be appropriate.<br clear="none"></div><div class="yiv2670643778gmail_extra"><br clear="none"></div><div class="yiv2670643778gmail_extra">In the end, it is up to you and what you are trying to build.<br clear="none"></div><div class="yiv2670643778gmail_extra"><br clear="none">-- <br clear="none"><div class="yiv2670643778gmail_signature"><div dir="ltr"><div>Matthew Jordan<br clear="none"></div><div>Digium, Inc. | Engineering Manager</div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div><div>Check us out at: <a rel="nofollow" shape="rect" target="_blank" href="http://digium.com/">http://digium.com</a> & <a rel="nofollow" shape="rect" target="_blank" href="http://asterisk.org/">http://asterisk.org</a></div></div></div><div class="yiv2670643778yqt6497952286" id="yiv2670643778yqtfd62796">
</div></div></div></div></div><br><br></div> </div> </div>  </div></body></html>