[Freeswitch-users] Freeswitch port numbers assigned to phones

Florent Krieg flokrrr at gmail.com
Mon Nov 10 19:42:29 MSK 2014


Hi Dion,

The port you are seeing is the port used by the devices
(phones/softphones/...) to send SIP messages to your server.

I guess your phones are located behind a router on a local network. When
the first phone sends SIP messages to your FS, it leaves the router with
the port 5060 (it's up to the router to re-use 5060 or chose a random port
from the beginning) but then for the other phones it has to map to other
external ports, that's why a random one is used.

Your router might be able to provide a way to configure NAT mappings
manually, you should look that way.

Florent

2014-11-10 14:11 GMT+01:00 Dion Phillips <dion at openlogic.com.au>:

>  Hi All
>
> I am looking for some insight into FS port numbers.
>
> The default internal port number is 5060 and when the IP phones register
> with FS, one of the phones gets assigned 5060 and the remaining phones get
> a random port number assigned (I am using this command to see the port
> numbers: "sofia status profile internal reg").
>
> How is this random port number decided on? How can I tie a phone to a
> specific port number?
>
> Thanks
> Dion.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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/20141110/6ec1722e/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list