Quick Start

Now that you understand the basic fundamentals and requirements of voice API lets get you started by creating your very first API.

<?php
    header("content-type: text/xml");
    echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
?>
<Response>
    <Say>Hello, Your call has successfully connected</Say>
</Response>

STEP 4:- From any phone dial 999-888-7777 – As soon as the call is initiated we will contact the specified weburl. (http://example.com/hello-world.php) – Once the connection is established we will look for instruction in hello-world.php. – As specified in current example the caller will hear “Hello Your call has successfully connected” as that’s the instruction we gave. – Call Completed.

Key word used = Say Say Reads the text and convert’s that to audio and play to the caller.

You successfully wrote and executed your Hello World API!!!

Saying "Hello" to the caller does not do any good". Let's get little more advanced.

Last updated