Using an SIP IP Phone, ATA Adapter With Twilio SIP
Using a SIP IP Phone, ATA Adapter With Twilio
- Register a Twilio account
- Create a Twilio voice SIP domain
Account > Programmable Voice > SIP Domain > +SIP URL, Create Friendly name and SIP URL.
Under Voice Authentication add a Credential list
"Example the username is sipvoip and the URL is sipvoip.sip.twilio.com"
sipvoip@sipvoip.sip.us1.twilio.com
- Buy a Twilio number "Example your new number is 14155551212"
- Add TwiML Bin
You need to add two TwiML Bin for incoming and outgoing calls
Name: SipCallInbound
===============================
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Dial>
<Sip>sipvoip@sipvoip.sip.us1.twilio.com</Sip>
</Dial>
</Response>
==============================+
Name: SipCallOutbound, replace your Twili number for outbound caller ID and save it.
Please copy the URL for SIP domain configuration.
===============================
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Dial answerOnBridge="true" callerId="+14155551212">{{#e164}}{{To}}{{/e164}}</Dial>
</Response>
===============================
- Find your Twilio number and reconfigure the incoming call, Point it to TwiML Bin SipCallInbound
- Find your SIP domain and reconfigure the Request URL and past the SipCallOutbound URL
Test your endpoint
SIP domain: sipvoip.sip.us1.twilio.com
Username: sipvoip
Password: Password
Comments
Post a Comment