Hi,<br><br>There are a few problems I found with voicemail and I am not sure if I did something wrong:<br><br><br>Problem 1:<br><br>With is my dialplan:<br>&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;default_language=zh&quot;/&gt;<br>



&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;voicemail&quot; data=&quot;default $${domain} ${dialed_ext}&quot;/&gt;<br><br><br>This is the result:<br>2008-04-19 22:12:35 [DEBUG] switch_ivr_play_say.c:115 switch_ivr_phrase_macro() No language specified - Using [zh]<br>



2008-04-19 22:12:35 [DEBUG] switch_ivr_play_say.c:256 switch_ivr_phrase_macro() Handle say:[] (zh:zh)<br>2008-04-19 22:12:35 [DEBUG] switch_ivr_play_say.c:256 switch_ivr_phrase_macro() Handle play-file:[voicemail/vm-not_avaliable.wav] (zh:zh)<br>



2008-04-19 22:12:35 [ERR] mod_sndfile.c:164 sndfile_file_open() Error Opening File<span style="color: rgb(255, 0, 0);"> [/usr/local/freeswitch/sounds/zh/cn/callie/voicemail/vm-not_avaliable.wav] [System error : No such file or directory.]</span><br>



2008-04-19 22:12:35 [DEBUG] switch_ivr_play_say.c:115 switch_ivr_phrase_macro() No language specified - Using [zh]<br>2008-04-19 22:12:35 [DEBUG] switch_ivr_play_say.c:256 switch_ivr_phrase_macro() Handle play-file:[voicemail/vm-goodbye.wav] (zh:zh)<br>



2008-04-19 22:12:35 [DEBUG] mod_sndfile.c:170 sndfile_file_open() Opening File<span style="color: rgb(255, 0, 0);"> [/usr/local/freeswitch/sounds/zh/cn/callie/voicemail/8000/vm-goodbye.wav]</span> rate 22050hz<br>2008-04-19 22:12:35 [WARNING] switch_core_file.c:114 switch_core_perform_file_open() Sample rate doesn&#39;t match<br>



2008-04-19 22:12:35 [DEBUG] switch_ivr_play_say.c:860 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms<br>2008-04-19 22:12:35 [NOTICE] switch_resample.c:77 switch_resample_create() Activate Resampler 22050-&gt;8000 0.362812<br>



2008-04-19 22:12:36 [DEBUG] switch_ivr_play_say.c:1121 switch_ivr_play_file() done playing file<br>2008-04-19 22:12:36 [NOTICE] switch_core_state_machine.c:198 switch_core_standard_on_execute() Hangup sofia/default/<a href="http://1004@192.168.1.104:5060" target="_blank">1004@192.168.1.104:5060</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>



<br>For voicemail/vm-not_avaliable.wav, it goes to <span style="color: rgb(255, 0, 0);">/usr/local/freeswitch/sounds/zh/cn/callie/voicemail/ dir to fetch the file but for </span>voicemail/vm-goodbye.wav, it goes to <span style="color: rgb(255, 0, 0);">/usr/local/freeswitch/sounds/zh/cn/callie/voicemail/8000/<span style="color: rgb(0, 0, 0);"> dir.&nbsp; Following the en sample, I put my wav files under the /8000/ only.&nbsp; With language=en, it always go to the &lt;...&gt;/8000/ dir, but with language=zh, it is not.&nbsp; How come?&nbsp; Also, where is the /8000/ defined? </span><br style="color: rgb(0, 0, 0);">



<br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">In my zh.xml:</span><br style="color: rgb(0, 0, 0);"><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">&lt;include&gt;</span><br style="color: rgb(0, 0, 0);">



<span style="color: rgb(0, 0, 0);">&nbsp; &lt;language name=&quot;zh&quot; sound-path=&quot;$${base_dir}/sounds/zh/cn/callie&quot; tts-engine=&quot;cepstral&quot; tts-voice=&quot;callie&quot;&gt;</span><br style="color: rgb(0, 0, 0);">



<span style="color: rgb(0, 0, 0);">&nbsp;&nbsp;&nbsp; &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;demo/demo.xml&quot;/&gt; </span><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">&nbsp;&nbsp;&nbsp; &lt;!--voicemail_en_tts is purely implemented with tts, we need a files based implementation too --&gt;</span><br style="color: rgb(0, 0, 0);">



<span style="color: rgb(0, 0, 0);">&nbsp;&nbsp;&nbsp; &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;vm/sounds.xml&quot;/&gt;</span><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">&nbsp; &lt;/language&gt;</span><br style="color: rgb(0, 0, 0);">



<span style="color: rgb(0, 0, 0);">&lt;/include&gt;<br><br>In my zh.xml, the sound-path is /sounds/zh/cn/callie/, so I am not sure where the 8000 comes from?<br><br>Problem 2:<br><br><br></span></span>This time I change default_language to en:<br>



<br>
&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;default_language=en&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;voicemail&quot; data=&quot;default $${domain} ${dialed_ext}&quot;/&gt;<br><br>when dialing in, the voice says something like &quot; please record your message .... press any key to end the recording.&nbsp; I found that it will actually wait for a while before accepting my dtmf ( the &quot;pressing any key to end recording&quot;).&nbsp; I think the wait time is too long, cuz some people may just want to press the # key to hangup.&nbsp; With the current voicemail, it will repeat the &quot;please record your message....&quot; again and again.&nbsp; Is there a config for turning off the this waiting period?&nbsp; <br>



<br>In the wiki ( <a href="http://wiki.freeswitch.org/wiki/Mod_voicemail" target="_blank">http://wiki.freeswitch.org/wiki/Mod_voicemail</a>) , there are a number of configuration parameter &quot;keys&quot;, where can I find out more on how to use those keys and the available values that can be used?<br>



<br><br>Problem 3:<br><br>If I want to add something like &quot; The person at extension XXXX &quot; before the vm-not_available.wav, how to do it?<br><br><br>Problem 4:<br><br>When I tried to load the spidermonkey mod, I am getting the following error at startup:<br>



<br>2008-04-19 23:52:30 [ERR] mod_spidermonkey.c:930 sm_load_file() Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey_odbc.so<br>**/usr/local/freeswitch/mod/mod_spidermonkey_odbc.so: undefined symbol: SQLFetch**<br>



<br>When making DB call in javascript, I get the following error:<br><br>2008-04-20 03:15:09 [DEBUG] switch_core_state_machine.c:142 switch_core_standard_on_execute() sofia/default/<a href="http://1004@192.168.1.104:5060" target="_blank">1004@192.168.1.104:5060</a> Execute javascript(switch.js)<br>

2008-04-20 03:15:09 [ERR] mod_spidermonkey.c:3135 js_api_use() Error loading ODBC<br>2008-04-20 03:15:09 [ERR] switch.js:7 mod_spidermonkey()&nbsp; ReferenceError: ODBC is not defined<br><br><br>Thank you very much for your kind help and input.<br>
<br>Regards,<br>Pete<br><br><br>