Hi, Anthony,<br>
<br>
Thanks for your reply. <br><br>
When I type the command below, I got the error,<br>
Unknown target hd-sound-install<br>
make[1]: *** [hd-sound-install] Error 1<br>
make: *** [hd-sound-install] Error 2<br>
<br>
I found out that under
/usr/local/freeswitch/sounds/en/us/callie/voicemail, there are
directories, 8000, 16000, 32000, 48000 for recorded voicemail
greetings. It should explain why at first FS played in right sample
rate. But after playing serveral time, FS complained about sample rate
not matching.  Any clue? Thanks,<br>
<br>
<br>
<br>
<br><div><span class="gmail_quote">On 12/2/09, <b class="gmail_sendername">Anthony Minessale</b> &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
you must only have 8k sounds so the resample is when it&#39;s playing files <br><br>try make hd-sounds-install to install 16k sounds too<br><br><br><br><br><br><div class="gmail_quote"><div><span class="e" id="q_12550f2dfb8c5a79_1">On Wed, Dec 2, 2009 at 12:41 PM, Erwin Davis <span dir="ltr">&lt;<a href="mailto:davis.erwin@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">davis.erwin@gmail.com</a>&gt;</span> wrote:<br>

</span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span class="e" id="q_12550f2dfb8c5a79_3">Hi, I got a weird issue when I dialed an extension and listen to a recorded voice mail greeting message. <br>


After playing a couple of time of the greeting, the FS printed the warning of &quot;sample rate not matching&quot;, then <br>
send the audio to a different remote RTP port. See the log below,<br>
<br>
<br>
2009-12-02 12:42:27.109529 [DEBUG] switch_ivr_play_say.c:1097 Codec Activated L16@16000hz 1 channels 20ms<br>
2009-12-02 12:42:27.112038 [DEBUG] switch_core_io.c:649
sofia/internal/1003@xxx.yyy.zzz.31 receive message
[TRANSCODING_NECESSARY]<br>
2009-12-02 12:42:28.86119 [DEBUG] switch_ivr_play_say.c:1391 done playing file<br>
2009-12-02 12:42:28.205975 [DEBUG] switch_ivr_play_say.c:118 No language specified - Using [en]<br>
2009-12-02 12:42:28.220967 [DEBUG] switch_ivr_play_say.c:273 Handle play-file:[voicemail/vm-record_message.wav] (en:en)<br>
2009-12-02 12:42:28.222971 [DEBUG] switch_ivr_play_say.c:1097 Codec Activated L16@16000hz 1 channels 20ms<br>
2009-12-02 12:42:28.222971 [DEBUG] switch_core_io.c:649
sofia/internal/1003@xxx.yyy.zzz.31 receive message
[TRANSCODING_NECESSARY]<br>
2009-12-02 12:42:32.804858 [DEBUG] switch_ivr_play_say.c:1391 done playing file<br>
2009-12-02 12:42:32.944554 [DEBUG] switch_core_io.c:649
sofia/internal/1003@xxx.yyy.zzz.31 receive message
[TRANSCODING_NECESSARY]<br>
<span style="font-style: italic; text-decoration: underline;">2009-12-02 12:42:33.946969 [WARNING] switch_core_file.c:120 Sample rate doesn&#39;t match</span><br style="font-style: italic; text-decoration: underline;">
<span style="font-style: italic; text-decoration: underline;">2009-12-02 12:42:33.950231 [DEBUG] switch_ivr_play_say.c:549 Raw Codec Activated</span><br style="font-style: italic; text-decoration: underline;">
<span style="font-style: italic; text-decoration: underline;">2009-12-02 12:42:34.124584 [INFO] switch_rtp.c:1869 Auto Changing port from </span>xxx.yyy.zzz<span style="font-style: italic; text-decoration: underline;">.39:10002 to </span>xxx.yyy.zzz<span style="font-style: italic; text-decoration: underline;">.39:1748</span><br style="font-style: italic; text-decoration: underline;">



<span style="font-style: italic; text-decoration: underline;">2009-12-02 12:42:34.944913 [DEBUG] switch_core_codec.c:122 Restore original codec.</span><br style="font-style: italic; text-decoration: underline;">
<span style="font-style: italic; text-decoration: underline;">2009-12-02 12:42:34.947918 [DEBUG] mod_voicemail.c:1162 Message is less than minimum record length: 3, discarding it.</span><br>
2009-12-02 12:42:34.947918 [DEBUG] switch_ivr_play_say.c:118 No language specified - Using [en]<br>
2009-12-02 12:42:34.960002 [DEBUG] switch_ivr_play_say.c:273 Handle play-file:[voicemail/vm-too-small.wav] (en:en)<br>
2009-12-02 12:42:34.960850 [DEBUG] switch_ivr_play_say.c:1097 Codec Activated L16@16000hz 1 channels 20ms<br>
2009-12-02 12:42:34.960850 [DEBUG] switch_core_io.c:649 sofia/internal/1003@xxx.yyy.zzz.31 receive message [<br>
<br>
<br>
the original codec is wideband 16kHz Speex and the wireshark shows that the FS used the same codec. I used FS 1.04 in fedora 8.<br>
I have two questions here,<br>
(1) why does FS report <span style="font-style: italic; text-decoration: underline;"><span style="text-decoration: underline;"><span style="font-style: italic;">&quot;</span></span></span><span style="text-decoration: underline;"><span style="text-decoration: underline;"></span></span>Sample rate doesn&#39;t match&quot;? is it a bug or configuration issue?<br>



(2) Why does FS change the RTP port ? how to fix it? <br>
<br>
Thanks,<br>
<br>
Regards,<br>
<br>
<span style="font-style: italic; text-decoration: underline;"></span>
<br></span></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

<a href="http://www.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>