Menu

SIP listen port from 5060 to 2060 ? How to?

Help
Jim Islah
2010-11-25
2013-05-29
  • Jim Islah

    Jim Islah - 2010-11-25

    Hello and Good morning,

    Unfortunately due to blockage of port 5060 VoIP doesn't work on my 3 SP W500V routers and I want to change SIP listen port to 2060 as this port is supported by Voxalot and Sipsorcery (for registrar, OBproxy ) and isn't blocked by my ISP and therefore works using a softphone though. I find the only reason I can't connect is that I can't change SIP listening port from 5060 to 2060. Can you please help me how to achieve that?

    Sumthing worth mentioning is here but I can't understand how to make that change to router.

    http://bitswitcher.svn.sourceforge.net/viewvc/bitswitcher/trunk/dev_tree/userapps/opensource/siproxd/siproxd.conf?revision=147

    Thank you and regards.

     
  • Patrick Schmidt

    Patrick Schmidt - 2010-11-25

    Try to use iptables to SNAT the outgoing packets. Try the following
    command on the shell:

    iptables -t nat -I POSTROUTING -p udp --sport 5060 -j MASQUERADE --to-ports 2060
    

    If it works copy it to the custom firewall rules and give feedback please!

     
  • Jim Islah

    Jim Islah - 2010-11-25

    @coolman1982
    thank you for replying. I did as you advised, but still it didn't work. I pasted it in "web shell" command field. It didn't work, I pasted it in firewall "Custom rules" as well but still no luck.

    I want to share something here, I had BT Voyager 2500v, it was having the same issue, but when I changed sip transport port from 5060 to 2060 it worked immediately keeping registrar and domain port to 2060 as well.

     
  • Jim Islah

    Jim Islah - 2010-12-31

    @coolman1982
    Any further help on this please ? As you are the big boss of bitswitcher and can make my 3 routers working on VoIP :(

     

Log in to post a comment.

MongoDB Logo MongoDB