<div dir="ltr"><div><div><div>Hi John.<br></div>I am making an inteligent annoucement resouce for a big ericsson switch. Is just an ivr with agi applications.<br></div>The tricky thing try to make asterisk not to send answer. The perl application with agi commands must be executed with out answering.<br>
<br>Something like<br><br>exten => 6009,1,Progress()<br>exten => 6009,n,Set(__INICIA=${EPOCH})<br>exten => 6009,n,Set(CHANNEL(language)=sc)<br>exten => 6009,n,AGI(<a href="http://anouncement.pl">anouncement.pl</a>)<br>
exten => 6009,n,Hangup()<br><br></div>Thanks anyway.<br>rv<br><div><br><br><div><div><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-07 17:11 GMT-04:00 Tech Support <span dir="ltr"><<a href="mailto:asterisk@voipbusiness.us" target="_blank">asterisk@voipbusiness.us</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">    What you may want to check out is the PlayTones and Ringing applications in your dial plan. Asterisk will answer the call, but your users won't know that because all they hear is the call still ringing. After a certain amount of time passes, you can send them directly to voicemail, hangup, run your scripts, or anything else you want to do with the call. My dial plan snippet looks like this. Just an option. <u></u><u></u></span></p>
<p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="text-align:justify">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">exten => s,n(ringing),Answer<u></u><u></u></span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">exten => s,n,PlayTones(ring)<u></u><u></u></span></p>
<p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">exten => s,n,Ringing<u></u><u></u></span></p><p class="MsoNormal" style="text-align:justify">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">exten => s,n,Wait(${TIMEOUT})<u></u><u></u></span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">exten => s,n,GotoIf($["${BLOCKDEST}" = "3"]?s-NA-VOICEMAIL,1)<u></u><u></u></span></p>
<p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">exten => s,n,GotoIf($["${CUSTCALLBLOCKACTION}" = "3"]?s-NA-VOICEMAIL,1) ; <u></u><u></u></span></p>
<p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">exten => s,n,PlayTones(congestion)<u></u><u></u></span></p><p class="MsoNormal" style="text-align:justify">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">exten => s,n,Congestion(10)<u></u><u></u></span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">exten => s,n,Hangup<u></u><u></u></span></p>
<p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">  <u></u><u></u></span></p><p class="MsoNormal" style="text-align:justify">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards;<u></u><u></u></span></p><p class="MsoNormal" style="text-align:justify"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">John V.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Rafael Visser<br>
<b>Sent:</b> Thursday, August 07, 2014 4:56 PM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> [asterisk-users] agi get_data noanswer<u></u><u></u></span></p></div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal" style="text-align:justify">Hi Guys..<br>I am making an anoucement machine that is not allowed to "answer" the call due to a billing issue.<br>I found that Playback with "noanwser" is usefull in this case.<br>
<br>$AGI->exec('Playback',"$message","noanswer")}<br><br><br>But when i request some values to the user with get_data, i think there is an answer anywere.<br><br>Is there a way to get_data without answering the call?<br>
<br>Thanks in advance!!<br><br>rv<u></u><u></u></p></div></div></div></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>