[Freeswitch-users] change the remote RTP port after sample rate doesnot match

Erwin Davis davis.erwin at gmail.com
Thu Dec 3 11:30:49 PST 2009

Hi, Anthony and Mike,

With the latest version from SVN, I was able to remove the warning "sample
rate not matching". But the remote RTP port was still changed after after
playing the vm greeting. See below,
2009-12-03 13:44:46.901216 [INFO] switch_rtp.c:1975 Auto Changing port from
XXX.YYY.ZZZ.39:10002 to XXX.YYY.ZZZ.39:3335

Any clue?

I looked at the source code in switch_rtp.c:1975, it shows that if
rtp_session->autoadj_tally >= 10, then a rtp port change will happen. Any
idea about autoadj_tally and what cause the increase of autoadj_tally ?

On 12/2/09, Erwin Davis <davis.erwin at gmail.com> wrote:
> Hi, Anthony and Mike,
> Thanks for your reply. The problem still exists even after I ran "make
> hd-sounds install".
> I will try the latest version from the SVN to see if the problem will go
> away. I will let you know.
> Thanks folks,
> Regards,
> On 12/2/09, Michael Collins <msc at freeswitch.org> wrote:
>> On Wed, Dec 2, 2009 at 12:08 PM, Erwin Davis <davis.erwin at gmail.com>wrote:
>>> Hi, Anthony,
>>> Thanks for your reply.
>>> When I type the command below, I got the error,
>>> Unknown target hd-sound-install
>>> make[1]: *** [hd-sound-install] Error 1
>>> make: *** [hd-sound-install] Error 2
>>> 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,
>> Erwin,
>> As Tony said you've actually got a pretty old installation. If this is in
>> production then I would recommend getting a sandbox machine, install trunk
>> using the quick-and-dirty install, and then update the default config to you
>> specific configuration. Test to make sure it works before you put it into
>> production. :)
>> Feel free to join us on IRC (#freeswitch on irc.freenode.net) if you run
>> into any issues that require more real-time conversation.
>> -MC
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091203/447f2cfa/attachment-0002.html 

More information about the FreeSWITCH-users mailing list