NEXMO-Phone Alert alert

Source: Internet
Author: User
Tags curl install php nexmo

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.