简体   繁体   English

我如何从我的网站拨打移动电话或座机电话。 (在PHP,Flash中..)

[英]how can i call from my website to mobile or landline phones. (in PHP,Flash, ..)

I wish to call from mywebsite to mobile phone, how do i implement in PHP or Flash. 我希望从mywebsite拨打手机,如何在PHP或Flash中实现。 Is it possible in PHP, flash, or any other technologies. 是否可以使用PHP,Flash或任何其他技术。

I'd take a look at Ribbit - http://www.ribbit.com/ 我来看看Ribbit- http ://www.ribbit.com/

I'm not sure exactly what your requirements are but they have an API that will let you make a call from Flash through their system. 我不确定您的要求是什么,但是他们有一个API,可以让您通过Flash通过他们的系统进行调用。

They've got both PHP and Flash APIs - http://developer.ribbit.com/ 他们拥有PHP和Flash API- http://developer.ribbit.com/

=Ryan ryan@adobe.com =瑞安ryan@adobe.com

In order to place a call on a phone from a computer, you either need to: 为了通过计算机在电话上拨打电话,您需要:

  • have a duplex modem installed on the server 在服务器上安装了双工调制解调器
  • use a service with an API allowing to place calls 使用带有API的服务,该API允许进行调用

The first option in this case is impractical as it would only mean that you would only be able to place one call at the time. 在这种情况下,第一种选择是不切实际的,因为这仅意味着您一次只能拨打一个电话。 (Well, if you have X modems, each with its own line, you'll be able to place X simultaneous calls) (好吧,如果您有X个调制解调器,每个调制解调器都有自己的线路,则可以发出X个同时呼叫)

Therefore, you need to connect to a service providing an API to place calls. 因此,您需要连接到提供API的服务以进行调用。 Such services isn't free and charge per call. 此类服务不是免费的,而是按通话收费。 Examples: Skype , Twilio . 例如: SkypeTwilio

I have no experience with the second option and therefore cannot give you further input on the subject. 我对第二种选择没有经验,因此无法就此问题提供进一步的信息。 Do some research and choose a service which fits your needs. 做一些研究,然后选择适合您需求的服务。

Your best bet is to look at an API for VOIP. 最好的选择是查看VOIP的API。 There is an API for Skype https://developer.skype.com/ which might be a good solution. Skype有一个API https://developer.skype.com/ ,可能是一个很好的解决方案。 Andrew is right about using a modem, it isn't going to scale very well. 安德鲁使用调制解调器是正确的,它的扩展性不是很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PHP:如何验证英国固定电话和手机号码? - PHP: How to validate UK landline and mobile numbers? 如何从网站到移动设备进行 VOIP 呼叫? - How can I make VOIP Call from Website to Mobile Device? 我是否可以将javascript内嵌的php用于我的移动网站? - Can I use a php embed inside a javascript for my mobile website? 如何强制手机识别我网站上的国际号码? - How do I force phones to recognize international numbers on my website? 我的网站如何从手机接收电子邮件? - How can my website receive email from a mobile phone? 如何从浏览器调用数百个PHP页面? - How can I call hundreds of PHP pages from my browser? PHP:如何在Flash消息中添加特定标题? - PHP: how can I add a specific title to my flash message? 我如何知道使用PHP生成的图像是从我的网站还是其他网站请求的? - How can I know whether the image generated using PHP is requested from my website or some other website? 我需要用 PHP 从我的网站发送电子邮件。 我怎样才能做到这一点? - I need to send email from my website in PHP. How can I do this? 如何使用 PHP 从我的网站访问 windows 服务或来自 windows 机器的数据? - How can I access windows services or data from windows machine from my website using PHP?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM