First, make sure the rgcgi application understands GET, not just POST (in the case you're doing a GET request, calling the URL within the browser directly). Second, there's a missing parameter (action) you're not passing to rgcgi (as your html code shows us). It is missing in the Perl code you paste, too.
http://x.x.x.x/cgi-bin/rgcgi?action=IPtoPSTNRoute&type=DisplayRoute&ta
+ble=IPtoPSTNRoute&phonenumbermatch=A1212
Igor 'izut' Sutton
your code, your rules.