[Freeswitch-users] AutoChanging port problem

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


Hello

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
SDP:
v=0
o=FreeSWITCH 1243416430 1243416431 IN IP4 192.168.1.1
s=FreeSWITCH
c=IN IP4 192.168.1.1
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 - - - -
a=ptime:30
a=sendrecv

2009-05-27 17:51:10 [NOTICE] mod_sofia.c:1451 sofia_receive_message()
Pre-Answer sofia/internal/101 at 192.168.1.1!
2009-05-27 17:51:10 [NOTICE] switch_channel.c:602
switch_channel_set_name() New Channel
sofia/internal/sip:166 at 192.168.1.166:5060;fs_nat=yes;fs_path=sip%3A166%40192.168.1.166%3A5060
[32e3b290-4ad6-11de-981e-f9f8384b4b12]
2009-05-27 17:51:10 [NOTICE] sofia.c:3101 sofia_handle_sip_i_state()
Ring-Ready
sofia/internal/sip:166 at 192.168.1.166:5060;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 192.168.1.101:16384 to 192.168.1.101:1045

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:

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


Thanks





More information about the FreeSWITCH-users mailing list