$api = new \CALLR\API\Client;
$api->setAuthCredentials('login', 'password');
$target = (object) [
'number' => '+16469820800',
'timeout' => 30
];
$messages = ['TTS|TTS_EN-GB_SERENA|Hello world! how are you? I hope you enjoy this call. good bye.'];
$result = $api->call('calls.broadcast_1', [$target, $messages, null]);
$api = new \CALLR\API\Client;
$api->setAuthCredentials('login', 'password');
$target = (object) [
'number' => '+16469820800',
'timeout' => 30
];
$messages = ['TTS|TTS_EN-GB_SERENA|Hello world! how are you? I hope you enjoy this call. good bye.'];
$result = $api->call('calls.broadcast_1', [$target, $messages, null]);
var api = new callr.api('login', 'password');
var target = {
number: '+16469820800',
timeout: 30
};
var messages = ['TTS|TTS_EN-GB_SERENA|Hello world! how are you? I hope you enjoy this call! good bye.'];
api.call('calls.broadcast_1', target, messages, null).success(function(result) {
//
});
var api = new callr.api('login', 'password');
var target = {
number: '+16469820800',
timeout: 30
};
var messages = ['TTS|TTS_EN-GB_SERENA|Hello world! how are you? I hope you enjoy this call! good bye.'];
api.call('calls.broadcast_1', target, messages, null).success(function(result) {
//
});
api = callr.Api("login", "password")
target = {
'number': '+16469820800',
'timeout': 30
}
messages = ['TTS|TTS_EN-GB_SERENA|Hello world! how are you? I hope you enjoy this call. good bye.']
result = api.call('calls.broadcast_1', target, messages, None)
api = callr.Api("login", "password")
target = {
'number': '+16469820800',
'timeout': 30
}
messages = ['TTS|TTS_EN-GB_SERENA|Hello world! how are you? I hope you enjoy this call. good bye.']
result = api.call('calls.broadcast_1', target, messages, None)
api = CALLR::Api.new('login', 'password')
target = {
:number => '+33123456789',
:timeout => 30
}
messages = ['TTS|TTS_EN-GB_SERENA|Hello world! how are you? I hope you enjoy this call. good bye.']
result = api.call('calls.broadcast_1', target, messages, nil)
api = CALLR::Api.new('login', 'password')
target = {
:number => '+33123456789',
:timeout => 30
}
messages = ['TTS|TTS_EN-GB_SERENA|Hello world! how are you? I hope you enjoy this call. good bye.']
result = api.call('calls.broadcast_1', target, messages, nil)