views:

80

answers:

4

Hi all,

I wish to call from mywebsite to mobile phone, how do i implement in PHP or Flash. Is it possible in PHP, flash, or any other technologies.

+2  A: 

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

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)

Therefore, you need to connect to a service providing an API to place calls. Such services isn't free and charge per call. Examples: Skype, Twilio.

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.

Andrew Moore
Twilio is a good choice.
McPherrinM
@McPherrinM: If you are based in the US, sure... But the asker is from India.
Andrew Moore
A: 

Your best bet is to look at an API for VOIP. There is an API for Skype https://developer.skype.com/ which might be a good solution. Andrew is right about using a modem, it isn't going to scale very well.

stimms
+3  A: 

I'd take a look at 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.

They've got both PHP and Flash APIs - http://developer.ribbit.com/

=Ryan [email protected]

ryanstewart
Great answer Ryan! :)
James Ward
A: 

Hi all!

Glad to present Flashphoner. Flashphoner is a Flash-SIP server gateway, which allows to create your own flashphones and click2call services. I allow stream media traffic from RTMP server to VoIP server.

Server: Transcoding Speex <-> G.711, Transcoding Sorenson Spark <-> H.263, Connect RTMP<->VOIP, Support SIP 2.0, Support DTMF,

Client: Flashphone (open source), Click-to-Call button (open source), Java Script API,

Please write here [email protected] all the comments functionality. All suggestions will be considered.

Flashphoner