How to use another sip port on Elastix or Asterisk

How to use another sip port on Elastix or Asterisk

I was trying to configure  Elastix PBX SIP client but the SIP port UDP 5060  was blocked from the ISP .

I don’t wanted to change server SIP port 5060 .  I google the internet and get the trick and tested and

its worked for me .elastix

Hope it will work for others also

 

 

 

 

I just added  one rule in IPTABLES

iptables -t nat -A PREROUTING -i eth0 -p udp –dport 6060 -j REDIRECT –to-ports 5060
on above rule I used port 6060 but you can use port of your choice.

It was the easy way to use different sip port on client side without changing any server configuration.

Help link   source link

 

Your email address will not be published. Required fields are marked *