<div dir="ltr">I found it. It was in the file portaudio.conf.xml. I changed the sample rate to 16000.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 7, 2013 at 3:59 AM, Ebrahim Bararian <span dir="ltr">&lt;<a href="mailto:ebrahim.bararian@gmail.com" target="_blank">ebrahim.bararian@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I put the pocketsphinx dictionary and acoustic model in the place it needed it. So that error have been solved.<div>

<br></div><div>But the first error is lasting yet. How can I change the sampling rate from 48k to 16k or 8k?</div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 7, 2013 at 3:06 AM, Ebrahim Bararian <span dir="ltr">&lt;<a href="mailto:ebrahim.bararian@gmail.com" target="_blank">ebrahim.bararian@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I&#39;ve just tried to run the pocket_sphinx according to what the link below described:</div>


<div><br></div><div><a href="http://wiki.freeswitch.org/wiki/Mod_pocketsphinx" target="_blank">http://wiki.freeswitch.org/wiki/Mod_pocketsphinx</a><br>
</div><div><br></div><div>But when I try to run by using command &quot;pa call 74992&quot; in the freeswitch console, the following happens:</div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">



<b>[ERR] mod_pocketsphinx.c:99 In valid rate 48000. Only 8000 and 16000 are supported. <br></b></div><div style="font-family:arial,sans-serif;font-size:13px"><b><br></b></div><b><span style="font-family:arial,sans-serif;font-size:13px">[ERR] mod_pocketsphinx.c:142 Can&#39;t open dictionary C: /Program Files/FreeSWITCH/grammar/</span><span style="font-family:arial,sans-serif;font-size:13px">default.dic.</span> </b><br>



</div><div><b><br></b></div><div>but how can I fix it?</div><div><br></div><div>Thanks in advance.</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>