code-exchange icon indicating copy to clipboard operation
code-exchange copied to clipboard

Voice Recording w/ Follow Up Text

Open jas0nhuan9 opened this issue 5 years ago • 1 comments

Where has this bug occurred? I followed the sample "Voice Recording w/ Follow Up Text" link: https://www.twilio.com/code-exchange/voice-recording-w-follow-text

and read the full tutorial "Send an SMS message during a phone call with PHP and Slim" link: https://www.twilio.com/docs/sms/tutorials/send-sms-during-phone-call-php

Describe the bug Fatal error: Uncaught ArgumentCountError: Too few arguments to function Slim\App::__construct(), 0 passed in \twilio_calls\index.php on line 10 and at least 1 expected in \twilio_calls\vendor\slim\slim\Slim\App.php:61 Stack trace: #0 \twilio_calls\index.php(10): Slim\App->__construct() #1 {main} thrown in \twilio_calls\vendor\slim\slim\Slim\App.php on line 61

To Reproduce Call Twilio number or open https://.ngrok.io/answer

Expected behavior an automated message is said to the participant in the call: "Thanks for calling! We just sent you a text with a clue."

Template bug info (please complete the following information if the bug exists in one of the templates):

  • Template source link: https://github.com/TwilioDevEd/send-sms-during-inbound-calls-php
  • OS: Windows 10
  • Programming language and version: PHP 7.4.5

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version 81

Smartphone (please complete the following information):

  • Device: iPhone 11 Max Pro
  • OS: iOS 13.4.1
  • Browser: Safari
  • Version: dont know

jas0nhuan9 avatar May 14 '20 03:05 jas0nhuan9

Thank you so much for opening your first issue in this project! We'll try to get back to it as quickly as possible.

Important: This does not count as a submission for the hackathon we are running with DEV.to. We'll still review any submission request here for submission to Twilio CodeExchange but an addition to CodeExchange does not have any impact on your chances to win the hackathon. In order to submit to the hackathon, please create a post on DEV using this template.

While you are waiting...here's a random picture of a corgi (powered by dog.ceo) picture of dog

welcome[bot] avatar May 14 '20 03:05 welcome[bot]