Call directions and routing modes
Directions
| Direction | Path | Requires |
|---|---|---|
| Outbound (SIP → PSTN) | Your SIP → Exotel → PSTN | Whitelisted IP (ACL) and/or digest credentials + phone number mapped to trunk |
| Inbound (PSTN → SIP) | PSTN → Exotel Flow → SIP trunk → your system | Destination URI + Flow with Connect applet using sip:<trunk_sid> |
| Bidirectional | Both | Both |
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).
| Mode | Use when |
|---|---|
pstn | Standard PSTN inbound/outbound (default). Connect applet dials sip:<trunk_sid>. |
flow | Route through a Voice AI / StreamKit / App Bazaar journey (Voicebot and related applets). |
Update mode later via the Dynamic SIP API.
Choosing a path
| Goal | Mode | Next doc |
|---|---|---|
| Classic PBX ↔ PSTN | pstn | Quickstart |
| Inbound to your SIP URI | pstn | Connect Applet inbound |
| SIP ↔ AgentStream Voice AI | flow + StreamKit | StreamKit SIP |