I m not a programmer :(<br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 5:48 PM, Dave R. Kompel <span dir="ltr">&lt;<a href="mailto:drk@drkngs.net" target="_blank">drk@drkngs.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<u></u>

<div>
<div>One real nice thing about the execute_on and api_on variables. If there isn&#39;t one, you can add it with a single line patch. As long as you have the *session pointer, which you should from something that does IVR, you can just add a call to the generic switch_ function, look at the source and see how it&#39;s used, to add it yourself anywhere. </div>


<div> </div>
<div>Add the ones you think would be kewl, and submit a patch on JIRI. From past experence, things like that get put in GIT almost right away. Even I can do it! And I heven&#39;t done any major code in C in almost 15 years.</div>


<div> </div>
<div>--Dave</div><br>
<blockquote style="BORDER-LEFT:#0000ff 2px solid;PADDING-LEFT:5px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
<hr>
<b>From:</b> Michael Collins [mailto:<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>]<br><b>To:</b> FreeSWITCH Users Help [mailto:<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>]<br>

<b>Sent:</b> Tue, 02 Jul 2013 14:55:45 -0700<br><b>Subject:</b> Re: [Freeswitch-users] char *exec_on_max_fail | char *exec_on_max_timeout; <br><div><div class="h5"><br>
<div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Tue, Jul 2, 2013 at 2:40 PM, Cesar Bermudez <span>&lt;<a href="mailto:cesar.bermudez@gmail.com" target="_blank">cesar.bermudez@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hi List.<br><br>How can use the exec_on_max_fail and the exec_on_max_timeout in a IVR ?<br><br>Best regards.<br>

</blockquote>
<div><br></div>
<div>Looking at the code it appears to be like all the other execute_on chan vars. I suggest you try something like this in your IVR:<br><br></div>
<div>exec-on-max-timeout=&#39;transfer 9664 XML default&#39;<br><br></div>
<div>Tinker with this and report back. When you get it working I will help you get it documented on the wiki.<br><br></div>
<div>-MC<br><br> <br></div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br>

<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>

<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>

<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.freeswitch.org/" target="_blank">http://www.FreeSWITCH.org</a><br>

<a href="http://www.cluecon.com/" target="_blank">http://www.ClueCon.com</a><br><a href="http://www.ostag.org/" target="_blank">http://www.OSTAG.org</a><br><br></div></div></div></div></blockquote>


<div> </div>
<div> </div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>