Dasha Quick Start GuideIntegrations
VoIP integrations
Tutorials
Twilio
Inbound and outbound calls with Twilio are described in Tutorials section
Known issues
Phone number must be in E.164 format, for example +1XXXXX
Zadarma
Calls from the Dasha
- Create virtual PBX https://my.zadarma.com/mypbx/
- Create an internal line https://my.zadarma.com/mypbx/int_lines/
- Go back to the list of lines and expand the created number
- You will see:
server
,login
,password
- Using the dasha cli execute
dasha sip create-outbound --server server --account login --password password login
- For example
dasha sip create-outbound --server pbx.zadarma.com --login 291068-103 --password your_password_in_ui 291068-103
- Check outbound calls using the simple SIP tester app
- In this example it will be
node main.js out -c 291068-103 -p your_phone_number
Calls to the Dasha
- Go to Settings/Virtual numbers
- If you have no numbers, buy it first
- Go to Active numbers
- Select a number you wish to use with the Dasha
- Using the dasha cli execute
dasha sip create-inbound --application-name <app_name_from_dashaapp file> <phoneNumber>
- Cli will return SIP Uri, like
sip:some_id@sip.us.dasha.ai
- In the UI of Zadarma select checkbox External Server (SIP URI) and paste information from [6] (
some_id@sip.us.dasha.ai
) there - Check call catching using simple SIP tester app
node main.js in
Known issues
Zadarma doesn't support SIP REFER
message, in this case calls forwarding will not work. You can use DTMF based calls forwarding
#sendDTMF("#"); #waitForSpeech(200); #sendDTMF("1"); #waitForSpeech(200); #sendDTMF("0"); #waitForSpeech(200); #sendDTMF("5"); #waitForSpeech(200); #sendDTMF("#"); #waitForSpeech(200); exit;
Siplink
Calls from the Dasha
- Go to phone numbers
- Select required phone number and click SIP Settings
- You will see
server
,port
,sip login
,sip password
- Using the dasha cli execute
dasha sip create-outbound --server <server> --account <sip login> --password <sip password> <phone-number>
- Check outbound calls using the simple SIP tester app
- In this example it will be
node main.js out -c <phone-number> -p your_phone_number
Calls to the Dasha
- Go to phone numbers
- Select phone number and click SIP Settings
- Expand advanced settings
- Using the dasha cli execute
dasha sip create-inbound --application-name <your app name> <phoneNumber>
- Get field
uri
from command output (aftersip:
) and insert it inSIPURI
field of the siplink.pro setting - Click
Save
button - Start your application (note, that you should set GroupName to
default
in app.deploy options) - Call to the phone number, you have configured
- You can try this example
Found a mistake? Email us, and we'll send you a free t-shirt!