Php twilio bhrowser浏览器呼叫问题?

Php twilio bhrowser浏览器呼叫问题?,php,twilio,Php,Twilio,我下面是从浏览器打电话浏览 根据文档,使用以下工具打开两个浏览器: 和127.0.0.1/client.php?client=test2 当我使用沙盒应用程序ID时: The both browser couldn't able to connect but it a call connect to the the sandbox number. 当我使用我的应用程序ID时: 它向我显示了以下错误: Component: TwiML errors httpResponse: 502 Error

我下面是从浏览器打电话浏览

根据文档,使用以下工具打开两个浏览器:

和127.0.0.1/client.php?client=test2

当我使用沙盒应用程序ID时:

The both browser couldn't able to connect but it a call connect to the the sandbox number.
当我使用我的应用程序ID时: 它向我显示了以下错误:

Component: TwiML errors
httpResponse: 502
ErrorCode: 11200
url: http://127.0.0.1/demo.php



Request: What Twilio sent your server
         HTTP Method:   GET
         HTTP URL:  http://127.0.0.1/demo.php
         HTTP BODY: Key Value
         AccountSid xxxxxxxxxxxxxxxxxxxxxxxxx
         ApplicationSid dddddddddddddddddddddddddd
         Caller client:jenny
         CallStatus ringing
         Called 
         To 
         PhoneNumber    tommy
         CallSid    cccccccccccccccccccccccccccc
         From   client:jenny
         Direction  inbound
         ApiVersion 2010-04-01

Response: What your web application responded with to Twilio
         HTTP Headers:  Key Value
         Date   Thu, 25 Aug 2011 11:36:22 GMT
         Content-Length 137
         Connection close
         Content-Type   text/html
         Server TwilioProxy/0.7

with <html><head><title>502 Bad Gateway</title></head>
<body><h1>Bad Gateway</h1>An upstream server returned an invalid response.</body></html>
组件:TwiML错误
httpResponse:502
错误代码:11200
网址:http://127.0.0.1/demo.php
请求:Twilio向您的服务器发送了什么
HTTP方法:获取
HTTP URL:http://127.0.0.1/demo.php
HTTP正文:键值
帐户SID XXXXXXXXXXXXXXXXXX
应用程序ID dddddddddddddddddddddddddddddddddddddddddd
来电客户:珍妮
呼叫状态振铃
打电话
到
电话号码汤米
CallSid CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
客户:珍妮
入站方向
ApiVersion 2010-04-01
响应:您的web应用程序对Twilio的响应
HTTP头:键值
日期2011年8月25日星期四格林威治标准时间11:36:22
内容长度137
连接关闭
内容类型text/html
服务器TwilioProxy/0.7
使用502坏网关
网关错误上游服务器返回了无效响应。

分配给应用程序的VoiceURL必须是可公开访问的URL,以便Twilio服务器可以访问它。如果它仅运行127.0.0.1,则只能从本地计算机访问,而我们无法访问它


您可能对或之类的内容感兴趣,这些内容可以让您向公众公开本地服务器。

分配给应用程序的VoiceURL必须是可公开访问的URL,以便Twilio服务器可以访问它。如果它仅运行127.0.0.1,则只能从本地计算机访问,而我们无法访问它

您可能会对或之类的东西感兴趣,这些东西可以让您向公众公开您的本地服务器