3

When call connects or ringing twilio shows second. Even when ends the call after receiving twilio sends duration in a callback from when call connects. But it should when call is received. Can anyone let me know the solution?

I have created an issue on github php quickstart by twillio.

Andronicus
  • 25,419
  • 17
  • 47
  • 88
habib
  • 463
  • 3
  • 16
  • Twilio developer evangelist here. I am not sure what you are asking here. What do you expect to happen and what is happening? Be as detailed as you can and share code if it will help. – philnash Jan 08 '20 at 22:46

1 Answers1

5

For to only receive the "connected" callback when the call has been answered by the receiver,use answerOnBridge flag in your verb.

shahin mahmud
  • 945
  • 4
  • 11