'TwiML for Connecting an Outbound Call?
I'm attempting to create a TwiML app, but the documentation is a little overwhelming for my simple use-case.
Outbound calls from soft phone are bridged with another call:
- Call made from FromDID (from VoIP client) to ToDID (ie. +11111111111)
- Twilio first calls another DID (ie. +12222222222)
- On answer, connects call with ToDID
- On no answer, drops call
This allows me to trigger calls from my VoIP client, but my goal is to simply use my VoIP client to trigger a bridge between my mobile DID and whatever DID I'm attempting to call (so that I'm using cellular networks for my calls rather than data).
The current TwiML app simply makes the call to a destination DID. Any advice or tutorials I can follow for this use-case?
<Response>
<Dial answerOnBridge="true" callerId="{{#e164}}{{From}}{{/e164}}">{{#e164}}{{To}}{{/e164}}</Dial>
</Response>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
