Reputation: 31
I'm building a system where the callers need to be connected to an external system that has its own IVR tree. I need the caller to hear hold music, while we are dialing and sending DTMF digits to the external system.
I got it to work by dialing into the external system using REST API, and putting both calls (incoming and outgoing) into the same conference room. However, this prevents me from sending the caller's caller ID to the external system like the <dial><number></dial>
command does. Unfortunately this is a hard requirement.
Any suggestion on how I can accomplish this?
Edit:
I ended up using <dial>
verb to dial into the external system, and transfer the call into a conference room using REST API right after the outgoing call is connected.
Upvotes: 3
Views: 1174
Reputation: 31
I ended up using <dial> verb to dial into the external system, and transfer the call into a conference room using REST API right after the outgoing call is connected.
Upvotes: 0
Reputation: 10048
You can store callers calling information in a variable, and then use callerId parameter in Dial. https://www.twilio.com/docs/api/twiml/dial#attributes-caller-id
Upvotes: 1