Quickstart

This document is designed to help you understand how you can control a phone call using the application built right on your website in your preferred programming language. With Voice API you can design a phone system that meets you business needs.


Requirements to build your Voice API

Before you proceed with DIDforSale developer kit you will need following:

  • An account with DIDforSale.
    https://www.didforsale.com/customer/index.php
  • A Phone number from DIDforSale.
    You can purchase the phone number by logging into your account.
  • A web url on your end.
    This is the url that will be used by DIDforSale to make connection.

How DFS voice platform communicates with your application?

As soon as the call hits DFS (DIDforSale) network, DFS will make either get or post request to the web url that is identified by you.

GET: DFS will pass the call related information in the URL.
POST: DFS will submit the call related information in a form.


What is didML?

didML is an acronym for DIDforSale Markup Language. didML defines a set of rules for encoding phone calls. You can use programming language of your choice and by following instructions as laid by didML you can initiate and control Calls in real time.

Here is how it works:-

  • Say you have configured 999-888-7777 to www.example.com/call.php
  • When someone calls 999-888-7777 DIDforSale(DFS) will then .
  • DFS looks for instructions from example.com/call.php
  • Your web server will respond with the set of instructions that phone system will execute. It will communicate with the user as the user responds to prompts by pressing keys on the phone.