Dion,

A endpoint registers with freeswitch to let freeswitch know how to reach it.

The key piece of the registration record is the contact line
Contact:     "" <sip:jblogs@1.2.3.4:32768>

The user is telling us his name and his ip address(street address) and suite(port number).
The endpoint's port number is configured by the endpoint.
Hope this helps. 

On Mon, Nov 10, 2014 at 8:11 AM, Dion Phillips <dion@openlogic.com.au> wrote:
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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org