|
Hey @brutus, I'll be glad to help. I'll start simple, and if you need more detail, please post back with the step number you need more help with.
0. assuming the router is or was provisioned from your ex-voip provider (evil empire goes here), disconnect the WAN cable, and reboot the router (even if you don't have service, the stupid thing still tries to connect to their servers to get provisioned)
1. disable Javascript in your browser (not just for the router IP, global)
2. open url http://<router_ip_address/sip.htm, you should get prompted for your user name and password now, after which the sip.htm page should display, with your current settings
if the sip.htm page showed up blank, don't panic, you will be hacking this page anyway, putting in your new settings
3. click File -> Save As, and save a copy of the page to the folder of your choice
4. perform steps 2 & 3 for url url http://<router_ip_address/sipothers.htm and url http://<router_ip_address/qos.htm (if you want to adjust your qos bandwidth)
5. now you have all the files you'll need. lets start hacking. open sipothers.htm in your favorite text/html editor ... note, if sipothers.htm did not display the current values, I wouldn't recommend attempting to save the new values, unless you know what needs to go in each box. I had to play around with it, rebooting, enable javascript, disable, reload the pages. The web pages really are absolute scheis...
6. search for the string "isTimerOut", and change the line which reads
var isTimerOut = "0"
to
var isTimerOut = "125"
7. search for the string "sipothers.tri", and change the line which reads
<form name="sipothers" action="sipothers.tri" method="post">
to
<form name="sipothers" action="http://<router_ip_address>/sipothers.tri" method="post">
8. search for the string "Save Settings", and change the line that reads
<input onclick="to_submit(this.form)" value="Save Settings" type="button">
to
<input value="Save Settings" type="submit">
9. do steps 6 through 8 for page sip.htm, replacing "sipothers" with "sip" in the steps above
10. while you still have sip.htm open, you'll need to perform some additional hacks. find the string "Authentication Key", if you still have a long encrypted string somewhere after that, delete it, you won't be needing it anymore
11. find the string "sip_psw1", and change the line so that instead of
type="password"
you have
type="text"
and the second field sip_psw1_hidden from the following declaration
<input maxlength="32" value="" name="sip_psw1_hidden" type="hidden">
to
<input maxlength="32" value="" name="sip_psw1_hidden" type="text">
this is very important, otherwise your password won't be saved (sneaky, eh?)
again, you may not want to proceed if the router didn't give you any settings at all
I don't want to get sued, so I can't just upload the hacked files to you which contained my current values, but apparently I can outline these steps (weird?)
the only field which is tricky on this page anyway is dial-plan. it needs to be (for north america):
1XXXXXXXXXX|[2-9]XXXXXX|911|011X.T
12. ok, if all is well so far, sip.htm is a good place to start. your current VOIP provider should be able to give you the settings you need, and be able to tell you where they go. mine did. Now, Von***ge of course will not work with this router, so don't waste your time there. There are plenty of other providers which basically just use Asterisx (or something like that) as their backend, a stun server, and a sip proxy, user name and password, and away-you-go
13. open the local sip.htm in your web browser (I used Firefox 2.0.0.4), and fill out the appropriate values
14. click "Save Settings" (the form action of sip.tri should get called now directly instead of through javascript), and it should display "settings saved, bla bla bla, you must reboot, bla bla"
15. click "Continue" (router will now reboot, be sure WAN cable is still unplugged, you still need to hack sipothers.htm)
16. ok, if you had the correct values displayed from your previous provider in sipothers.htm, or you know what to fill in, open sipothers.htm
17. The only settings you really need to change here have to do with provisioning and firmware. set the following fields:
Provision Enabled to 0 (thats zero)
Ignore Provision to 1 (all three "Ignore" options to 1, actually)
As a help, I will list in order of left to right, from top to bottom (start in the first field and hit <tab>), the settings I had on this page. I will not list the names of the fields here:
2, 0, 100, 0, 1, -5, 16, -7, 0, 0, 1, 0, 2, 0, 40
next section
20, 100, 5, 100, 60, 3600, 1, 1800, 0, 0, 512, 256, 68, 88, 1, 500, 0, 0, tick, tick, tick, 911, blank, 1, 500, 4, disabled
that should do it
18. do steps 14 and 15 for this page (obviously sipothers.tri is called here)
19. plug your WAN cable in, your phone into port 1, and pray... after a minute or so, if "Line 1" doesn't light up, d'oh! sorry... post what you did, and I'll try to help... |
|