Recently Onealert out a new policy, will cancel the phone alarm later, OK, this feature for small companies but the business is very critical situation is still very important, helpless, can only find alternative solutions.
Test to the end, found Nexmo this is appropriate.
1. Register your account and send you 2 euros
2. Recharge € 10 to activate other functions
3. Test TTS Alarms
sudo apt-get install php-curl php5-curl
<?php
$params = [
' api_key ' = xx,
' api_secret ' = xx,< c4/> ' to ' + 86189123,
' from ' + = xxx,
' text ' = ' Hello from Nexmo ',
];
$url = ' Https://api.nexmo.com/tts/json? '. Http_build_query ($params);
$ch = Curl_init ($url);
curl_setopt ($ch, Curlopt_returntransfer, true);
$response = curl_exec ($ch);
? >
Found can receive phone calls from Japan, but no TTS voice. Then directly as a telephone call later, no TTS also nothing, anyway the mechanical sound is not pleasant. And found that, as long as not answer the phone, will not be billed, a bit of the capitalist wool, haha.