I have a Grandstream GXP2140 phone in a premise environment where I have set the Local SIP port statically. However, it does not seem to want to use that port. When I go to the peers list, it’s using a different port.
Does anyone have any insight into local SIP port functionality for phones and inside of asterisk?
I’ve had connectivity issues in this environment, but static ports has helped with the other phones.
Assuming you’re talking about the port the phone uses and if you’re setting the port in the phone gui, if I remember correctly you have to uncheck “use dynamic port” somewhere else in the gui setup.
It is specific to the phone model, but works just fine. I have gotten into the habit of setting this to a port value based on the extension because some routers do not do a good job of reloading a state table after a reboot.