PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, November 18, 2022

[FIXED] Where is the Twiml xml for my application stored?

 November 18, 2022     laravel, twilio, twilio-api, twilio-php, twilio-twiml     No comments   

Issue

I have inherited a call center php application using twillio webrtc, and the twilio api.The trouble I'm having is the application, only makes a call to one number. I've looked through the controller using Twiml and Voice Response, and as far as I can tell a phone number gets passed from the front-end and $to_number is assigned that value.I've changed this value a million times , and it still dials the same number. It's because of this that I think that in my actual Twiml, is where it may be reset. The trouble is I can't find any Twiml in the entire application. I've also checked on twilio for any Twiml in my apps, and this is all I found. Twiml app When I try making a call using the call button, and an error is thrown.

I've been succesful in making calls to different numbers using the following request post request

In short, where is my Twiml (in xml) stored? Any ideas what may be causing this issue?


Solution

The TwiML Application SID is passed in the Access Token to the client. The TwiML Application has set of URL's, one being the Voice URL, that points to TwiML which tells Twilio what to do.

If the Access Token is being sent to the console log, you can decode it to find the Application SID (to lookup in Twilio Console) here. You can enable client side debug here.



Answered By - Alan
Answer Checked By - Robin (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing