gndp
gndp

Reputation: 229

Twilio Answering Machine Detection for number dialed with 'Number' node inside 'Dial' node

It's not listed anywhere if Answering machine detection will send parameter "AnsweredBy" in request when a number is dialed from within a connected call with 'Number' node. I think it doesn't send any such parameter because i'm getting nullpointer exception when i do request.getParameter("AnsweredBy") number dialled by 'number' node inside 'dial' node. Is it that twilio hasn't implemented Answering machine detection fully? or is there any way i can make it work

Upvotes: 3

Views: 855

Answers (1)

xmjw
xmjw

Reputation: 3434

Twilio Evangelist here. I'm afraid that currently the AnsweredBy parameter is only available when making an outbound call with the Twilio REST API. If you make the outbound call using TwiML's <Dial> then you will not get this parameter.

Depending on your application, if you can use the the REST API instead of TwiML to initiate the call, then you should be able to get this work as you need. But I would need a little more information on what your call flow is to provide any help.

Upvotes: 1

Related Questions