Hi, I solved this issue. the reason is because of the different port number between the the one in SDP and the one in real RTP stream. This is very nice feature.
e On 12/2/09, Erwin Davis <[email protected]> wrote: > > Hi, I got a weird issue when I dialed an extension and listen to a recorded > voice mail greeting message. > After playing a couple of time of the greeting, the FS printed the warning > of "sample rate not matching", then > send the audio to a different remote RTP port. See the log below, > > > 2009-12-02 12:42:27.109529 [DEBUG] switch_ivr_play_say.c:1097 Codec > Activated l...@16000hz 1 channels 20ms > 2009-12-02 12:42:27.112038 [DEBUG] switch_core_io.c:649 > sofia/internal/[email protected] receive message [TRANSCODING_NECESSARY] > 2009-12-02 12:42:28.86119 [DEBUG] switch_ivr_play_say.c:1391 done playing > file > 2009-12-02 12:42:28.205975 [DEBUG] switch_ivr_play_say.c:118 No language > specified - Using [en] > 2009-12-02 12:42:28.220967 [DEBUG] switch_ivr_play_say.c:273 Handle > play-file:[voicemail/vm-record_message.wav] (en:en) > 2009-12-02 12:42:28.222971 [DEBUG] switch_ivr_play_say.c:1097 Codec > Activated l...@16000hz 1 channels 20ms > 2009-12-02 12:42:28.222971 [DEBUG] switch_core_io.c:649 > sofia/internal/[email protected] receive message [TRANSCODING_NECESSARY] > 2009-12-02 12:42:32.804858 [DEBUG] switch_ivr_play_say.c:1391 done playing > file > 2009-12-02 12:42:32.944554 [DEBUG] switch_core_io.c:649 > sofia/internal/[email protected] receive message [TRANSCODING_NECESSARY] > 2009-12-02 12:42:33.946969 [WARNING] switch_core_file.c:120 Sample rate > doesn't match > 2009-12-02 12:42:33.950231 [DEBUG] switch_ivr_play_say.c:549 Raw Codec > Activated > 2009-12-02 12:42:34.124584 [INFO] switch_rtp.c:1869 Auto Changing port from > xxx.yyy.zzz.39:10002 to xxx.yyy.zzz.39:1748 > 2009-12-02 12:42:34.944913 [DEBUG] switch_core_codec.c:122 Restore original > codec. > 2009-12-02 12:42:34.947918 [DEBUG] mod_voicemail.c:1162 Message is less > than minimum record length: 3, discarding it. > 2009-12-02 12:42:34.947918 [DEBUG] switch_ivr_play_say.c:118 No language > specified - Using [en] > 2009-12-02 12:42:34.960002 [DEBUG] switch_ivr_play_say.c:273 Handle > play-file:[voicemail/vm-too-small.wav] (en:en) > 2009-12-02 12:42:34.960850 [DEBUG] switch_ivr_play_say.c:1097 Codec > Activated l...@16000hz 1 channels 20ms > 2009-12-02 12:42:34.960850 [DEBUG] switch_core_io.c:649 > sofia/internal/[email protected] receive message [ > > > 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. > I have two questions here, > (1) why does FS report "Sample rate doesn't match"? is it a bug or > configuration issue? > (2) Why does FS change the RTP port ? how to fix it? > > Thanks, > > Regards, > >
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
