The PlaceCall.Netiden API has four output variables:
<CallStatus> and <CallStatusDescription>
The <CallStatus> parameter indicates the status of a call placed through the PlaceCall.Netiden API. <CallStatusDescription> provides a text description of the status in <CallStatus>.
This parameter is useful for you to identify if your call is being processed, or if you have an error when calling the PlaceCall.Netiden API.
<CallStatus> |
<CallStatusDescription> |
1 |
Call in process |
70 |
*** Missing parameter (Country) *** |
71 |
*** Missing parameter (Phone) *** |
72 |
*** Missing parameter (CallType) *** |
73 |
** Missing parameter (AID) *** |
74 |
*** Missing parameter (UID) *** |
75 |
*** Missing parameter (Language) *** |
76 |
*** PIN length is not = 4 or is not numeric *** |
77 |
*** Phone number is not valid *** |
78 |
*** CallType variable is incorrect (must be 1, 2, 3 or 4 only)*** |
79 |
*** Language is incorrect *** |
80 |
Could not validate your account. Check the (AID) and/or (UID) input parameters |
90 |
Not enough funds to place this call |
94 |
Invalid phone number |
99 |
Failed to connect |
You should only assume <CallStatus>=1 to use the RequestStatus.Netiden API.
<Callid>
This parameter indicates the ID for the call. You will use this parameter later on in the RequestStatus.Netiden API to retrieve the call status.
<CallKey>
This parameter indicates the Key for the call. You will use this parameter later on together with the Callid parameter on the RequestStatus.Netiden API to retrieve the call status.
<RequestStatusURL>
This parameter indicates the string you must use to call the RequestStatus.Netiden API. It already includes the Callid and Callkey parameters to call the API.
|