2.1. Recording a Call

Function (sendCallRecorder)

Returns a telephone number to which the platform must make and record an outbound call. It requires to specify the telephone number that will receive the call recording.

Example of the request

https://sms.gsmblockchain.com/services/sendCallRecorder.php?user=myuser&pass=mypass&countryID=es&phone=660111222&time=120
Copy

This request will make the phone number +34660111222 receive a phone call with the speech “Bienvenido al servicio de voz” from phone number +34618123123.

Parameters of the request

To send the SMS, partners must use the following parameters in the base URL:

PARAMETER DESCRIPTION REQUIRED
user (urlencode) User’s alias at the panel (calling party) Yes
pass (urlencode) Password of the user at the panel Yes
countryID Alphabetic country code (PT, ES, FR, etc) Yes
phone Phone number without the call prefix that will receive the call (call party) Yes
time Maximum duration of the call, in seconds Yes

Example of the answer

{ 
status: “OK”, 
phone: 912080202, 
}
Copy

Parameters of the answer

PARAMETER DESCRIPTION VALUE
status Action completed correctly OK
status Error in the completion of the action KO
errorMessage Describes the error when status is KO (string)