Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Need help in Making a call between two Unregistered Numbers.


Member

Status: Offline
Posts: 6
Date: Apr 13, 2009
Need help in Making a call between two Unregistered Numbers.
Permalink   
 


Hello ,

I am getting an error message when i try to connect two different unregistered numbers.

The response of my request is :
==response==
Password Verification Failed.


And i can logged in with my account information properly.

Please help in this regard, if you can.

Regards.


-- Edited by anjum on Monday 13th of April 2009 07:51:08 AM

__________________
TAHIR ANJUM


Veteran Member

Status: Offline
Posts: 45
Date: Apr 13, 2009
Permalink   
 

Tahir,

Make sure when doing a Click to call between 2 unregistered numbers you are passing key= and use your API key. Remember, your API key should not be exposed to the outside to protect your accounts security.

-Phil


__________________
-Phil Seguin
pseguin@ifbyphone.com


Member

Status: Offline
Posts: 6
Date: Apr 14, 2009
Permalink   
 

Sir,
thanks for reply.

Yes, I have entered my credential correctly in the file credentials.php, and
I am using ctc-notunregistered.php API file for making a call between two unregistered numbers, and i have also tried ctc.php file for this but got same response

==response==
Password Verification Failed.


I am using these parameter to making a call, where $number1 and $number2 are two different numbers.


$test->addParameter("app","CTC");
$test->addParameter("key",$public_key) ; // public key

$test->addParameter("id", $number1);
$test->addParameter("phone_to_call", $number2);

$test->addParameter("type","1");
$test->addParameter("acct",$account);
$test->addParameter("pwd", $pwd);

Important : I have signed up with my personal phone number, not any one of the above two numbers.
I am assuming that unregistered number means any number in US.
Is it right sir?

Please help what i need to do for this.

Regards.



-- Edited by anjum on Tuesday 14th of April 2009 12:21:18 AM

-- Edited by anjum on Tuesday 14th of April 2009 12:22:49 AM

__________________
TAHIR ANJUM


Veteran Member

Status: Offline
Posts: 45
Date: Apr 14, 2009
Permalink   
 

Tahir,

There may be an issue with the API test scripts.
Try using:
$test->addParameter("key",$api_key) ; // api key

instead of:
$test->addParameter("key",$public_key) ; // public key

__________________
-Phil Seguin
pseguin@ifbyphone.com


Member

Status: Offline
Posts: 6
Date: Apr 21, 2009
Permalink   
 

Thank you sir,

yes its working with $api_key, and there is no need to provide your acct and pwd information.

Now  the code i am using is below.

$test->addParameter("app","CTC");

$test->addParameter("key",$api_key) ; // public key

//$test->addParameter("key",$public_key) ; // public key

$test->addParameter("id", $number1);
$test->addParameter("phone_to_call", $number2);

$test->addParameter("type","1");

//$test->addParameter("acct",$account);
//$test->addParameter("pwd", $pwd);

Form the above code we can make a call between two unregistered numbers.

Thanks & Regards.

__________________
TAHIR ANJUM


Veteran Member

Status: Offline
Posts: 45
Date: Apr 21, 2009
Permalink   
 

Tahir, thanks for the follow up. Glad it is working ok for you now.

__________________
-Phil Seguin
pseguin@ifbyphone.com
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard