hi you can look following for better implementation<div><br></div><div><a href="http://phpagi.sourceforge.net/">http://phpagi.sourceforge.net/</a> </div><div><br></div><div>in this you will find all your answer for get and set variable.</div>
<div><br></div><div>cheers</div><div>Dhaval<br><br><div class="gmail_quote">On Thu, Mar 8, 2012 at 3:11 AM, bilal ghayyad <span dir="ltr">&lt;<a href="mailto:bilmar_gh@yahoo.com">bilmar_gh@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All;<br>
<br>
If I need to build IVR using Asterisk (so I will read and write to database), until now from my reading, I can understand that the best way is to use AGI to call external script like php which will manipulate every thing, correct?<br>

<br>
Well, the returned values from this script that I can use it to route the call to the proper queue or Phone, how I can handle these returned values? Do I have to store it in the database? Well, how I will read it from database and use it in the extensions.conf?<br>

<br>
>From the other side, is there any tool to have IVR script (let us say, studio programing) that can be used in Asterisk? Any advise in this way?<br>
<br>
Regards<br>
Bilal<br>
<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>