instedd / verboice

Open source toolkit for voice services; with special focus to the needs of medium- and low-income countries, scalable services, and interacting with vulnerable populations
http://verboice.instedd.org/
GNU General Public License v3.0
44 stars 18 forks source link

update Africa's Talking channel #894

Closed manumoreira closed 2 years ago

manumoreira commented 2 years ago

Testing a channel recently we realized that verboice code is not handling the case calSessionState = "Answered"

We are receiving this first request:

{
  "callSessionState": "Answered",
  "sessionId": "ATVId_11163e2ea9a58f3a7999fecda8eeb43a",
  "callerCountryCode": "256",
  "callerCarrierName": "Airtel",
  "isActive": "1",
  "callStartTime": "2021-10-13+19:10:16",
  "direction": "Outbound",
  "destinationNumber": "+2563XXXX0647",
  "callerNumber": "+2567XXXX9081"
}

And we are answering OKinstead of sending the first step of the flow

matiasgarciaisaia commented 2 years ago

Fixed in #895