you must only have 8k sounds so the resample is when it'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">On Wed, Dec 2, 2009 at 12:41 PM, Erwin Davis <span dir="ltr"><<a href="mailto:davis.erwin@gmail.com">davis.erwin@gmail.com</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;">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 "sample rate not matching", 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'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;">"</span></span></span><span style="text-decoration: underline;"><span style="text-decoration: underline;"></span></span>Sample rate doesn't match"? 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>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">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/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>