Dialer App

Build a dialer application using Catalyst Advanced I/O Functions,DataStore and integration with Twilio’s Voice API that establishes an outbound call connection between your sales team and customers.

Create a Table in the Data Store

Next, let's create a table in the Data Store in the CatalystDialerApp project. This table is used to store the call related data such as phone numbers, country of the caller, duration and status of the call etc.

To create a table:

  1. Navigate to Data Store under Develop.
    create-new-table2
  2. Click Create a new Table.
  3. Enter the table's name as "CallLog", then click Create.
    enter-table-name
Note: Ensure that you enter the name exactly as instructed, because the application's code contains the same name.

The table is now created and displayed in the Data Store page.

Create Columns

Next, let's create a column to store the details of the call.

  1. Click New Column in the Schema View section of the table.
    add-new-column2
  2. Enter the column's name as "callDuration". Select the data type as int and click the Is Mandatory toggle switch to enable it.
    create-new-column
    You can learn about the various data types supported by Catalyst and the other properties of a column from the Data Store help page.
     
    Note: Ensure that you enter the name exactly as instructed, because the application's code contains the same name.
  3. Click Create.

The column is now created and listed in the Schema View section.

datastore-view

You must now create five other columns in the same way. The table must contain six columns in total with the following mandatory properties :

 Column Name   Data Type    Max Length 
callStatusvarchar255
calledCountryvarchar255
timeOfCallvarchar255
fromNumbervarcharN/A
toNumbertextN/A

You have now configured all the necessary components from the console. You will now be working on coding the application from your local system.