Page 1 of 1

Change port 5060

PostPosted: Wed Aug 23, 2017 11:35 am
by zenithbsolutions
Hi,

I have a requirement where an ISP is blocking port 5060. So I have changed the port from 5060 to 7777 in sip.conf as below

nano /etc/asterisk/sip.conf

I have changed

bindport=5060
to
bindport=7777

and restarted the server.

I have verified the port

lsof -i :7777

and the result is

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
asterisk 1690 root 11u IPv4 19185 0t0 UDP *:cbt

I have set the IP in the eyebeam as XXX.XXX.XXX.XXX:7777

Ex : 192.168.1.15:7777

But the phone is not getting registered.

My question is will it work if I change the port from 5060 to 7777 and how can I get the phone registered after changing the port.

Do I need to change the port in other files as well?

My Installation vicibox7.0.4, asterisk 11

VERSION: 2.14-583a
BUILD: 161226-2224
© 2016 ViciDial Group

Thank you.

Re: Change port 5060

PostPosted: Wed Aug 23, 2017 4:24 pm
by frequency
7777 would be needed to filtered in the firewall. Try disabling the firewall by going to "yast firewall" and disabling the firewall and "stop now" and restart your sip phone.