W H I T E P A P E R
© 2017 Persistent Systems Ltd. All rights reserved. 8
www.persistent.com
About Twilio SIP trunk:
Before looking at various components, it is important to understand Twilio SIP trunk capabilities and how it
works.
Twilio SIP trunk allows connecting a PSTN number to organization's IP telephony infrastructure defined by
origination and termination settings.
Origination setting dictates how to handle incoming calls to the PSTN number. Twilio SIP trunk forwards the call
to
which must be configured on Twilio dashboard. Here, {address} points to
sip:{pstn_ number}@{add ress}
organization's PBX IP or hostname and {pstn_number} is the number provided by Twilio. When a person makes
a call to PSTN number, the call is digitized and passed to organization's PBX as a SIP call which then gets sent
toWatson voice agents.
Termination setting dictates outgoing calls. A trunk is configured in PBX that points to our termination URI such
as {example}
.pstn.twilio.com.
Twilio elastic SIP trunk offers unlimited concurrent calls by scaling automatically.
Source:
https://www.twilio.com/docs/api/sip-trunkingComponents :
IP-PBX:
IP PBX is a private branch exchange that manages internal telephony of an organization and works on top of
Internet protocol; helps reduce communication costs drastically.
In the above case, the IP-PBX acts as a gateway between voice agents and external networks; both IP based or
traditional PSTN telephone networks.
This solution usesAsterisk IP-PBX solution. Details of Asterisk stack installation and configuration can be found
inAppendix – B. The solution can be enhanced more using following features ofAsterisk
—
SIP trunk
—
WebRTC support for SIP calls
—
Call transfer and queueing
—
Custom dial plans and extension rules to allow public or private telephone systems to connect with a
voice agents