Skip to main content

Call directions and routing modes

Directions

DirectionPathRequires
Outbound (SIP → PSTN)Your SIP → Exotel → PSTNWhitelisted IP (ACL) and/or digest credentials + phone number mapped to trunk
Inbound (PSTN → SIP)PSTN → Exotel Flow → SIP trunk → your systemDestination URI + Flow with Connect applet using sip:<trunk_sid>
BidirectionalBothBoth
Outbound:  Your SIP system → Exotel SIP trunk → PSTN
Inbound: PSTN → Exotel → Flow (Connect applet) → SIP trunk → Your SIP system

Routing modes

Set when mapping a phone number to a trunk (mode field).

ModeUse when
pstnStandard PSTN inbound/outbound (default). Connect applet dials sip:<trunk_sid>.
flowRoute through a Voice AI / StreamKit / App Bazaar journey (Voicebot and related applets).

Update mode later via the Dynamic SIP API.

Choosing a path

GoalModeNext doc
Classic PBX ↔ PSTNpstnQuickstart
Inbound to your SIP URIpstnConnect Applet inbound
SIP ↔ AgentStream Voice AIflow + StreamKitStreamKit SIP