twiliotwilio-apitwilio-programmable-voicetwilio-python

How to show number of caller when forwarding call in twilio


I have an app using twilio.

I have made the twilio number public and setup call forwarding from that number to my personal number to show alerts both on the app and my phone.

The issue is that I am unable to identify the caller on my phone as it shows the twilio number instead of caller number on my phone.

Is there a possible way to show the caller's number on my phone when forwarding the call.


Solution

  • This is possible. Just don’t set the callerId attribute of the Dial verb and it will pass the callerId of the inbound call leg.