changing sip port

Home » Asterisk Users » changing sip port
Asterisk Users 3 Comments

Hello

How can I run the sip service on asterisk on another port beside 5080?

I mean asterisk will still take sip requests on port:5080 and another custom
port, lets say port:6080

Thanks for any help

3 thoughts on - changing sip port

  • asterisk by default listen on port 5060.You simply need open the file /etc/asterisk/sip.conf and change these.>> udpbindaddr=0.0.0.0:6080>>tcpbindaddr=0.0.0.0:6080save the file and open asterisk console and execute “sip reload”.
    Muhammad Faheem

  • 11 nov 2010 kl. 23.25 skrev Baha @ SH:

    For UDP, we only have one port. You have to select.

    /O

  • you can only configure 1 listening port in sip.conf. however you
    can use port forwarding on OS level to achieve that.

    iptables -t nat -I PREROUTING -i -d -p udp

    p.s. the default SIP port is 5060.