I want to print/get the incoming caller number in Twilio Flask app. I was referring to the twilio-ivr-phone-tree for this. I tried print(request.args)
in the welcome
function i.e the first method which is invoked when I receive an incoming call. But it prints an empty ImmutableMultiDict([])
.
Am I missing something? Any help is appreciated. Thanks in advance.
To -ve voters, post a comment for doing so. It helps to increase the quality of the question and make stack a better place.