[Freeswitch-users] AutoChanging port problem

Mariusz Kołodziejczyk WP mariusz_kolo at wp.pl
Wed May 27 09:40:08 PDT 2009


I have about 100 phones in lan. Every phone have set rtp port to 20000
(very simple phone 8Level  you can set one rtp port not range like
linsys can)

my logs in freeswithc looks:

2009-05-27 17:51:10 [INFO] mod_dialplan_xml.c:252 dialplan_hunt()
Processing 101->166 in context default
2009-05-27 17:51:10 [NOTICE] mod_dptools.c:1274
system_session_function() Executing command: mkdir -p /records/2009-05-27
2009-05-27 17:51:10 [INFO] switch_core_session.c:1391
switch_core_session_execute_application() Sending early media
2009-05-27 17:51:10 [INFO] mod_sofia.c:1448 sofia_receive_message() Ring
o=FreeSWITCH 1243416430 1243416431 IN IP4
c=IN IP4
t=0 0
m=audio 23040 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -

2009-05-27 17:51:10 [NOTICE] mod_sofia.c:1451 sofia_receive_message()
Pre-Answer sofia/internal/101 at!
2009-05-27 17:51:10 [NOTICE] switch_channel.c:602
switch_channel_set_name() New Channel
sofia/internal/sip:166 at;fs_nat=yes;fs_path=sip%3A166%40192.168.1.166%3A5060
2009-05-27 17:51:10 [NOTICE] sofia.c:3101 sofia_handle_sip_i_state()
sofia/internal/sip:166 at;fs_nat=yes;fs_path=sip%3A166%40192.168.1.166%3A5060!
2009-05-27 17:51:10 [INFO] switch_rtp.c:1800 rtp_common_read() Auto
Changing port from to

Phone has set rtp port to 16384 but freeswitch changes to 1045 (rtp
range on freeswitch is default from 16384 to 32768). Why has it change
to 1045
There isn't any firewall on this server

Can be a problem if every phone in net has set in his config the same rtp port ?

freeSwitch ver:

FreeSWITCH Version 1.0.trunk (13430)


Linux pbx 2.6.24-23-server #1 SMP Mon Jan 26 00:55:21 UTC 2009 i686 GNU/Linux


More information about the FreeSWITCH-users mailing list