I have gone back to Virgin media. So hit a brick wall with enabling VOIP and Route on port 4. you get the problem with the pages goofing up.
So. here's the solution.
firstly lets deal with the Virgin side if you are using your own ADSL provider on the hub then skip this step:
Code:
:ppp relay flush
:ppp flush:eth flush:atm flush:atm phonebook flush:eth bridge ifdelete intf=ethport4:eth ifadd intf=eth_wan:eth ifconfig intf=eth_wan dest=ethif4:eth ifattach intf=eth_wan:ip ifadd intf=ip_wan_eth dest=eth_wan:ip ifconfig intf=ip_wan_eth status=up:ip ifattach intf=ip_wan_eth:nat ifconfig intf=ip_wan_eth translation=enabled:dhcp client ifadd intf=ip_wan_eth:dhcp client ifconfig intf=ip_wan_eth metric=5 dnsmetric=5:dhcp client rqoptions add intf=ip_wan_eth option=dhcp-lease-time:dhcp client rqoptions add intf=ip_wan_eth option=dhcp-renewal-time:dhcp client rqoptions add intf=ip_wan_eth option=dhcp-rebinding-time:dhcp client rqoptions add intf=ip_wan_eth option=subnet-mask:dhcp client rqoptions add intf=ip_wan_eth option=classless-static-routes:dhcp client rqoptions add intf=ip_wan_eth option=default-routers:dhcp client rqoptions add intf=ip_wan_eth option=classfull-static-routes:dhcp client rqoptions add intf=ip_wan_eth option=domain-name-servers:dhcp client ifattach intf=ip_wan_eth :saveall
This will drop the ADSL, and route all wan traffic to ethernet port 4.
verify it works by plugging eth port 4 into your superhub / mediahub / docsis modem and rebooting the hub (so it gets a DHCP on wanside). if all is ok proceed on.
now here is the VITAL line I was missing without this the VOIP can't communicate.
enter this:
Code:
ip rtadd dst=255.255.255.255/32 gateway=(cable modem/router address)
Now onto the SIP VOIP bit, this is for ADSL or Virgin media.
Enter this command.
you will now be asked a series of questions one by one by the router, fill whats needed and press enter. and it should be like this:
Code:
SIP_URI = nnnnnnn(this is your 7 digit SIP ID)[username] = nnnnnnn@sipgate.co.uk(replace nnnnnnn with your SIP ID)[password] = ********(enter your password NOT the website password)[password] = ********[display name] = (whatever you want as your name)voiceport = (I use COMMON, you can select using up/down arrows)[abbr] = (nothing is needed here, not sure what it is)[enabled] = enabled (this IS CRUCIAL, it's the same as clicking activate on the webpage which is goofed for VM users!)[Dir] = again dunno what this is for so left it.
now enter these:
Code:
voice sip config primproxyaddr=sipgate.co.ukvoice sip config primregaddr=sipgate.co.ukvoice sip config notifier_addr=sipgate.co.ukconfig save filename=user
as soon as you save it, the phone light should come on and go blue. ADSL users are good to go. VM read on below.
additionally you may want to open these ports on your firewall IF you are virgin media,
Code:
UDP 5060UDP 5004UDP 8000-8016UDP 10000
since one is the inbound ringing and status, one is voice, and the other is stun.
I hope this helps!