<br><br><div class="gmail_quote">On Thu, Dec 10, 2009 at 9:07 AM, Alberto Escudero <span dir="ltr"><<a href="mailto:aep.lists@it46.se">aep.lists@it46.se</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>
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>
<entry action="menu-play-sound" digits="1"<br>
param="$${base_dir}/1255549537_Welcome.wav"/><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>
<entry action="menu-exec-app" digits="1" param="javascript foo.js"/><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>