
how-to block ads
|
 Roop
join:2003-11-15 Ottawa, ON
·Cybersurf Corporat..
| Almost have CIA voip via NAT router working (linksys 2102)
i finally got a line to register but all calls get routed to cia's support line.
to test, i connected the linksys box to the cable modem directly to ensure that it works here: i get a green line1 light, dial tone, i can call a local number. i plug it into my router: no line 1 light, no dial tone.
here are my next steps:
1. Pick up line 1, dial 73738# then dial 1# to confirm. Hang up. this sets the linksys to defaults
2. download this script: »voip.cia.com/provision.php?MAC=$MA i made lots of changes, you can view mine here: »www.rserve.biz/provision.xml What is important to change in this setup is to allow web access on the wan interface and to change the admin password to something you can remember. i also changed the dns servers, time zone and a couple others but that's optional. the settings you need are in the admin page. the admin page is easy to access over wan so enable those.
3. run your xml file: »localhost/provision.xml?MAC=$MA" >192.168.0.1/admin/resync?»···?MAC=$MA localhost only works if you're running a webserver, you should be able to substitute that with file:///. when you're doing this part, you need to be connected on the lan port of the 2102
on the SIP page, at the bottom there are lots of NAT settings. i enabled all of them.
on the line1 page there are two nat options, i enabled these
in my router i forward port 5060 and ports 20000 to 20011 to the linksys ip address.
this gives me a dial tone. i can dial numbers BUT all numbers take me to CIA customer service. from here i cannot pick any options from the menu.
so close. just more time is needed. any ideas anyone? | |  Roop
join:2003-11-15 Ottawa, ON
·Cybersurf Corporat..
4 edits | ok i got it working 75% through nat after starting from scratch. i need to test it for a period to see how it works. here's what i did:
pre-reqs: in my router i forward port 5060 and ports 20000 to 20011 to the linksys ip address. the 2102 has a static DHCP lease so it always get the same IP from my router.
1. Pick up line 1, dial 73738# then dial 1# to confirm. Hang up. this sets the linksys to defaults
2. put this in a browser: "http://192.168.0.1/admin/resync?»voip.cia.com/provision.php?MAC=$MA" my 2102 reset after this
if you surf to "http://voip.cia.com/provision.php?MAC=$MA" and open this up in something that understands XML, you can clearly read all of the settings, including the admin password which is currently username admin, password cyberadminsurf.
3. i had a laptop connected on the wan port. it got an ip and i logged in as admin. using that i enabled the web server on the wan side so my desktop could configure the 21020
4. i changed all nat boxes to "yes" on the SIP page and the line 1 page.
5. in the EXT ip address box, i put my external IP in.
after i clicked sumbit on step #5, the line 1 light lit up. i was able to dial a number (my other voip line). the other voip box was unplugged so i got voicemail but at least i know it actually routed somewhere. i listened to the voicemail and it had audio.
currently:
i can call people, they hear me, i hear them people can call me, they can hear me, i cannot hear them.
so 3/4 of this is working. now for the last quarter. i know why it's not working: all the rtp packets sent to my ip are blocked by my router. i'm not sure why yet. | |  Roop
join:2003-11-15 Ottawa, ON
·Cybersurf Corporat..
| reply to Roop and here is 100% working. from a remote location i can make calls and get calls, everything sounds good, both sides can hear and speak.
router config: - do a 1:1 ip natting, that's right, all ports from the external to all ports on the linksys 2102. in pfsense, my router, i can do this and still assign individual ports on the same external ip to other stuff. - dhcp lease needs to be static on the 2102
computer config: My computer has 2 nics, one to my network, one to the 2102's ethernet slot.
linksys 2102 config: 1. Pick up line 1, dial 73738# then dial 1# to confirm. Hang up. this sets the linksys to defaults
2. put this in a browser: "http://192.168.0.1/admin/resync?»voip.cia.com/provision.php?MAC=$MA" my 2102 reset after this
if you surf to "http://voip.cia.com/provision.php?MAC=$MA" and open this up in something that understands XML, you can clearly read all of the settings, including the admin password which is currently username admin, password cyberadminsurf.
3. log into the 2102 as admin. using that i enabled the web server on the wan side so my desktop could configure the 2102 from it's ip on my network.
4. i changed all nat boxes to "yes" on the SIP page and the line 1 page.
5. the stun server is set to stun.ekiga.com. rtp min port is set to 20000.
once you save this, you can monitor the results on the voice -> info page. you'll see it figure out what your outside IP is and then the registration.
this is up and running. after 12 hours it stopped working, it seems that CIA had somehow reset some of the settings back to their own. I did the following to prevent this in the future:
on the provisioning page, turn off the resync options like - resync on reset - reset periodic - resync from sip | |
-
|