  odnc Premium join:2002-02-04 Richmond, VA
·Clearwire Wireless
1 edit | [RT31P2] work-around
If you are burdened with a locked Linksys RT31P2 router from, asterisk is your friend.
The following steps require no firmware or XML hacks to utilise the RT31P2 with an Asterisk system.
tools: NTP server Name server TFTP server Firewall with port redirection Asterisk box (listening for SIP on port 5066)
For this workaround all of the tools are running on the same server. Called HACKSERVER
how-to: On your DNSserver, create a VONAGE.NET zone file with a wildcard entry pointing to your HACKSERVER's IP address.
Enable your tftp server on HACKSERVER
On your firewall, redirect(transparent proxy) udp destination ports 21,69,2400,1163 to udp port 69(tftp) on the HACKSERVER. Redirect any outbound, udp prt 53 DNS request from you RT31P2 to The HACKSERVER's DNS server. limit the RT31's ip traffic to your local network.
Test you firewall to ensure the RT31P2 can not call home
Ctart the RT31P2, connected to your lan. monitor HACKSERVER's TFTP log to determine the proper path and filename for the spaXXXXXXXXXX.xml the RT31P2 wishes to collect. Create the path and file in HACKSERVERS TFTPBOOT directory. The xml file may be blank. All of this keeps the RT31P2 happy
For Asterisk: in sip.conf:
Change port to 5066 Change dtmf mode to inband Allow GSM [666] type=friend canreinvite=yes qualify=no context=default host=dynamic defaultip=192.168.1.94 ;ipaddress of RT31P2
in extensions.conf: [default] exten => 666,1,answer() ;The RT31P2 calls sip:666@ccivr.vonage.net whenever you lift the receiver. exten => 666,2,goto,deskphone_0|s|1 ; Calling 666 is rather useless, so we'll send it to DISA to give us a dial tone. exten => 2006394,1,dial(sip/192.168.1.94) ; assigns a number to the RT31P2 [deskphone_0] exten => s,1,answer() exten => s,2,digittimeout(4) exten => s,3,Disa(no-password|default)
You should have a dial tone on both lines of the RT31P2. -- This country needs an enema. |
|
 mazilo From Mazilo Premium join:2002-05-30 Lilburn, GA | Just be careful not to let the DNS server on your HACKSERVER die. If so, your RTP312 will certainly phone homt to Vonage. |
|
 M00T
join:2005-01-19 Vienna, VA | Couldn't you also capture the SIP registration procedures with ethereal and then enumerate all the addresses? Set up a webserver with vonage's dns entry set to localhost and then feed a new config to the RTP312? |
|
  odnc Premium join:2002-02-04 Richmond, VA
·Clearwire Wireless
| The RT31P2 provided to me had been suspended from Vonage's service. It never sent a SIP/REGISTER request. Every time I attempted a call, the device sent a SIP/INVITE request to SIP:666@ccivr.vonage.net free of any user credentials.
I imagine the SIP credentials on a functional Vonage account would be encrypted.
The config file for the RT31P2 is encrypted as with the PAP2. Unfortunately the RT31P2 does not relinquish its key as easily as the PAP2. -- This country needs an enema. |
|