How to change default SIP Port?

Hi All,

Need you help, I want to change the default (5060) sip port of my asterisk box. How to change the port to 5070 etc?

Many Thanks in advance.

From: … onf.sample

; With the current situation, you can do one of four things: ; a) Listen on a specific IPv4 address. Example: bindaddr= ; b) Listen on a specific IPv6 address. Example: bindaddr=2001:db8::1 ; c) Listen on the IPv4 wildcard. Example: bindaddr= ; d) Listen on the IPv4 and IPv6 wildcards. Example: bindaddr=:: ; (You can choose independently for UDP, TCP, and TLS, by specifying different values for ; "udpbindaddr", "tcpbindaddr", and "tlsbindaddr".) ; (Note that using bindaddr=:: will show only a single IPv6 socket in netstat. ; IPv4 is supported at the same time using IPv4-mapped IPv6 addresses.) ; ; You may optionally add a port number. (The default is port 5060 for UDP and TCP, 5061 ; for TLS). ; IPv4 example: bindaddr= ; IPv6 example: bindaddr=[::]:5062

Check the corresponding file in your version for any differences.