Only Port 5060 and 5061 work

Hello I am running FreePBX 16.0.40.11, and I am having an issue changing the pjsip ports to any thing but 5060 or 5061. I am doing testing running multiple phone systems and they will have to be mapped from the same external IP for different users on different systems (locations) working from home. These locations all route through a wan connection out the same Internet connection. My thought was to setup the systems to listen on 5062, 5064, 5066, 5068.

I tested ahead of time, I wen to Asterisk SIP setting, enabled show advanced setting, and changed to port to 5061 from 5060, for both TCP and UDP. I restarted the server, and I then went to a phone, on the same network as server, and tried setting it to 5061 for UDP, and them set it to 5061 for TCP and it registered both ways just fine. Previous to trying it from outside the network (through the firewall), I went to a phone on the same network as the server and tried 5062, restarted the server, and the phone will not register, via TCP or UDP on 5062. I have tried all kind of crazy port numbers (4000, 9000, 4060, etc.) and nothing works except 5060 and 5061. I have tried disabling the firewall and that made no difference.

I am using Yealink T44W’s I have tried on phone on Wireless and on Hardwired, it made no difference.

Am I missing something?

Update. I looks like where I set it to 5061, the phones will register on 5060 and 5061. When I set it to 5060 the will still register on 5060 and 5061. So is it not taking the setting. Do I need to set this somewhere else?

You need to be more clear on this. Where are these multiple phone systems compared to the devices connecting to them? And how can multiple locations be using the same WAN and IP?

They are at 4 separate Branches in 4 separate cities. They are connected to the main location via a Point to Point WAN connection and route out the internet trough the main location. Right now the system and the phone are on 10.1.x.x/16 in the same LAN. I am not going through the firewall yet.

Update I finally got it to recognize a new port. Even though I was not using a external connection yet (they were on the same LAN). I put in General SIP settings the external IP they will be mapped to. I then when to chan_pjsip setting and set the external IP address (again using the outside IP), and wen to external signaling port and set it to 5062 as well at the port to listen on to 5062. And poof - it started letting my phones (on the same LAN segment as the server), register on 5062.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.