<br><br><div class="gmail_quote">On Thu, Dec 10, 2009 at 9:07 AM, Alberto Escudero <span dir="ltr">&lt;<a href="mailto:aep.lists@it46.se">aep.lists@it46.se</a>&gt;</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>
Hi,<br>
<br>
I am currently creating IVR using the functions provided in the XML dialplan<br>
<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_ivr" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_ivr</a><br>
<br>
Using functions like this<br>
&lt;entry action=&quot;menu-play-sound&quot; digits=&quot;1&quot;<br>
param=&quot;$${base_dir}/1255549537_Welcome.wav&quot;/&gt;<br>
I can play files, etc.<br>
<br>
I wonder what is the smartest way to monitor (as in big brother) the<br>
options selected by the user:<br>
<br>
I assume that I can include an entry of the type:<br>
&lt;entry action=&quot;menu-exec-app&quot; digits=&quot;1&quot; param=&quot;javascript foo.js&quot;/&gt;<br>
and include in foo.js the code to track the selection.<br>
<br>
But I wonder if this is the best approach<br>
<br>
/aep<br>
<br></blockquote><div>Are you trying to do some sort of live monitoring as it happens (i.e. while the call is live) or do you just want a record of the digits they pressed?<br>-MC<br></div></div><br>