Free the mouse Replay RnsNextCall
Home | Changes | Index | Search | Go

getnextcall.pl requests

This query schedules the next 'call' (nightly update).

The query looks like:

   http://rns.replaytv.net/cgi-bin/2.0/getnextcall.pl?time=7200,14400&tz=PST8PDT

The arguments are the local TimeZone?, and the time response from the previous getnextcall query.

The response is text, content-type text/plain, like:

time=7200,14400
wtime=3600,10;3600,15;3600,40;3600,35

Some people believe the numbers given in the time line to define a time window during which a call may be placed, specified as seconds-after-local-midnight and duration, in seconds (ie, 7200,14400 = 2am-6am (2 hours after midnight, 4 hours duration). I think I've seen calls made outside this window, but I'm not positive about that.

The wtime line presumably gives probability weights for various timeframes; ie, 10% chance during the first hour, 15% during the next, 40% for the third, and 35% for the last.

getservers.pl requests

This query updates the list of RNSProtocol servers.

The query looks like:

   http://rns.replaytv.net/cgi-bin/2.0/getservers.pl?version=520411140&serial=RTV4080K1AA5000149

The response, content-type text/plain, is a simple list:

production.replaytv.net
production-1.replaytv.net
production-2.replaytv.net
production-backup.replaytv.net

Right now, all four of those addresses are mapped to the same two machines.

Those names changed in Late April or early May 2002; the older names, rns.replaytv.net etc, still work; the new names point to the same addresses as the old ones.

getglobaldial3.pl requests

This request gets the global dialup numbers; the 4000 makes it even though the modem is nonfunctional or disabled.

The query looks like:

  http://rns.replaytv.net/cgi-bin/2.0/getglobaldial3.pl?phone=&zipcode=97206&country=US&all=1

The response, content-type text-plain, is a list like:

(800) 590-4857|1-[1,3]-[6,8]|[1,3]-[6,8]        US^^login=:%s@replaytv.net:pap=:1:
(877) 864-8545|1-[1,3]-[6,8]|[1,3]-[6,8]        CA^^login=:%s@replaytv.net:pap=:1:
0665990280|[0,10]       JP^^login=%s@replaytv.net:pap=:1:
8450801000|[0,10]       GB
018009266000|[0,12]     MX
the "^^" are actually control-^ characters.

On pre-4000 requests, the phone argument's value is the first six digits of the user's phone number (area code & prefix).

getlocaldial2.pl

This request gets the local dialup numbers; the 4000 doesn't make this request.

The query looks like:

   http://rns.replaytv.net/cgi-bin/2.0/getlocaldial2.pl?phone=503771&zipcode=97206&country=US

The response is in the same format as for getglobaldial3.pl responses, but the phone numbers (if any) are local to the user.

Credits

Pre-4000 information for getglobaldial3.pl, and all the information for getlocaldial2.pl, comes from Ian Prest's documentation. -- ToddLarason - 27 Mar 2002


Your post will appear before this form in chronological order (newest at bottom)

Topic RnsNextCall . { Edit | Attach | Ref-By | Printable | Diffs | r1.4 | > | r1.3 | > | r1.2 | More }
Revision r1.4 - 01 Apr 2003 - 04:48 GMT - TWikiGuest
Parents: WebHome > RnsProtocol
Copyright © 2001 by the contributing authors. All material on this collaboration tool is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.