Cebod Telecom
  • Introduction
  • Customer Onboarding
  • FAQs (Frequently Asked Questions)
  • Cebod Telecom Web Portal
    • Dashboard
    • Activities
      • Call records
      • Messages
      • Active calls
      • SMS records
      • Faxes
    • Phone System
      • Phone Numbers
      • IVR (Auto Receptionist)
      • Users (Extensions)
        • Dynamic Caller ID
      • Manage Devices
      • Manage Groups
      • Manage Conferences
      • Postcall Actions
      • Webhooks
      • Time Conditions
      • Call Blocking
      • Call Center
        • Active Calls
        • Agents
        • Queue
        • Agents to queue
        • Agents Status
        • Agent Statistics
    • Tools / Settings
      • Manage Phone Lines
      • Add 911 Address
      • SMS
      • International Calling
      • Outbound Rates
      • Manage Recordings
        • AI Text-to-Speech Feature
      • Global Settings
        • Daily Spent Control
      • Voicemail Greetings
      • CNAM
    • My Account
      • Profile
      • Change Password:
      • Add Balance
      • Payment History
      • Vouchers
      • Invoices
      • Auto Refill
      • Logout
  • How To's
    • Set up BLF
    • Register a New Account
    • Setup Call Forwarding
      • Call Forwarding to an Extension
      • Call Forwarding Manually to a Cell Phone
    • Dial-By-Name Directory
    • Voicemail
      • Setting up the Voicemail Menu
      • Accessing Voicemail
      • Navigate through the Voicemail Menu
    • Provisioning
      • Cisco 8841
    • Setup Speed Dial
    • Cebod Telecom Free Applications
      • MS Windows Desktop Softphone
      • Mac Desktop Softphone
      • Apple IOS Mobile App
      • Android Mobile App
      • Desktop SMS/MMS Application
      • Click to Call Browser Extension
    • GS Wave
    • Setting Up Whisper Announcement
  • Enable Call Recording
  • Features
    • Manage Phone Features
      • Call Block
      • Call transfer
      • Call Queue
      • Call Center
      • Active Call Features
      • Ring Groups
      • Call Forward
      • Call Recording
      • Call Park
      • Paging
      • Voicemail
      • Call Monitoring
      • Hide Caller ID
    • Missed Call SMS
    • Missed Call Email Notification
    • 3-Way Calling
    • Conference Bridge
    • Setting up Time Condition
    • Setup Email FAX - Incoming
    • Sending eFax using email
  • API
    • Voice API
    • Quick Start
      • Identify Caller
      • Collect Response
    • didML reference doc
      • Voice API reference params
      • Voice API response
      • didML Verbs
        • <dial>
          • <client>
          • <conference>
          • <number>
          • <queue>
          • <sip>
        • <enqueue>
        • <fax>
        • <gather>
        • <hangup>
        • <pause>
        • <play>
        • <postcall>
        • <record>
        • <recordcall>
        • <redirect>
        • <reject>
        • <say>
        • <sms>
Powered by GitBook
On this page

Was this helpful?

  1. API
  2. didML reference doc
  3. didML Verbs

<dial>

Role: <dial> command is used when call needs to leave the system and connect with another number. For example, forwarding the call on number 1949300360 to another number 19492321402, requires system to dial another number and connect the 2nd leg with original caller. More actions can be taken if the called part does not pickup the call.

Use:

  • Number Masking: You don't want to expose your cell phone number to your contacts. People call the DID number and that number can be forwarded to your cell phone.

  • Multiple Business Numbers: You have many numbers from different sources and want to forward all the call to your main office line.

  • Call tacking and lean generation: Have a dedicated number for each ad or landing page and forward the call to a call center. Later you can generate a report which number was called most often.

While there are no limitation on where <dial> can be used, there definitely is requirement or set of attributes to use with <dial>. Below is a list of attributes to be used with <dial>, each attribute has a specific function and can use certain values.

​

Attributes

Attribute

Value

Default

action

Callback URL

none

Method

POST/GET

POST

timeout

integer

30 seconds

timelimit

integer value

4 hours

callerid

valid phone number

caller’s caller id

Here is an example of how <dial> is used within code.

<?xml version="1.0" encoding="UTF-8"?> 
<Response>     
    <dial>19492321402</dial>
</Response>

In another example, dial will record the sessions and disconnect the call after 60 seconds.

<?xml version="1.0" encoding="UTF-8"?> 
<Response>     
    <dial record="on" timeout="60">19492321402</dial>
</Response>

DIDforSale offer many ways you can connect the caller. Some are free and some are paid. For example, forward the call to another sip account or sip based pbx does not cost extra, While forwarding the call to another number might include outbound charges as well as inbound (Depending on what plan and agreement you have in place).

Here are more keyword you can use inside dial to connect the caller to second leg. These keywords can be nested inside dial command.

keyword

description

phone number to dial

get the free SIP client and connect the call to SIP Cleint

Sip URI, spi:bob@example.com

Connect the caller to a conference bridge

Connect the caller to the 1st person waiting in the queue

A simple example to nest <number> keyword to <dial>

<?xml version="1.0" encoding="UTF-8"?> 
<Response>     
    <dial record="on" timeout="60">        
        <number>19492321402</number>     
    </dial>

</Response>

Example to Call a SIP Trunk using >sip>, here call will be forwarded to sip.mydomain.com. sip.mydomain.com must accept all calls from our IP. In the example username part is blank, so dialed number will be appended to the make full uri.

<?xml version="1.0" encoding="UTF-8"?> 
<Response>     
    <dial record="on" timeout="60">        
        <number>sip.mydomain.com</number>     
    </dial>
</Response>
PreviousdidML VerbsNext<client>

Last updated 6 years ago

Was this helpful?

​​

​​

​​

​​

​​

<number>
<client>
<sip>
<conference>
<queue>