I have worked for two days trying to get a new app to work and so far nothing. I made a script that will process telephone payments and it should work. I tested various ways and finaly striped it down to just the initial verification of the phone number that is keyed in by the user.
I know that the code below works. At least it returns what I think it is supposed to for it to go to the next suvo. The output in the browser when I hard code in the telephone number is :
survo 31861
That should take the caller to survo 31861 right? Am I missing something here? The only parameter in the netget is acctphone which is keyed in by the user.
// validate phone number $validate = $phone_function->phonevalidate($acctphone); // test if phone number is valid if ($validate == 1) { echo "<action> <app>survo</app> <parameters> <id>31861</id> </parameters> </action>";
For others out there. My problem was me-lol. I had the wrong url in the netget. If you ever test a app and it hangs up on you, as in phone hang up, check the url first.
-- Edited by tomdchi on Thursday 19th of March 2009 02:31:56 PM