Thank you very much MC . Its working :) . I started loving "FS" ;)<br><br><div class="gmail_quote">On Wed, Nov 25, 2009 at 9:25 AM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br><div class="gmail_quote"><div class="im">On Tue, Nov 24, 2009 at 6:03 PM, Lei Tang <span dir="ltr"><<a href="mailto:lei.tlfly@gmail.com" target="_blank">lei.tlfly@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
you can do this in follow steps:<br>1.edit default.xml diaplan config file in your fs config directory(FS/conf/dialplan/default.xml), and section<br> <extension name="ivr_demo2"><br> <condition field="destination_number" expression="^\*114$"><br>
<action application="lua" data="../ivr/test.lua"/><br> </condition><br> </extension><br>2. edit your ivr script, your can refer to <a href="http://wiki.freeswitch.org/wiki/Mod_lua" target="_blank">http://wiki.freeswitch.org/wiki/Mod_lua</a> for how to write ivr script in lua.<br>
3. connect your sip phone to fs, and dial 114, this will launch your ivr application<br> <br></blockquote></div><div><br>You can also do IVRs with static XML. I recommend you try out the demo IVR by dialing 5000. Now go look at the two main files that we used to build that IVR:<br>
<br>conf/autoload_configs/ivr.conf.xml (menu structure)<br>conf/lang/en/demo/demo-ivr.xml (phrase macros)<br><br>it's overwhelming at first, however once you get the hang of it you'll appreciate how powerful it is. The wiki and the sample XML config files have lots of information so be sure to read as much as you can and try things. You can't break anything. :)<br>
<br>-MC<br><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><br>If you have come to help me, you are wasting your time. <br>If you have come to because your liberation is bound up in mine, we can work together.<br><br> <br>Regards<br>
Venkatesan OV.<br>