<div dir="ltr">That second sentence should read &quot;the console output&quot;, not &quot;the c output&quot;.<br><br><div class="gmail_quote">On Fri, Sep 12, 2008 at 3:27 PM, Luke Graybill <span dir="ltr">&lt;<a href="mailto:killarny@gmail.com">killarny@gmail.com</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;"><div dir="ltr">I am having a hard time getting this command to work properly. Here is the c output from my test session, where I dial in to ext 500 with my sip client (Ekiga):<br>
<br>----<br>listening on localhost:8084<br>
IPv4Address(TCP, &#39;<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>&#39;, 36685): Connected<br>&gt;&gt; &#39;connect&#39;<br>Caller: Killarny -<br>&gt;&gt; &#39;myevents&#39;<br>result was: Events Enabled<br>&gt;&gt; &#39;sendmsg\ncall-command: execute\nexecute-app-name: answer&#39;<br>

OK<br>&gt;&gt; &#39;sendmsg\ncall-command: execute\nexecute-app-name: read\nexecute-app-arg: 0 4 conference/8000/conf-pin.wav digits 10000 #&#39;<br>OK<br>DTMF: 1<br>DTMF: 2<br>DTMF: 3<br>DTMF: 4<br>DTMF: 5<br>DTMF: 6<br>

DTMF: 7<br>DTMF: 8<br>DTMF: 9<br>DTMF: 0<br>DTMF: *<br>DTMF: #<br>IPv4Address(TCP, &#39;<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>&#39;, 36685): Connection was closed cleanly.<br>----<br><br>I couldn&#39;t figure out how to get read to function without passing a wav file (I plan to use TTS for the voice prompts, and I don&#39;t need a wav file to play here) so I just plugged in a random wav that comes with freeswitch for testing.<br>

<br>As you can see, freeswitch reports that the command executed properly, illustrated by the OK (which was a reply-text: +OK) but the read application doesn&#39;t seem to be functioning beyond playing
the given wav file (and truncating the first half of it as well). Pressing digits in the sip client results in DTMF events being sent to the socket. Note that the DTMF events stop at # because I manually shut down the connection, not because of anything that freeswitch does.<br>

<br>Am I doing something wrong here? I feel like I&#39;m following the available documentation given at <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_read" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_read</a> but I am having no luck. Is the read application basically a dead command, and should I be instead just using DTMF event output?<br>

<br>Any help that can be provided would be appreciated, thanks.<br><br>Killarny<br></div>
</blockquote></div><br></div>